diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 2b714458a3a24ec4600206a6ad308b3ebf14328d..b2f98fb11680254f3c9f67f98a7feed698083ee3 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -102,6 +102,10 @@ jobs: - {RTT_BSP: "lpc43xx/M4", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc176x", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc55sxx/lpc55s69_nxp_evk", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "lpc55sxx/lpc55s28_nxp_evk", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "lpc55sxx/lpc55s06_nxp_evk", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "lpc55sxx/lpc55s16_nxp_evk", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "lpc55sxx/lpc55s36_nxp_evk", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc178x", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc408x", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "lpc1114", RTT_TOOL_CHAIN: "sourcery-arm"} diff --git a/bsp/lpc55sxx/lpc55s06_nxp_evk/rtconfig.py b/bsp/lpc55sxx/lpc55s06_nxp_evk/rtconfig.py index cac2fca3e563c11d98bc8cba9e0a16ccc31cb9b3..4f7c9654a13e151142e4b7c137508d13bdcec7c6 100644 --- a/bsp/lpc55sxx/lpc55s06_nxp_evk/rtconfig.py +++ b/bsp/lpc55sxx/lpc55s06_nxp_evk/rtconfig.py @@ -44,7 +44,7 @@ if PLATFORM == 'gcc': OBJCPY = PREFIX + 'objcopy' STRIP = PREFIX + 'strip' - DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections' + DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -DCPU_LPC55S06JBD64' CFLAGS = DEVICE + ' -Wall -D__FPU_PRESENT -eentry' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry' LFLAGS = DEVICE + ' -lm -lgcc -lc' + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/LPC55S06_flash.ld' diff --git a/bsp/lpc55sxx/lpc55s16_nxp_evk/rtconfig.py b/bsp/lpc55sxx/lpc55s16_nxp_evk/rtconfig.py index 61ba4da0314dd8b1aa808eec94230d1ac6f1e225..059245f3a2177b1ad84c97f438ad948fa8199846 100644 --- a/bsp/lpc55sxx/lpc55s16_nxp_evk/rtconfig.py +++ b/bsp/lpc55sxx/lpc55s16_nxp_evk/rtconfig.py @@ -44,7 +44,7 @@ if PLATFORM == 'gcc': OBJCPY = PREFIX + 'objcopy' STRIP = PREFIX + 'strip' - DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections' + DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -DCPU_LPC55S16JBD100' CFLAGS = DEVICE + ' -Wall -D__FPU_PRESENT -eentry' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry' LFLAGS = DEVICE + ' -lm -lgcc -lc' + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/LPC55S16_flash.ld' diff --git a/bsp/lpc55sxx/lpc55s28_nxp_evk/rtconfig.py b/bsp/lpc55sxx/lpc55s28_nxp_evk/rtconfig.py index b2ff73644b50fdf06674a97321997dab131b3636..ab70291753ad2358cf56a3b3e698ab184546b233 100644 --- a/bsp/lpc55sxx/lpc55s28_nxp_evk/rtconfig.py +++ b/bsp/lpc55sxx/lpc55s28_nxp_evk/rtconfig.py @@ -44,7 +44,7 @@ if PLATFORM == 'gcc': OBJCPY = PREFIX + 'objcopy' STRIP = PREFIX + 'strip' - DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections' + DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -DCPU_LPC55S28JBD100' CFLAGS = DEVICE + ' -Wall -D__FPU_PRESENT -eentry' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry' LFLAGS = DEVICE + ' -lm -lgcc -lc' + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/LPC55S28_flash.ld' diff --git a/bsp/lpc55sxx/lpc55s36_nxp_evk/rtconfig.py b/bsp/lpc55sxx/lpc55s36_nxp_evk/rtconfig.py index 08e6c11d0e5fc0fc6675584ff07a4c4c26f6ef8f..80a288917b96b199cb1a95bcd27054ca9a444440 100644 --- a/bsp/lpc55sxx/lpc55s36_nxp_evk/rtconfig.py +++ b/bsp/lpc55sxx/lpc55s36_nxp_evk/rtconfig.py @@ -44,7 +44,7 @@ if PLATFORM == 'gcc': OBJCPY = PREFIX + 'objcopy' STRIP = PREFIX + 'strip' - DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections' + DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -DCPU_LPC55S36JBD100' CFLAGS = DEVICE + ' -Wall -D__FPU_PRESENT -eentry' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry' LFLAGS = DEVICE + ' -lm -lgcc -lc' + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/LPC55S36_flash.ld'