|
|
@ -16,14 +16,18 @@ set(CMAKE_VERBOSE_MAKEFILE OFF) # Should CMake print everythign ?
|
|
|
|
|
|
|
|
|
|
|
|
set(OUTPUT_DOXYGEN TRUE) # Should CMake generate Doxygen output ?
|
|
|
|
set(OUTPUT_DOXYGEN TRUE) # Should CMake generate Doxygen output ?
|
|
|
|
set(DOXYGEN_OUTPUT_DIR ${CMAKE_SOURCE_DIR}/env/doc)
|
|
|
|
set(DOXYGEN_OUTPUT_DIR ${CMAKE_SOURCE_DIR}/env/doc)
|
|
|
|
|
|
|
|
# TODO: discuss on where doxygen should place the output
|
|
|
|
|
|
|
|
# -> in env/doc
|
|
|
|
|
|
|
|
# -> in ked_build outside of the ked environment (prefered, as it includes also the users
|
|
|
|
|
|
|
|
# project documentation
|
|
|
|
set(PL "c") # Used programming language, we could maybe do a check.
|
|
|
|
set(PL "c") # Used programming language, we could maybe do a check.
|
|
|
|
|
|
|
|
|
|
|
|
####################################################################################################
|
|
|
|
####################################################################################################
|
|
|
|
# PASSED VARIABLE WHEN CALLING run.sh
|
|
|
|
# PASSED VARIABLE WHEN CALLING run.sh
|
|
|
|
####################################################################################################
|
|
|
|
####################################################################################################
|
|
|
|
# CSL_USED passed by run.sh and is the quivalent of the ic name
|
|
|
|
# CSL_USED passed by run.sh and is the quivalent of the ic name
|
|
|
|
# PROJECT_DIR Passed by run.sh and is the defined place where the project is. run.sh should be in te future capable of definin project paht.
|
|
|
|
# PROJECT_DIR Passed by run.sh and is the defined place where the project is. run.sh should be in
|
|
|
|
|
|
|
|
# the future capable of definin project paht.
|
|
|
|
|
|
|
|
|
|
|
|
####################################################################################################
|
|
|
|
####################################################################################################
|
|
|
|
# Setting the used directory locations
|
|
|
|
# Setting the used directory locations
|
|
|
@ -77,14 +81,16 @@ include(${PERIPHERALS_DIR}/CMakeLists.txt)
|
|
|
|
# Here is the include fopr the awailable peripheral headers and standart libraries.
|
|
|
|
# Here is the include fopr the awailable peripheral headers and standart libraries.
|
|
|
|
include(${DRIVERS_DIR}/CMakeLists.txt)
|
|
|
|
include(${DRIVERS_DIR}/CMakeLists.txt)
|
|
|
|
|
|
|
|
|
|
|
|
#Include the config fiel where the compilers to use ar defined
|
|
|
|
# Include the config fiel where the compilers to use ar defined
|
|
|
|
include(${COMPILER_DEFS})
|
|
|
|
include(${COMPILER_DEFS})
|
|
|
|
|
|
|
|
|
|
|
|
#Confugration file of the csl, there you will wind the starup code handling, compiler/linker options, flags and definitions
|
|
|
|
# Confugration file of the csl, there you will wind the starup code handling, compiler/linker
|
|
|
|
|
|
|
|
# options, flags and definitions
|
|
|
|
include(${CSL_CONFIG_FILE})
|
|
|
|
include(${CSL_CONFIG_FILE})
|
|
|
|
|
|
|
|
|
|
|
|
####################################################################################################
|
|
|
|
####################################################################################################
|
|
|
|
# HEADERS : ALL Header Definitions and calls MSUT be made here to be able to propagate them through all the modules
|
|
|
|
# HEADERS : ALL Header Definitions and calls MSUT be made here to be able to propagate them through
|
|
|
|
|
|
|
|
# all the modules
|
|
|
|
####################################################################################################
|
|
|
|
####################################################################################################
|
|
|
|
message("${BoldBlue}")
|
|
|
|
message("${BoldBlue}")
|
|
|
|
message("+-------------------------------+")
|
|
|
|
message("+-------------------------------+")
|
|
|
|