diff options
| author | Ha Thach <[email protected]> | 2023-05-23 21:45:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-23 21:45:00 +0700 |
| commit | 1ef820ecfe569e181b8f20cb936f632e51d8257e (patch) | |
| tree | 3a170e7c11de223c988a594c5189c4d39f1869ff /tools/cmake/cpu/cortex-m3.cmake | |
| parent | c998e9c60bc76894006c3bd049d661124a9bfbfd (diff) | |
Enhance chipidea (#2075)
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead
* add dcd dcache for chipidea
* add cmake for lpc18
* add makefile build for mcx
* use fork of mcu sdk
* fix ci build with nrf
* flash rp2040 with openocd
Diffstat (limited to 'tools/cmake/cpu/cortex-m3.cmake')
| -rw-r--r-- | tools/cmake/cpu/cortex-m3.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/cmake/cpu/cortex-m3.cmake b/tools/cmake/cpu/cortex-m3.cmake new file mode 100644 index 000000000..b740ee44c --- /dev/null +++ b/tools/cmake/cpu/cortex-m3.cmake @@ -0,0 +1,10 @@ +if (TOOLCHAIN STREQUAL "gcc") + list(APPEND TOOLCHAIN_COMMON_FLAGS + -mthumb + -mcpu=cortex-m3 + ) + + set(FREERTOS_PORT GCC_ARM_CM3 CACHE INTERNAL "") +else () + # TODO support IAR +endif () |
