From 52f7a1b807ec7ed167e956e791b025f4c4bed6cd Mon Sep 17 00:00:00 2001 From: kerem yollu Date: Wed, 2 Aug 2023 22:43:05 +0200 Subject: [PATCH] added some notes --- CMakeLists.txt | 7 +++++-- README.md | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4906f0..dbaa5f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,13 +42,16 @@ set(PROJECT_CONFIG_FILE ${PROJECT_DIR}/projectDefinitions.cmake) set(CMAKE_CORE_DIR ${CMAKE_SOURCE_DIR}/env/cmake_core) set(COMPILER_DEFS ${CMAKE_CORE_DIR}/compiler.cmake) -# Location of CSL, CSL_USED is passed as an argutem to CMake from run.sh +# Location of CSL, CSL_USED is passed as an argument to CMake from run.sh # -> "Specific to each CSL" set(CSL_DIR ${CMAKE_SOURCE_DIR}/csl/${CSL_USED}) +set(CSL_CONFIG_FILE ${CSL_DIR}/config.cmake) + +# To Put one layer down so that CMSIS is defined by the CSL it's core specific stuff set(CSL_SOURCES_DIR ${CSL_DIR}/implementation) set(CSL_HEADERS_DIR ${CSL_DIR}/CMSIS/Include ${CSL_DIR}/HardwareDescription) set(CSL_STARTUP_DIR ${CSL_DIR}/startup) -set(CSL_CONFIG_FILE ${CSL_DIR}/config.cmake) +#################################################################################### # Directiry fot the drivers -> "Common to all CSL" set(DRIVERS_DIR ${CMAKE_SOURCE_DIR}/drivers) diff --git a/README.md b/README.md index de55b1c..2160de4 100644 --- a/README.md +++ b/README.md @@ -117,3 +117,10 @@ REFRESHERS - tmux stuff - change frame with `Ctrl+B W`. A widnow with a preview will open. Coose eather by moving selection via cursor and the presseing `enter` or bynumber + + + +RESTRUCTURATION 02_08_2023: + - Maybe : Separate the pripherals trio : Ex : i2c.h i2c.c imp_i2c.h as -> i2c.h i2c.c csl_i2c.h cls_i2c.c + - This mitigates confusion for end user and hides away complexity. +