Skip to content

Commit cee00d3

Browse files
authored
Merge pull request #2021 from nanoframework/release-v1.6.6
Release release-v1.7.0
2 parents 9ca8e54 + e6b59de commit cee00d3

File tree

599 files changed

+5686
-35366
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

599 files changed

+5686
-35366
lines changed

.vscode/cmake-variants-DEVCONTAINER.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
"API_Windows.Devices.SerialCommunication": "ON",
314314
"API_System.IO.Ports": "ON",
315315
"API_System.Device.Spi": "ON",
316-
"API_Windows.Devices.Spi": "OFF",
316+
"API_Windows.Devices.Spi": "ON",
317317
"API_Windows.Storage": "ON",
318318
"API_Hardware.Esp32": "ON",
319319
"API_nanoFramework.Hardware.Esp32.Rmt": "ON"
@@ -406,4 +406,4 @@
406406
}
407407
}
408408
}
409-
}
409+
}

.vscode/cmake-variants.TEMPLATE.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"USE_RNG": "<ON-default-for-using-hardware-true-random-generator-unit>",
4141
"DP_FLOATINGPOINT": "<OFF-default-ON-for-adding-support-for-double-precision-floating-point>",
4242
"SUPPORT_ANY_BASE_CONVERSION": "<OFF-default-ON-for-adding-support-for-conversion-strings-to-values-on-any-base>",
43-
"RTOS": "<one-of-valid-rtos-options-CHIBIOS-FREERTOS-FREERTOS_ESP32-TI_SIMPLELINK>",
43+
"RTOS": "<one-of-valid-rtos-options-ChibiOS-FreeRTOS-FreeRTOS_ESP32-TI_SIMPLELINK>",
4444
"RTOS_SOURCE_FOLDER": "<path-to-RTOS-source-folder-if-supported-mind-the-forward-slash>",
4545
"CHIBIOS_CONTRIB_REQUIRED": "OFF-default-ON-to-include_ChibiOS-Contrib-repository-in-the-build",
4646
"CHIBIOS_CONTRIB_SOURCE": "<path-to-local-ChibiOS-contrib-source-mind-the-forward-slash>",
@@ -50,8 +50,8 @@
5050
"CMSIS_VERSION": "<valid-cmsis-version-if-empty-use-default-set-cmake>",
5151
"STM32_CUBE_PACKAGE_REQUIRED": "<OFF-default-ON-to-include_STM-cube-package-in-the-build>",
5252
"STM32_CUBE_PACKAGE_SOURCE": "<path-to-stm32-cubemx-package-mind-the-forward-slash>",
53-
"TI_SL_CC32xx_SDK_SOURCE": "<path-to-local-TI-SimpleLink-CC32xx-SDK-source-mind-the-forward-slash>",
54-
"TI_SL_CC13x2_26x2_SDK_SOURCE": "<path-to-local-TI-SimpleLink-CC13x2_26x2-SDK-source-mind-the-forward-slash>",
53+
"TI_SL_CC32xx_SDK_SOURCE": "<path-to-local-TI_SimpleLink-CC32xx-SDK-source-mind-the-forward-slash>",
54+
"TI_SL_CC13x2_26x2_SDK_SOURCE": "<path-to-local-TI_SimpleLink-CC13x2_26x2-SDK-source-mind-the-forward-slash>",
5555
"TI_XDCTOOLS_SOURCE": "<path-to-local-TI-XDC-Tools-source-mind-the-forward-slash>",
5656
"TI_SYSCONFIG_SOURCE": "<path-to-local-TI-SYSCONFIG-Tool-source-mind-the-forward-slash>",
5757
"RADIO_FREQUENCY": "<radio-frequency-for-target-with-configurable-radio-valid-values-868-915>",
@@ -67,7 +67,7 @@
6767
"NF_WP_TRACE_STATE": "OFF-default-ON-to-enable-trace-state-messages-wire-protocol",
6868
"NF_WP_TRACE_NODATA": "OFF-default-ON-to-enable-trace-no-data-messages-wire-protocol",
6969
"NF_WP_TRACE_ALL": "OFF-default-ON-to-enable-trace-all-messages-wire-protocol",
70-
"NF_WP_IMPLEMENTS_CRC32": "ON-default-OFF-to-disable-CRC32-wire-protocol",
70+
"NF_WP_IMPLEMENTS_CRC32": "OFF-default-OFF-to-disable-CRC32-wire-protocol",
7171
"NF_FEATURE_DEBUGGER": "OFF-default-ON-to-include-managed-app-debugging-capability",
7272
"NF_FEATURE_RTC": "OFF-default-ON-to-enable-hardware-RTC",
7373
"NF_FEATURE_USE_APPDOMAINS": "OFF-default-ON-to-enable-support-for-Application-Domains",

CMake/ChibiOS_target_os.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#include <chversion.h>
1212

13-
#ifndef _TARGET_OS_H_
14-
#define _TARGET_OS_H_ 1
13+
#ifndef TARGET_OS_H
14+
#define TARGET_OS_H
1515

1616
#define STR_HELPER(x) #x
1717
#define STR(x) STR_HELPER(x)
@@ -31,4 +31,4 @@
3131
#define NANOCLR_SYSTEM_COLLECTIONS @TARGET_SYSTEM_COLLECTIONS@
3232
#define TARGET_HAS_NANOBOOTER @TARGET_HAS_NANOBOOTER@
3333

34-
#endif /* _TARGET_OS_H_ */
34+
#endif // TARGET_OS_H

CMake/ESP32_target_os.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// Any changes you make here will be overwritten when it's generated again. //
99
//////////////////////////////////////////////////////////////////////////////
1010

11-
#ifndef _TARGET_OS_H_
12-
#define _TARGET_OS_H_ 1
11+
#ifndef TARGET_OS_H
12+
#define TARGET_OS_H
1313

1414
#define VERSION_MAJOR @nanoFramework_VERSION_MAJOR@U
1515
#define VERSION_MINOR @nanoFramework_VERSION_MINOR@U
@@ -27,4 +27,4 @@
2727
#define TARGET_HAS_NANOBOOTER FALSE
2828
#cmakedefine TARGET_SERIAL_BAUDRATE @TARGET_SERIAL_BAUDRATE@
2929

30-
#endif /* _TARGET_OS_H_ */
30+
#endif // TARGET_OS_H

CMake/FreeRTOS_target_os.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// Any changes you make here will be overwritten when it's generated again. //
99
//////////////////////////////////////////////////////////////////////////////
1010

11-
#ifndef _TARGET_OS_H_
12-
#define _TARGET_OS_H_ 1
11+
#ifndef TARGET_OS_H
12+
#define TARGET_OS_H
1313

1414
#define STR_HELPER(x) #x
1515
#define STR(x) STR_HELPER(x)
@@ -29,4 +29,4 @@
2929
#define NANOCLR_SYSTEM_COLLECTIONS @TARGET_SYSTEM_COLLECTIONS@
3030
#define TARGET_HAS_NANOBOOTER @TARGET_HAS_NANOBOOTER@
3131

32-
#endif /* _TARGET_OS_H_ */
32+
#endif // TARGET_OS_H

CMake/Modules/CHIBIOS_STM32F0xx_GCC_options.cmake

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,52 @@ set(CMAKE_ASM_FLAGS " -mthumb -mcpu=cortex-m0 -mfloat-abi=soft -mabi=aapcs -x as
1414
set(CMAKE_EXE_LINKER_FLAGS " -Wl,--gc-sections -Wl,--no-wchar-size-warning -Wl,--print-memory-usage -mthumb -mcpu=cortex-m0 -mfloat-abi=soft -mabi=aapcs -nostartfiles " CACHE INTERNAL "executable linker flags")
1515

1616

17-
function(NF_SET_COMPILER_OPTIONS TARGET)
17+
# TARGET parameter to set the target that's setting them for
18+
# optional EXTRA_COMPILE_OPTIONS with compile options to be added
19+
macro(nf_set_compile_options)
20+
21+
# parse arguments
22+
cmake_parse_arguments(NFSCO "" "TARGET" "EXTRA_COMPILE_OPTIONS" ${ARGN})
23+
24+
if(NOT NFSCO_TARGET OR "${NFSCO_TARGET}" STREQUAL "")
25+
message(FATAL_ERROR "Need to set TARGET argument when calling nf_set_compile_options()")
26+
endif()
1827

1928
# include any extra options coming from any extra args?
20-
target_compile_options(${TARGET} PUBLIC ${ARGN} -mthumb -mcpu=cortex-m0 -mabi=aapcs -nostdlib -Wall -Wextra -Werror -Wundef -fshort-wchar -fno-builtin -fno-common -mno-long-calls -fno-exceptions -fcheck-new )
29+
target_compile_options(${NFSCO_TARGET} PUBLIC ${NFSCO_EXTRA_COMPILE_OPTIONS} -mthumb -mcpu=cortex-m0 -mabi=aapcs -nostdlib -Wall -Wextra -Werror -Wundef -Wshadow -Wimplicit-fallthrough -fshort-wchar -fno-builtin -fno-common -mno-long-calls -fno-exceptions -fcheck-new )
2130

2231
# this series doesn't have FPU
23-
target_compile_definitions(${TARGET} PUBLIC -DCORTEX_USE_FPU=FALSE -DUSE_FPU=TRUE)
32+
target_compile_definitions(${NFSCO_TARGET} PUBLIC -DPLATFORM_ARM -DCORTEX_USE_FPU=FALSE -DUSE_FPU=TRUE)
2433

25-
endfunction()
34+
endmacro()
2635

2736

28-
function(NF_SET_LINKER_OPTIONS TARGET)
37+
# TARGET parameter to set the target that's setting them for
38+
# optional EXTRA_LINK_FLAGS with link flags to be added
39+
macro(nf_set_linker_options)
2940

30-
# request specs from newlib nano
31-
set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " --specs=nano.specs ")
41+
# parse arguments
42+
cmake_parse_arguments(NFSLO "" "TARGET;EXTRA_LINK_FLAGS" "" ${ARGN})
43+
44+
if(NOT NFSLO_TARGET OR "${NFSLO_TARGET}" STREQUAL "")
45+
message(FATAL_ERROR "Need to set TARGET argument when calling nf_set_linker_options()")
46+
endif()
3247

33-
# set extra linker flags
34-
set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " ${ARGN}")
48+
# request specs from newlib nano
49+
set_property(TARGET ${NFSLO_TARGET} APPEND_STRING PROPERTY LINK_FLAGS " --specs=nano.specs ")
3550

3651
# set optimization linker flags for RELEASE and MinSizeRel
3752
if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
38-
set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -flto -Os -fstrict-aliasing -fomit-frame-pointer -fno-unroll-loops -frounding-math -fsignaling-nans -ffloat-store -fno-math-errno -ftree-vectorize -fno-default-inline -finline-functions-called-once -fno-defer-pop ")
53+
set_property(TARGET ${NFSLO_TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -flto -Os -fstrict-aliasing -fomit-frame-pointer -fno-unroll-loops -frounding-math -fsignaling-nans -ffloat-store -fno-math-errno -ftree-vectorize -fno-default-inline -finline-functions-called-once -fno-defer-pop ")
3954
endif()
4055

56+
# include libraries in build
57+
nf_include_libraries_in_build(${NFSLO_TARGET})
58+
59+
# set extra linker flags
60+
set_property(TARGET ${NFSLO_TARGET} APPEND_STRING PROPERTY LINK_FLAGS " ${NFSLO_EXTRA_LINK_FLAGS} ")
61+
4162
# set optimization flags
42-
nf_set_optimization_options(${TARGET})
43-
44-
# set link map
45-
nf_set_link_map(${TARGET})
63+
nf_set_optimization_options(${NFSLO_TARGET})
4664

47-
endfunction()
65+
endmacro()

CMake/Modules/CHIBIOS_STM32F0xx_sources.cmake

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -43,38 +43,3 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
4343
endforeach()
4444

4545
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ports/ARMv6-M)
46-
47-
####################################################################################
48-
# WHEN ADDING A NEW CHIBIOS OVERLAY component add the include directory(ies) below
49-
####################################################################################
50-
# component STM32_FLASH
51-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FLASHv1)
52-
# component STM32_CRC
53-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/CRCv1)
54-
# component STM32_ONEWIRE
55-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/ONEWIREv1)
56-
57-
###############################################################################################################################
58-
# Add above the required include directory(ies) for a new nanoFramework overlay component that you are adding
59-
# following the template below.
60-
#
61-
# list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/<path-here>)
62-
###############################################################################################################################
63-
64-
65-
####################################################################################################
66-
# WHEN ADDING A NEW CHIBIOS OVERLAY component add the source file(s) specific to this series below
67-
####################################################################################################
68-
# component STM32_FLASH
69-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FLASHv1/flash_lld.c)
70-
# component STM32_CRC
71-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/CRCv1/crc_lld.c)
72-
# component STM32_ONEWIRE
73-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/ONEWIREv1/onewire_lld.c)
74-
75-
##########################################################################################################################
76-
# Add above ALL the source code file(s) low level driver specif for a series required for a new nanoFramework
77-
# overlay component that you are adding following the template below.
78-
#
79-
# list(APPEND CHIBIOS_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/src/<path-here>)
80-
##########################################################################################################################

CMake/Modules/CHIBIOS_STM32F4xx_GCC_options.cmake

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,53 @@ set(CMAKE_ASM_FLAGS " -mthumb -mcpu=cortex-m4 -x assembler-with-cpp" CACHE INTER
1414
set(CMAKE_EXE_LINKER_FLAGS " -Wl,--gc-sections -Wl,--no-wchar-size-warning -Wl,--print-memory-usage -mthumb -mcpu=cortex-m4 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mabi=aapcs -nostartfiles " CACHE INTERNAL "executable linker flags")
1515

1616

17-
function(NF_SET_COMPILER_OPTIONS TARGET)
17+
# TARGET parameter to set the target that's setting them for
18+
# optional EXTRA_COMPILE_OPTIONS with compile options to be added
19+
macro(nf_set_compile_options)
20+
21+
# parse arguments
22+
cmake_parse_arguments(NFSCO "" "TARGET" "EXTRA_COMPILE_OPTIONS" ${ARGN})
23+
24+
if(NOT NFSCO_TARGET OR "${NFSCO_TARGET}" STREQUAL "")
25+
message(FATAL_ERROR "Need to set TARGET argument when calling nf_set_compile_options()")
26+
endif()
27+
1828

1929
# include any extra options coming from any extra args?
20-
target_compile_options(${TARGET} PUBLIC ${ARGN} -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mabi=aapcs -nostdlib -Wall -Wextra -Werror -Wundef -fshort-wchar -fno-builtin -fno-common -mno-long-calls -fno-exceptions -fcheck-new )
30+
target_compile_options(${NFSCO_TARGET} PUBLIC ${NFSCO__EXTRA_COMPILE_OPTIONS} -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mabi=aapcs -nostdlib -Wall -Wextra -Werror -Wundef -Wshadow -Wimplicit-fallthrough -fshort-wchar -fno-builtin -fno-common -mno-long-calls -fno-exceptions -fcheck-new )
2131

2232
# this series has FPU
23-
target_compile_definitions(${TARGET} PUBLIC -DCORTEX_USE_FPU=TRUE -DUSE_FPU=TRUE)
33+
target_compile_definitions(${NFSCO_TARGET} PUBLIC -DPLATFORM_ARM -DCORTEX_USE_FPU=TRUE -DUSE_FPU=TRUE)
2434

25-
endfunction()
35+
endmacro()
2636

2737

28-
function(NF_SET_LINKER_OPTIONS TARGET)
38+
# TARGET parameter to set the target that's setting them for
39+
# optional EXTRA_LINK_FLAGS with link flags to be added
40+
macro(nf_set_linker_options)
2941

30-
# request specs from newlib nano
31-
set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " --specs=nano.specs ")
42+
# parse arguments
43+
cmake_parse_arguments(NFSLO "" "TARGET;EXTRA_LINK_FLAGS" "" ${ARGN})
44+
45+
if(NOT NFSLO_TARGET OR "${NFSLO_TARGET}" STREQUAL "")
46+
message(FATAL_ERROR "Need to set TARGET argument when calling nf_set_linker_options()")
47+
endif()
3248

33-
# set extra linker flags
34-
set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " ${ARGN}")
49+
# request specs from newlib nano
50+
set_property(TARGET ${NFSLO_TARGET} APPEND_STRING PROPERTY LINK_FLAGS " --specs=nano.specs ")
3551

3652
# set optimization linker flags for RELEASE and MinSizeRel
3753
if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
38-
set_property(TARGET ${TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -flto -Os -fstrict-aliasing -fomit-frame-pointer -fno-unroll-loops -frounding-math -fsignaling-nans -ffloat-store -fno-math-errno -ftree-vectorize -fno-default-inline -finline-functions-called-once -fno-defer-pop ")
54+
set_property(TARGET ${NFSLO_TARGET} APPEND_STRING PROPERTY LINK_FLAGS " -flto -Os -fstrict-aliasing -fomit-frame-pointer -fno-unroll-loops -frounding-math -fsignaling-nans -ffloat-store -fno-math-errno -ftree-vectorize -fno-default-inline -finline-functions-called-once -fno-defer-pop ")
3955
endif()
56+
57+
# include libraries in build
58+
nf_include_libraries_in_build(${NFSLO_TARGET})
59+
60+
# set extra linker flags
61+
set_property(TARGET ${NFSLO_TARGET} APPEND_STRING PROPERTY LINK_FLAGS " ${NFSLO__EXTRA_LINK_FLAGS} ")
4062

4163
# set optimization flags
42-
nf_set_optimization_options(${TARGET})
43-
44-
# set link map
45-
nf_set_link_map(${TARGET})
46-
47-
endfunction()
64+
nf_set_optimization_options(${NFSLO_TARGET})
65+
66+
endmacro()

CMake/Modules/CHIBIOS_STM32F4xx_sources.cmake

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -42,52 +42,3 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
4242
endforeach()
4343

4444
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M)
45-
46-
####################################################################################
47-
# WHEN ADDING A NEW CHIBIOS OVERLAY component add the include directory(ies) below
48-
####################################################################################
49-
# component STM32_FLASH
50-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FLASHv2)
51-
# component STM32_CRC
52-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/CRCv1)
53-
# component STM32_RNG
54-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/RNGv1)
55-
# component STM32_FSMC (Flexible Memory Controller)
56-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FSMCv1)
57-
# component STM32_ONEWIRE (One Wire driver)
58-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/ONEWIREv1)
59-
# component STM32_QSPI (Quad-SPI)
60-
list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/QSPIv1)
61-
62-
###############################################################################################################################
63-
# Add above the required include directory(ies) for a new nanoFramework overlay component that you are adding
64-
# following the template below.
65-
#
66-
# list(APPEND CHIBIOS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/<path-here>)
67-
###############################################################################################################################
68-
69-
70-
####################################################################################################
71-
# WHEN ADDING A NEW CHIBIOS OVERLAY component add the source file(s) specific to this series below
72-
####################################################################################################
73-
# component STM32_FLASH
74-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FLASHv2/flash_lld.c)
75-
# component STM32_CRC
76-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/CRCv1/crc_lld.c)
77-
# component STM32_RNG
78-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/RNGv1/rng_lld.c)
79-
# component STM32_FSMC (Flexible Memory Controller)
80-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FSMCv1/fsmc_nand_lld.c)
81-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sdram_lld.c)
82-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/FSMCv1/fsmc_sram_lld.c)
83-
# component STM32_ONEWIRE
84-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/ONEWIREv1/onewire_lld.c)
85-
# component STM32_QSPI (Quad-SPI)
86-
list(APPEND ChibiOSnfOverlay_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/ports/STM32/LLD/QSPIv1/qspi_lld.c)
87-
88-
##########################################################################################################################
89-
# Add above ALL the source code file(s) low level driver specif for a series required for a new nanoFramework
90-
# overlay component that you are adding following the template below.
91-
#
92-
# list(APPEND CHIBIOS_SOURCES ${CMAKE_SOURCE_DIR}/targets/ChibiOS/_nf-overlay/os/hal/src/<path-here>)
93-
##########################################################################################################################

0 commit comments

Comments
 (0)