diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/cmake/cpu/cortex-m0plus.cmake | 11 | ||||
| -rw-r--r-- | tools/get_deps.py | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/tools/cmake/cpu/cortex-m0plus.cmake b/tools/cmake/cpu/cortex-m0plus.cmake new file mode 100644 index 000000000..1e316ccfc --- /dev/null +++ b/tools/cmake/cpu/cortex-m0plus.cmake @@ -0,0 +1,11 @@ +if (TOOLCHAIN STREQUAL "gcc") + list(APPEND TOOLCHAIN_COMMON_FLAGS + -mthumb + -mcpu=cortex-m0plus + -mfloat-abi=soft + ) + + set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "") +else () + # TODO support IAR +endif () diff --git a/tools/get_deps.py b/tools/get_deps.py index b16bf7005..b4739e940 100644 --- a/tools/get_deps.py +++ b/tools/get_deps.py @@ -90,7 +90,7 @@ deps_optional = { 'fc676ef1ad177eb874eaa06444d3d75395fc51f4', 'stm32f7'], 'hw/mcu/st/cmsis_device_g0': ['https://github.com/STMicroelectronics/cmsis_device_g0.git', - '08258b28ee95f50cb9624d152a1cbf084be1f9a5', + '3a23e1224417f3f2d00300ecd620495e363f2094', 'stm32g0'], 'hw/mcu/st/cmsis_device_g4': ['https://github.com/STMicroelectronics/cmsis_device_g4.git', 'ce822adb1dc552b3aedd13621edbc7fdae124878', @@ -135,7 +135,7 @@ deps_optional = { 'f7ffdf6bf72110e58b42c632b0a051df5997e4ee', 'stm32f7'], 'hw/mcu/st/stm32g0xx_hal_driver': ['https://github.com/STMicroelectronics/stm32g0xx_hal_driver.git', - '5b53e6cee664a82b16c86491aa0060e2110c00cb', + 'e911b12c7f67084d7f6b76157a4c0d4e2ec3779c', 'stm32g0'], 'hw/mcu/st/stm32g4xx_hal_driver': ['https://github.com/STMicroelectronics/stm32g4xx_hal_driver.git', '8b4518417706d42eef5c14e56a650005abf478a8', |
