-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: CMake package definition without tool specification
- Loading branch information
1 parent
a9b63e5
commit e2de74f
Showing
233 changed files
with
1,081,683 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME BUS8080) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_library(${COMPONENT_NAME}_${TIVAC_MODEL} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/Driver8080.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME}_${TIVAC_MODEL} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
||
add_library(${COMPONENT_NAME}::${TIVAC_MODEL} ALIAS ${COMPONENT_NAME}_${TIVAC_MODEL}) | ||
|
||
target_link_libraries( ${COMPONENT_NAME}_${TIVAC_MODEL} TivaWare ) | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME MicroMiddlewares) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/TivaWare ) | ||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/I2C ) | ||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/SPI ) | ||
|
||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/BUS8080 ) | ||
|
||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/ILI9341 ) | ||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/SSD1306 ) | ||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/MCP2515 ) | ||
|
||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/Misc ) | ||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/simpleGFX ) | ||
add_subdirectory( ${CMAKE_CURRENT_LIST_DIR}/System ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME I2C) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_library(${COMPONENT_NAME}_${TIVAC_MODEL} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/Driver${COMPONENT_NAME}.c | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/Driver${COMPONENT_NAME}_config.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME}_${TIVAC_MODEL} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
||
add_library(${COMPONENT_NAME}::${TIVAC_MODEL} ALIAS ${COMPONENT_NAME}_${TIVAC_MODEL}) | ||
|
||
target_link_libraries( ${COMPONENT_NAME}_${TIVAC_MODEL} TivaWare ) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME ILI9341) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_library(${COMPONENT_NAME}_${TIVAC_MODEL} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/${COMPONENT_NAME}.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME}_${TIVAC_MODEL} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
||
add_library(${COMPONENT_NAME}::${TIVAC_MODEL} ALIAS ${COMPONENT_NAME}_${TIVAC_MODEL}) | ||
|
||
target_link_libraries( ${COMPONENT_NAME}_${TIVAC_MODEL} | ||
TivaWare | ||
Misc | ||
BUS8080::${TIVAC_MODEL} | ||
) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME MCP2515) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_library(${COMPONENT_NAME}_${TIVAC_MODEL} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/${COMPONENT_NAME}_config.c | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/${COMPONENT_NAME}_SPI.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME}_${TIVAC_MODEL} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
||
add_library(${COMPONENT_NAME}::${TIVAC_MODEL} ALIAS ${COMPONENT_NAME}_${TIVAC_MODEL}) | ||
|
||
target_link_libraries( ${COMPONENT_NAME}_${TIVAC_MODEL} | ||
TivaWare | ||
SPI::${TIVAC_MODEL} | ||
) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME Misc) | ||
|
||
add_library(${COMPONENT_NAME} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/DEBUG.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME SPI) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_library(${COMPONENT_NAME}_${TIVAC_MODEL} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/Driver${COMPONENT_NAME}.c | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/Driver${COMPONENT_NAME}_config.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME}_${TIVAC_MODEL} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
||
add_library(${COMPONENT_NAME}::${TIVAC_MODEL} ALIAS ${COMPONENT_NAME}_${TIVAC_MODEL}) | ||
|
||
target_link_libraries( ${COMPONENT_NAME}_${TIVAC_MODEL} TivaWare ) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME SSD1306) | ||
set(TIVAC_MODEL TivaCTM4C1294) | ||
|
||
add_library(${COMPONENT_NAME}_${TIVAC_MODEL} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/${TIVAC_MODEL}/${COMPONENT_NAME}_i2c.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME}_${TIVAC_MODEL} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
||
add_library(${COMPONENT_NAME}::${TIVAC_MODEL} ALIAS ${COMPONENT_NAME}_${TIVAC_MODEL}) | ||
|
||
target_link_libraries( ${COMPONENT_NAME}_${TIVAC_MODEL} | ||
TivaWare | ||
I2C::${TIVAC_MODEL} | ||
) | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME System) | ||
|
||
add_library(${COMPONENT_NAME} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/src/DSP/LTISystem/LTISystem.c | ||
${CMAKE_CURRENT_LIST_DIR}/src/uHeap/uHeap.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
################################################################################ | ||
# @file CMakeLists.txt | ||
# @author Josepablo C (josepablo134@gmail.com) | ||
################################################################################ | ||
set(COMPONENT_NAME TivaWare) | ||
|
||
add_library(${COMPONENT_NAME} STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/adc.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/aes.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/can.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/comp.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/cpu.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/crc.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/des.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/eeprom.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/emac.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/epi.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/flash.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/fpu.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/gpio.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/hibernate.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/i2c.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/interrupt.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/lcd.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/mpu.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/onewire.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/pwm.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/qei.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/shamd5.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/ssi.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/sw_crc.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/sysctl.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/sysexc.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/systick.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/timer.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/uart.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/udma.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/usb.c | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/watchdog.c | ||
) | ||
|
||
target_include_directories(${COMPONENT_NAME} PUBLIC | ||
${CMAKE_CURRENT_LIST_DIR}/ | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib | ||
${CMAKE_CURRENT_LIST_DIR}/driverlib/inc | ||
) | ||
|
Oops, something went wrong.