Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ChibiOS to v21.6 #1982

Merged
merged 15 commits into from
Jul 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/scripts/git-pull-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ git pull origin nf-build
cd /sources/AzureRTOS
git pull
cd /sources/ChibiOs
git pull origin stable_20.3.x
git pull origin stable_21.6.x
cd /sources/ChibiOs-Contrib
git pull origin nanoframework
cd /sources/mbedtls
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/sources/Dockerfile.All
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN git clone --branch nf-build https://github.com/nanoframework/STM32CubeL4.git
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeF4.git --depth 1 ./sources/STM32CubeF4 \
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeH7.git --depth 1 ./sources/STM32CubeH7 \
&& git clone --recursive https://github.com/azure-rtos/threadx.git --depth 1 ./sources/AzureRTOS \
&& git clone --branch stable_20.3.x https://github.com/nanoframework/chibios.git --depth 1 ./sources/ChibiOs \
&& git clone --branch stable_21.6.x https://github.com/nanoframework/chibios.git --depth 1 ./sources/ChibiOs \
&& git clone --branch nanoframework https://github.com/nanoframework/ChibiOS-Contrib.git --depth 1 ./sources/ChibiOs-Contrib
# Clone mbedtls and fatfs
RUN git clone --branch mbedtls-2.26.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/sources/Dockerfile.ChibiOS
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN git clone --branch nf-build https://github.com/nanoframework/STM32CubeL4.git
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeF7.git --depth 1 ./sources/STM32CubeF7 \
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeF4.git --depth 1 ./sources/STM32CubeF4 \
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeH7.git --depth 1 ./sources/STM32CubeH7 \
&& git clone --branch stable_20.3.x https://github.com/nanoframework/chibios.git --depth 1 ./sources/ChibiOs \
&& git clone --branch stable_21.6.x https://github.com/nanoframework/chibios.git --depth 1 ./sources/ChibiOs \
&& git clone --branch nanoframework https://github.com/nanoframework/ChibiOS-Contrib.git --depth 1 ./sources/ChibiOs-Contrib
# Clone mbedtls and fatfs
RUN git clone --branch mbedtls-2.26.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
Expand Down
75 changes: 4 additions & 71 deletions CMake/Modules/CHIBIOS_STM32F0xx_sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,10 @@ FetchContent_GetProperties(chibios)
################################################################################

set(CHIBIOS_PORT_SRCS
# startup code
crt1.c
vectors.S
crt0_v6m.S

nvic.c
stm32_isr.c
hal_lld.c

hal_adc_lld.c
hal_can_lld.c
hal_dac_lld.c
stm32_dma.c
stm32_exti.c
hal_pal_lld.c
hal_i2c_lld.c
hal_rtc_lld.c

hal_i2s_lld.c
hal_spi_lld.c

hal_st_lld.c
hal_gpt_lld.c
hal_icu_lld.c
hal_pwm_lld.c

hal_serial_lld.c
hal_uart_lld.c

hal_usb_lld.c

hal_wdg_lld.c

# RT
chcore.c
chcore_v6m.c
chcoreasm_v6m.S
chcoreasm.S
)
foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})

Expand All @@ -59,25 +26,10 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
find_file(CHIBIOS_F0_SRC_FILE ${SRC_FILE}
PATHS

${chibios_SOURCE_DIR}/os/common/ports/ARMCMx/compilers/GCC
${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/compilers/GCC
${chibios_SOURCE_DIR}/os/common/ports/ARMCMx
${chibios_SOURCE_DIR}/os/common/ports/ARMv6-M/compilers/GCC
${chibios_SOURCE_DIR}/os/common/ports/ARMv6-M
${chibios_SOURCE_DIR}/os/hal/ports/common/ARMCMx

${chibios_SOURCE_DIR}/os/hal/ports/STM32/STM32F0xx
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/ADCv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CANv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DACv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DMAv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/EXTIv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/GPIOv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/I2Cv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RTCv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SPIv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/TIMv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USARTv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USBv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/xWDGv1

CMAKE_FIND_ROOT_PATH_BOTH
)
Expand All @@ -90,26 +42,7 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})

endforeach()

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/portability/GCC)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/compilers/GCC)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/devices/STM32F0xx)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ext/ARM/CMSIS/Core/Include)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ext/ST/STM32F0xx)

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/ADCv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CANv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DACv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DMAv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/EXTIv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/GPIOv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/I2Cv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RTCv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SPIv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/TIMv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USARTv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USBv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/xWDGv1)

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ports/ARMv6-M)

####################################################################################
# WHEN ADDING A NEW CHIBIOS OVERLAY component add the include directory(ies) below
Expand Down
91 changes: 4 additions & 87 deletions CMake/Modules/CHIBIOS_STM32F4xx_sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,47 +14,10 @@ FetchContent_GetProperties(chibios)
################################################################################################

set(CHIBIOS_PORT_SRCS
# startup code
crt1.c
vectors.S
crt0_v7m.S

nvic.c
stm32_isr.c
hal_lld.c

hal_adc_lld.c
hal_can_lld.c
hal_crypto_lld.c
hal_dac_lld.c
stm32_dma.c
stm32_exti.c
hal_pal_lld.c
hal_i2c_lld.c
hal_mac_lld.c
hal_usb_lld.c
hal_wspi_lld.c
hal_trng_lld.c
hal_rtc_lld.c
hal_sdc_lld.c

hal_i2s_lld.c
hal_spi_lld.c

hal_st_lld.c
hal_gpt_lld.c
hal_icu_lld.c
hal_pwm_lld.c

hal_serial_lld.c
hal_uart_lld.c

hal_wdg_lld.c

# RT
chcore.c
chcore_v7m.c
chcoreasm_v7m.S
chcoreasm.S
)

foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
Expand All @@ -64,30 +27,8 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
find_file(CHIBIOS_F4_SRC_FILE ${SRC_FILE}
PATHS

${chibios_SOURCE_DIR}/os/common/ports/ARMCMx/compilers/GCC
${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/compilers/GCC
${chibios_SOURCE_DIR}/os/common/ports/ARMCMx
${chibios_SOURCE_DIR}/os/hal/ports/common/ARMCMx

${chibios_SOURCE_DIR}/os/hal/ports/STM32/STM32F4xx
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/ADCv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CANv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CRYPv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DACv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DMAv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/EXTIv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/GPIOv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/I2Cv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/MACv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/OTGv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/QUADSPIv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RNGv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RTCv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SDIOv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SPIv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/TIMv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USARTv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/xWDGv1
${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M/compilers/GCC
${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M

CMAKE_FIND_ROOT_PATH_BOTH
)
Expand All @@ -100,31 +41,7 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})

endforeach()

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/portability/GCC)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/compilers/GCC)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/devices/STM32F4xx)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ext/ARM/CMSIS/Core/Include)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ext/ST/STM32F4xx)

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/ADCv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CANv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CRYPv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DACv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DMAv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/EXTIv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/GPIOv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/I2Cv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/MACv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/OTGv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/QUADSPIv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RNGv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RTCv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SDIOv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SPIv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/TIMv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USARTv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/xWDGv1)

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M)

####################################################################################
# WHEN ADDING A NEW CHIBIOS OVERLAY component add the include directory(ies) below
Expand Down
91 changes: 4 additions & 87 deletions CMake/Modules/CHIBIOS_STM32F7xx_sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,47 +14,10 @@ FetchContent_GetProperties(chibios)
################################################################################################

set(CHIBIOS_PORT_SRCS
# startup code
crt1.c
vectors.S
crt0_v7m.S

nvic.c
stm32_isr.c
hal_lld.c

hal_adc_lld.c
hal_can_lld.c
hal_crypto_lld.c
hal_dac_lld.c
stm32_dma.c
stm32_exti.c
hal_pal_lld.c
hal_i2c_lld.c
hal_mac_lld.c
hal_usb_lld.c
hal_wspi_lld.c
hal_trng_lld.c
hal_rtc_lld.c
hal_sdc_lld.c

hal_i2s_lld.c
hal_spi_lld.c

hal_st_lld.c
hal_gpt_lld.c
hal_icu_lld.c
hal_pwm_lld.c

hal_serial_lld.c
hal_uart_lld.c

hal_wdg_lld.c

# RT
chcore.c
chcore_v7m.c
chcoreasm_v7m.S
chcoreasm.S
)

foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
Expand All @@ -64,31 +27,8 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})
find_file(CHIBIOS_F7_SRC_FILE ${SRC_FILE}
PATHS

${chibios_SOURCE_DIR}/os/common/ports/ARMCMx/compilers/GCC
${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/compilers/GCC
${chibios_SOURCE_DIR}/os/common/ports/ARMCMx
${chibios_SOURCE_DIR}/os/hal/ports/common/ARMCMx

${chibios_SOURCE_DIR}/os/hal/ports/STM32/STM32F7xx

${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/ADCv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CANv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CRYPv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DACv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DMAv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/EXTIv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/GPIOv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/I2Cv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/MACv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/OTGv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/QUADSPIv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RNGv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RTCv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SDMMCv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SPIv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/TIMv1
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USARTv2
${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/xWDGv1
${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M/compilers/GCC
${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M

CMAKE_FIND_ROOT_PATH_BOTH
)
Expand All @@ -101,30 +41,7 @@ foreach(SRC_FILE ${CHIBIOS_PORT_SRCS})

endforeach()

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/portability/GCC)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/compilers/GCC)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/startup/ARMCMx/devices/STM32F7xx)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ext/ARM/CMSIS/Core/Include)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ext/ST/STM32F7xx)

list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/ADCv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CANv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/CRYPv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DACv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/DMAv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/EXTIv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/GPIOv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/I2Cv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/MACv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/OTGv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/QUADSPIv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RNGv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/RTCv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SDMMCv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/SPIv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/TIMv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/USARTv2)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/hal/ports/STM32/LLD/xWDGv1)
list(APPEND CHIBIOS_INCLUDE_DIRS ${chibios_SOURCE_DIR}/os/common/ports/ARMv7-M)


####################################################################################
Expand Down
Loading