diff --git a/bsp/CME_M7/SConstruct b/bsp/CME_M7/SConstruct index 4d5dfc1d4d..0f0407128d 100644 --- a/bsp/CME_M7/SConstruct +++ b/bsp/CME_M7/SConstruct @@ -8,6 +8,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/allwinner_tina/SConstruct b/bsp/allwinner_tina/SConstruct index f0c508ba6d..9a1fa924e1 100644 --- a/bsp/allwinner_tina/SConstruct +++ b/bsp/allwinner_tina/SConstruct @@ -9,6 +9,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/amebaz/SConstruct b/bsp/amebaz/SConstruct index 713fe15443..ac79195833 100644 --- a/bsp/amebaz/SConstruct +++ b/bsp/amebaz/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/apollo2/SConstruct b/bsp/apollo2/SConstruct index 1f57277560..1cbda577ee 100644 --- a/bsp/apollo2/SConstruct +++ b/bsp/apollo2/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread_apollo2.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/asm9260t/SConstruct b/bsp/asm9260t/SConstruct index 98b5712caf..eb7290cf6f 100644 --- a/bsp/asm9260t/SConstruct +++ b/bsp/asm9260t/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/at91sam9260/SConstruct b/bsp/at91sam9260/SConstruct index 7ce3af43b6..f91ca8c0a4 100755 --- a/bsp/at91sam9260/SConstruct +++ b/bsp/at91sam9260/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-at91sam9260.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/at91sam9g45/SConstruct b/bsp/at91sam9g45/SConstruct index 41139a3377..66063a0bf7 100644 --- a/bsp/at91sam9g45/SConstruct +++ b/bsp/at91sam9g45/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-at91sam9g45.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/avr32uc3b0/SConstruct b/bsp/avr32uc3b0/SConstruct index 834d66615f..20556cce2c 100644 --- a/bsp/avr32uc3b0/SConstruct +++ b/bsp/avr32uc3b0/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-' + rtconfig.ARCH + '.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/beaglebone/SConstruct b/bsp/beaglebone/SConstruct index 6b19269c47..5a9b7e82ba 100644 --- a/bsp/beaglebone/SConstruct +++ b/bsp/beaglebone/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-beaglebone.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/ck802/SConstruct b/bsp/ck802/SConstruct index 6c54a5b595..eeb3a3a236 100644 --- a/bsp/ck802/SConstruct +++ b/bsp/ck802/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-ck802.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/dm365/SConstruct b/bsp/dm365/SConstruct index fc6cffa67c..edd5cba974 100644 --- a/bsp/dm365/SConstruct +++ b/bsp/dm365/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-dm365.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/efm32/SConstruct b/bsp/efm32/SConstruct index 4849771bf0..3adbb60a52 100644 --- a/bsp/efm32/SConstruct +++ b/bsp/efm32/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-efm32.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/es32f0334/SConstruct b/bsp/es32f0334/SConstruct index 713fe15443..ac79195833 100644 --- a/bsp/es32f0334/SConstruct +++ b/bsp/es32f0334/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/es32f0654/SConstruct b/bsp/es32f0654/SConstruct index 713fe15443..ac79195833 100644 --- a/bsp/es32f0654/SConstruct +++ b/bsp/es32f0654/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/fh8620/SConstruct b/bsp/fh8620/SConstruct index 7f9e572807..02528da49f 100644 --- a/bsp/fh8620/SConstruct +++ b/bsp/fh8620/SConstruct @@ -15,6 +15,7 @@ TARGET = rtconfig.OUTPUT_NAME + rtconfig.TARGET_EXT # add rtconfig.h path to the assembler rtconfig.AFLAGS += ' -I' + str(Dir('#')) +' -I' + RTT_ROOT + '/libcpu/arm/armv6' +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/frdm-k64f/SConstruct b/bsp/frdm-k64f/SConstruct index eb4f3d8eac..4e87070d64 100644 --- a/bsp/frdm-k64f/SConstruct +++ b/bsp/frdm-k64f/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-k64f.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/gd32303e-eval/SConstruct b/bsp/gd32303e-eval/SConstruct index 1cdbaab4a8..215861f94c 100644 --- a/bsp/gd32303e-eval/SConstruct +++ b/bsp/gd32303e-eval/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread-gd32f30x.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/gd32450z-eval/SConstruct b/bsp/gd32450z-eval/SConstruct index adf9077eac..62726d6ee8 100644 --- a/bsp/gd32450z-eval/SConstruct +++ b/bsp/gd32450z-eval/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread-gd32f4xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/gd32e230k-start/SConstruct b/bsp/gd32e230k-start/SConstruct index 57a8ac59fc..091f38e983 100644 --- a/bsp/gd32e230k-start/SConstruct +++ b/bsp/gd32e230k-start/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread-gd32f230.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/gd32vf103v-eval/SConstruct b/bsp/gd32vf103v-eval/SConstruct index 3caac2f35d..33ab37287f 100644 --- a/bsp/gd32vf103v-eval/SConstruct +++ b/bsp/gd32vf103v-eval/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/gkipc/SConstruct b/bsp/gkipc/SConstruct index eebbcf3996..cc15e4b677 100644 --- a/bsp/gkipc/SConstruct +++ b/bsp/gkipc/SConstruct @@ -15,6 +15,7 @@ TARGET = rtconfig.OUTPUT_NAME + rtconfig.TARGET_EXT # add rtconfig.h path to the assembler rtconfig.AFLAGS += ' -I' + str(Dir('#')) +' -I' + str(Dir('#')) + '/bsp' +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/hifive1/SConstruct b/bsp/hifive1/SConstruct index da359a3016..c3051306e4 100644 --- a/bsp/hifive1/SConstruct +++ b/bsp/hifive1/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/imx6sx/cortex-a9/SConstruct b/bsp/imx6sx/cortex-a9/SConstruct index c76066ac37..c92339130e 100644 --- a/bsp/imx6sx/cortex-a9/SConstruct +++ b/bsp/imx6sx/cortex-a9/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-imx6.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/imx6ul/SConstruct b/bsp/imx6ul/SConstruct index eaf40ea2d8..9483ea927d 100644 --- a/bsp/imx6ul/SConstruct +++ b/bsp/imx6ul/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-imx6.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/imxrt/imxrt1052-atk-commander/SConstruct b/bsp/imxrt/imxrt1052-atk-commander/SConstruct index 8d27d0e199..9e5cd55bc0 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/SConstruct +++ b/bsp/imxrt/imxrt1052-atk-commander/SConstruct @@ -16,7 +16,7 @@ except: exit(-1) TARGET = 'rtthread.' + rtconfig.TARGET_EXT - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/imxrt/imxrt1052-fire-pro/SConstruct b/bsp/imxrt/imxrt1052-fire-pro/SConstruct index 8d27d0e199..9e5cd55bc0 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/SConstruct +++ b/bsp/imxrt/imxrt1052-fire-pro/SConstruct @@ -16,7 +16,7 @@ except: exit(-1) TARGET = 'rtthread.' + rtconfig.TARGET_EXT - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/imxrt/imxrt1052-nxp-evk/SConstruct b/bsp/imxrt/imxrt1052-nxp-evk/SConstruct index 8d27d0e199..9e5cd55bc0 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/SConstruct +++ b/bsp/imxrt/imxrt1052-nxp-evk/SConstruct @@ -16,7 +16,7 @@ except: exit(-1) TARGET = 'rtthread.' + rtconfig.TARGET_EXT - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/imxrt/imxrt1064-nxp-evk/SConstruct b/bsp/imxrt/imxrt1064-nxp-evk/SConstruct index 15f504bd6c..71be0c13c6 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/SConstruct +++ b/bsp/imxrt/imxrt1064-nxp-evk/SConstruct @@ -16,7 +16,7 @@ except: exit(-1) TARGET = 'rtthread.' + rtconfig.TARGET_EXT - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/imxrt/libraries/templates/imxrt1050xxx/SConstruct b/bsp/imxrt/libraries/templates/imxrt1050xxx/SConstruct index 3ba89ccafe..b420dfedb2 100644 --- a/bsp/imxrt/libraries/templates/imxrt1050xxx/SConstruct +++ b/bsp/imxrt/libraries/templates/imxrt1050xxx/SConstruct @@ -16,7 +16,7 @@ except: exit(-1) TARGET = 'rtthread.' + rtconfig.TARGET_EXT - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/imxrt/libraries/templates/imxrt1064xxx/SConstruct b/bsp/imxrt/libraries/templates/imxrt1064xxx/SConstruct index 15f504bd6c..71be0c13c6 100644 --- a/bsp/imxrt/libraries/templates/imxrt1064xxx/SConstruct +++ b/bsp/imxrt/libraries/templates/imxrt1064xxx/SConstruct @@ -16,7 +16,7 @@ except: exit(-1) TARGET = 'rtthread.' + rtconfig.TARGET_EXT - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/k210/SConstruct b/bsp/k210/SConstruct index dc55b29194..20bae7eee9 100644 --- a/bsp/k210/SConstruct +++ b/bsp/k210/SConstruct @@ -9,6 +9,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lm3s8962/SConstruct b/bsp/lm3s8962/SConstruct index c829512b41..966e5b398f 100644 --- a/bsp/lm3s8962/SConstruct +++ b/bsp/lm3s8962/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lm3s.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lm3s9b9x/SConstruct b/bsp/lm3s9b9x/SConstruct index 3542c5c40c..efa0d1ef96 100644 --- a/bsp/lm3s9b9x/SConstruct +++ b/bsp/lm3s9b9x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lm3s.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lm4f232/SConstruct b/bsp/lm4f232/SConstruct index 16877dd5b4..16bff0b3be 100644 --- a/bsp/lm4f232/SConstruct +++ b/bsp/lm4f232/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc1114/SConstruct b/bsp/lpc1114/SConstruct index 3f3d509e2f..71da42a029 100644 --- a/bsp/lpc1114/SConstruct +++ b/bsp/lpc1114/SConstruct @@ -9,6 +9,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc176x/SConstruct b/bsp/lpc176x/SConstruct index 4afcf96602..7cce9135bb 100644 --- a/bsp/lpc176x/SConstruct +++ b/bsp/lpc176x/SConstruct @@ -11,6 +11,7 @@ from building import * TARGET = 'rtthread-lpc17xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc178x/SConstruct b/bsp/lpc178x/SConstruct index 8503d8053c..526de324cd 100644 --- a/bsp/lpc178x/SConstruct +++ b/bsp/lpc178x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lpc178x.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc2148/SConstruct b/bsp/lpc2148/SConstruct index e1d4c19aac..d5dc943c14 100644 --- a/bsp/lpc2148/SConstruct +++ b/bsp/lpc2148/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'build/rtthread-lpc214x.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc2478/SConstruct b/bsp/lpc2478/SConstruct index b209a1a2ec..e57eb2752b 100644 --- a/bsp/lpc2478/SConstruct +++ b/bsp/lpc2478/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lpc24xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc408x/SConstruct b/bsp/lpc408x/SConstruct index 22bb73b311..cd9f21156b 100644 --- a/bsp/lpc408x/SConstruct +++ b/bsp/lpc408x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc43xx/M0/SConstruct b/bsp/lpc43xx/M0/SConstruct index c0d1d2fdc0..3a52eb9a43 100644 --- a/bsp/lpc43xx/M0/SConstruct +++ b/bsp/lpc43xx/M0/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lpc40xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc43xx/M4/SConstruct b/bsp/lpc43xx/M4/SConstruct index a6390025a3..bcdc7f03eb 100644 --- a/bsp/lpc43xx/M4/SConstruct +++ b/bsp/lpc43xx/M4/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'build/rtthread_lpc43xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc5410x/SConstruct b/bsp/lpc5410x/SConstruct index fb728723bc..db26ec3568 100644 --- a/bsp/lpc5410x/SConstruct +++ b/bsp/lpc5410x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-%s.%s' % (rtconfig.BOARD_NAME, rtconfig.TARGET_EXT) +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc54114-lite/SConstruct b/bsp/lpc54114-lite/SConstruct index aa0f6a15a3..d784bbb0c8 100644 --- a/bsp/lpc54114-lite/SConstruct +++ b/bsp/lpc54114-lite/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-%s.%s' % (rtconfig.BOARD_NAME, rtconfig.TARGET_EXT) +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/lpc54608-LPCXpresso/SConstruct b/bsp/lpc54608-LPCXpresso/SConstruct index a2d74ca040..e821687fc1 100644 --- a/bsp/lpc54608-LPCXpresso/SConstruct +++ b/bsp/lpc54608-LPCXpresso/SConstruct @@ -11,7 +11,7 @@ sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] from building import * TARGET = 'rtthread-%s.%s' % (rtconfig.BOARD_NAME, rtconfig.TARGET_EXT) - +DefaultEnvironment(tools=[]) if rtconfig.PLATFORM == 'armcc': env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, diff --git a/bsp/lpc824/SConstruct b/bsp/lpc824/SConstruct index a87696475d..13c205c1d2 100644 --- a/bsp/lpc824/SConstruct +++ b/bsp/lpc824/SConstruct @@ -14,6 +14,7 @@ from building import * TARGET = 'rtthread-lpc842.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/ls1bdev/SConstruct b/bsp/ls1bdev/SConstruct index 17e1d15db3..cc52d5f22d 100644 --- a/bsp/ls1bdev/SConstruct +++ b/bsp/ls1bdev/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/ls1cdev/SConstruct b/bsp/ls1cdev/SConstruct index a2f2cae178..7006f4f2de 100644 --- a/bsp/ls1cdev/SConstruct +++ b/bsp/ls1cdev/SConstruct @@ -14,6 +14,7 @@ TARGET = 'rtthread.' + rtconfig.TARGET_EXT rtconfig.AFLAGS += ' -I' + str(Dir('#')) +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/m16c62p/SConstruct b/bsp/m16c62p/SConstruct index 02b05a150c..8c5b7cd5e1 100644 --- a/bsp/m16c62p/SConstruct +++ b/bsp/m16c62p/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtt2m16c.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mb9bf500r/SConstruct b/bsp/mb9bf500r/SConstruct index be2a125e2c..6c02b383f2 100644 --- a/bsp/mb9bf500r/SConstruct +++ b/bsp/mb9bf500r/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mb9bf506r/SConstruct b/bsp/mb9bf506r/SConstruct index 5c060833f4..ab0b74817a 100644 --- a/bsp/mb9bf506r/SConstruct +++ b/bsp/mb9bf506r/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mb9bf568r/SConstruct b/bsp/mb9bf568r/SConstruct index 2a092f5a7e..bb8ca26990 100644 --- a/bsp/mb9bf568r/SConstruct +++ b/bsp/mb9bf568r/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-fm4.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mb9bf618s/SConstruct b/bsp/mb9bf618s/SConstruct index 5c060833f4..ab0b74817a 100644 --- a/bsp/mb9bf618s/SConstruct +++ b/bsp/mb9bf618s/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mini2440/SConstruct b/bsp/mini2440/SConstruct index 76e219bff3..a89673811c 100644 --- a/bsp/mini2440/SConstruct +++ b/bsp/mini2440/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-mini2440.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mini4020/SConstruct b/bsp/mini4020/SConstruct index c40ec891fa..81d08b0cdd 100644 --- a/bsp/mini4020/SConstruct +++ b/bsp/mini4020/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-mini4020.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mm32l07x/SConstruct b/bsp/mm32l07x/SConstruct index 44567aea78..8418d596c0 100644 --- a/bsp/mm32l07x/SConstruct +++ b/bsp/mm32l07x/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/mm32l3xx/SConstruct b/bsp/mm32l3xx/SConstruct index 44567aea78..8418d596c0 100644 --- a/bsp/mm32l3xx/SConstruct +++ b/bsp/mm32l3xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nrf51822/SConstruct b/bsp/nrf51822/SConstruct index 5813f6442c..c46e9fb9e7 100644 --- a/bsp/nrf51822/SConstruct +++ b/bsp/nrf51822/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-stm32f0xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nrf52832/SConstruct b/bsp/nrf52832/SConstruct index 78a2f594b5..f093ad6de7 100644 --- a/bsp/nrf52832/SConstruct +++ b/bsp/nrf52832/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread_nrf52832.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nuvoton_m05x/SConstruct b/bsp/nuvoton_m05x/SConstruct index 7fad129d8e..cdb079382a 100644 --- a/bsp/nuvoton_m05x/SConstruct +++ b/bsp/nuvoton_m05x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-nuvotan_m05x.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nuvoton_m451/SConstruct b/bsp/nuvoton_m451/SConstruct index b7994463ee..28df409418 100644 --- a/bsp/nuvoton_m451/SConstruct +++ b/bsp/nuvoton_m451/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-nuvotan_m451.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nuvoton_m487/SConstruct b/bsp/nuvoton_m487/SConstruct index 28e4279763..c27699fbb7 100644 --- a/bsp/nuvoton_m487/SConstruct +++ b/bsp/nuvoton_m487/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-m487.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nuvoton_nuc472/SConstruct b/bsp/nuvoton_nuc472/SConstruct index 9257163aef..0c9b103d6e 100644 --- a/bsp/nuvoton_nuc472/SConstruct +++ b/bsp/nuvoton_nuc472/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-nuc472.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/nv32f100x/SConstruct b/bsp/nv32f100x/SConstruct index 47ac06abf2..951c03f2d0 100644 --- a/bsp/nv32f100x/SConstruct +++ b/bsp/nv32f100x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-nv32f100x.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/qemu-vexpress-a9/SConstruct b/bsp/qemu-vexpress-a9/SConstruct index d618790dec..ddfe03da28 100644 --- a/bsp/qemu-vexpress-a9/SConstruct +++ b/bsp/qemu-vexpress-a9/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/qemu-vexpress-gemini/SConstruct b/bsp/qemu-vexpress-gemini/SConstruct index 765abd555a..140316ad06 100644 --- a/bsp/qemu-vexpress-gemini/SConstruct +++ b/bsp/qemu-vexpress-gemini/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-vexpress.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/raspi2/SConstruct b/bsp/raspi2/SConstruct index 1326632477..e5acdb2554 100644 --- a/bsp/raspi2/SConstruct +++ b/bsp/raspi2/SConstruct @@ -9,6 +9,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/realview-a8/SConstruct b/bsp/realview-a8/SConstruct index 0885dbfc0e..2ba0e9f457 100644 --- a/bsp/realview-a8/SConstruct +++ b/bsp/realview-a8/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-realview.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/rm48x50/SConstruct b/bsp/rm48x50/SConstruct index 44e0a61ac7..1abf18b626 100644 --- a/bsp/rm48x50/SConstruct +++ b/bsp/rm48x50/SConstruct @@ -11,6 +11,7 @@ from building import * TARGET = 'rtthread-rm48x50.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/rv32m1_vega/ri5cy/SConstruct b/bsp/rv32m1_vega/ri5cy/SConstruct index b314d10ce9..b902c7522a 100644 --- a/bsp/rv32m1_vega/ri5cy/SConstruct +++ b/bsp/rv32m1_vega/ri5cy/SConstruct @@ -9,6 +9,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/sam7x/SConstruct b/bsp/sam7x/SConstruct index 83714f5ad8..c257fdcb39 100644 --- a/bsp/sam7x/SConstruct +++ b/bsp/sam7x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-sam7x.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/samd21/SConstruct b/bsp/samd21/SConstruct index 0773dea2fa..2fb8879b88 100644 --- a/bsp/samd21/SConstruct +++ b/bsp/samd21/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'SAM_D2X_RTT.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/sep6200/SConstruct b/bsp/sep6200/SConstruct index 7c6bc8e032..bd3b704767 100644 --- a/bsp/sep6200/SConstruct +++ b/bsp/sep6200/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-sep6200.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index 0298679528..6724841075 100755 --- a/bsp/simulator/SConstruct +++ b/bsp/simulator/SConstruct @@ -56,6 +56,7 @@ elif rtconfig.PLATFORM == 'mingw': odbccp32 ''') TARGET = 'rtthread-win32.' + rtconfig.TARGET_EXT + DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32f0xx/SConstruct b/bsp/stm32/libraries/templates/stm32f0xx/SConstruct index 7979e3a23e..30f7822723 100644 --- a/bsp/stm32/libraries/templates/stm32f0xx/SConstruct +++ b/bsp/stm32/libraries/templates/stm32f0xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32f10x/SConstruct b/bsp/stm32/libraries/templates/stm32f10x/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/SConstruct +++ b/bsp/stm32/libraries/templates/stm32f10x/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32f2xx/SConstruct b/bsp/stm32/libraries/templates/stm32f2xx/SConstruct index 46a3a2d905..bb2db4fecf 100644 --- a/bsp/stm32/libraries/templates/stm32f2xx/SConstruct +++ b/bsp/stm32/libraries/templates/stm32f2xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32f4xx/SConstruct b/bsp/stm32/libraries/templates/stm32f4xx/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/SConstruct +++ b/bsp/stm32/libraries/templates/stm32f4xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32f7xx/SConstruct b/bsp/stm32/libraries/templates/stm32f7xx/SConstruct index 782c1e6311..147d9a0e4a 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/SConstruct +++ b/bsp/stm32/libraries/templates/stm32f7xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32h7xx/SConstruct b/bsp/stm32/libraries/templates/stm32h7xx/SConstruct index c3520af530..48974d990f 100644 --- a/bsp/stm32/libraries/templates/stm32h7xx/SConstruct +++ b/bsp/stm32/libraries/templates/stm32h7xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/libraries/templates/stm32l4xx/SConstruct b/bsp/stm32/libraries/templates/stm32l4xx/SConstruct index 58a36adbfc..c4b3facad7 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/SConstruct +++ b/bsp/stm32/libraries/templates/stm32l4xx/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f072-st-nucleo/SConstruct b/bsp/stm32/stm32f072-st-nucleo/SConstruct index 7979e3a23e..30f7822723 100644 --- a/bsp/stm32/stm32f072-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f072-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f091-st-nucleo/SConstruct b/bsp/stm32/stm32f091-st-nucleo/SConstruct index 7979e3a23e..30f7822723 100644 --- a/bsp/stm32/stm32f091-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f091-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-atk-nano/SConstruct b/bsp/stm32/stm32f103-atk-nano/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-atk-nano/SConstruct +++ b/bsp/stm32/stm32f103-atk-nano/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-atk-warshipv3/SConstruct b/bsp/stm32/stm32f103-atk-warshipv3/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-atk-warshipv3/SConstruct +++ b/bsp/stm32/stm32f103-atk-warshipv3/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-dofly-M3S/SConstruct b/bsp/stm32/stm32f103-dofly-M3S/SConstruct index 58c0dae36f..64aeaadb38 100644 --- a/bsp/stm32/stm32f103-dofly-M3S/SConstruct +++ b/bsp/stm32/stm32f103-dofly-M3S/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-dofly-lyc8/SConstruct b/bsp/stm32/stm32f103-dofly-lyc8/SConstruct index c4c95cfdb8..a82a39499e 100644 --- a/bsp/stm32/stm32f103-dofly-lyc8/SConstruct +++ b/bsp/stm32/stm32f103-dofly-lyc8/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-fire-arbitrary/SConstruct b/bsp/stm32/stm32f103-fire-arbitrary/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/SConstruct +++ b/bsp/stm32/stm32f103-fire-arbitrary/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/SConstruct b/bsp/stm32/stm32f103-gizwits-gokitv21/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-gizwits-gokitv21/SConstruct +++ b/bsp/stm32/stm32f103-gizwits-gokitv21/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-hw100k-ibox/SConstruct b/bsp/stm32/stm32f103-hw100k-ibox/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-hw100k-ibox/SConstruct +++ b/bsp/stm32/stm32f103-hw100k-ibox/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-mini-system/SConstruct b/bsp/stm32/stm32f103-mini-system/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-mini-system/SConstruct +++ b/bsp/stm32/stm32f103-mini-system/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f103-yf-ufun/SConstruct b/bsp/stm32/stm32f103-yf-ufun/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f103-yf-ufun/SConstruct +++ b/bsp/stm32/stm32f103-yf-ufun/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f107-uc-eval/SConstruct b/bsp/stm32/stm32f107-uc-eval/SConstruct index 27b5e7fccc..1a9f419db5 100644 --- a/bsp/stm32/stm32f107-uc-eval/SConstruct +++ b/bsp/stm32/stm32f107-uc-eval/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f401-st-nucleo/SConstruct b/bsp/stm32/stm32f401-st-nucleo/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f401-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f401-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/SConstruct b/bsp/stm32/stm32f405-smdz-breadfruit/SConstruct index 110a631aea..6fbf23c9cf 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/SConstruct +++ b/bsp/stm32/stm32f405-smdz-breadfruit/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f407-atk-explorer/SConstruct b/bsp/stm32/stm32f407-atk-explorer/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f407-atk-explorer/SConstruct +++ b/bsp/stm32/stm32f407-atk-explorer/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f407-st-discovery/SConstruct b/bsp/stm32/stm32f407-st-discovery/SConstruct index b3728e2330..1684dc06b0 100644 --- a/bsp/stm32/stm32f407-st-discovery/SConstruct +++ b/bsp/stm32/stm32f407-st-discovery/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f411-st-nucleo/SConstruct b/bsp/stm32/stm32f411-st-nucleo/SConstruct index b3728e2330..1684dc06b0 100644 --- a/bsp/stm32/stm32f411-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f411-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f412-st-nucleo/SConstruct b/bsp/stm32/stm32f412-st-nucleo/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f412-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f412-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f427-robomaster-a/SConstruct b/bsp/stm32/stm32f427-robomaster-a/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f427-robomaster-a/SConstruct +++ b/bsp/stm32/stm32f427-robomaster-a/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f429-armfly-v6/SConstruct b/bsp/stm32/stm32f429-armfly-v6/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f429-armfly-v6/SConstruct +++ b/bsp/stm32/stm32f429-armfly-v6/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f429-atk-apollo/SConstruct b/bsp/stm32/stm32f429-atk-apollo/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f429-atk-apollo/SConstruct +++ b/bsp/stm32/stm32f429-atk-apollo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f429-fire-challenger/SConstruct b/bsp/stm32/stm32f429-fire-challenger/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f429-fire-challenger/SConstruct +++ b/bsp/stm32/stm32f429-fire-challenger/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f429-st-disco/SConstruct b/bsp/stm32/stm32f429-st-disco/SConstruct index b3728e2330..1684dc06b0 100644 --- a/bsp/stm32/stm32f429-st-disco/SConstruct +++ b/bsp/stm32/stm32f429-st-disco/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f446-st-nucleo/SConstruct b/bsp/stm32/stm32f446-st-nucleo/SConstruct index 629f25c6ee..945cb55a52 100644 --- a/bsp/stm32/stm32f446-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f446-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f469-st-disco/SConstruct b/bsp/stm32/stm32f469-st-disco/SConstruct index b3728e2330..1684dc06b0 100644 --- a/bsp/stm32/stm32f469-st-disco/SConstruct +++ b/bsp/stm32/stm32f469-st-disco/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f746-st-disco/SConstruct b/bsp/stm32/stm32f746-st-disco/SConstruct index ca0f33d692..050835a35a 100644 --- a/bsp/stm32/stm32f746-st-disco/SConstruct +++ b/bsp/stm32/stm32f746-st-disco/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f767-atk-apollo/SConstruct b/bsp/stm32/stm32f767-atk-apollo/SConstruct index ca0f33d692..050835a35a 100644 --- a/bsp/stm32/stm32f767-atk-apollo/SConstruct +++ b/bsp/stm32/stm32f767-atk-apollo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f767-fire-challenger/SConstruct b/bsp/stm32/stm32f767-fire-challenger/SConstruct index ca0f33d692..050835a35a 100644 --- a/bsp/stm32/stm32f767-fire-challenger/SConstruct +++ b/bsp/stm32/stm32f767-fire-challenger/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f767-st-nucleo/SConstruct b/bsp/stm32/stm32f767-st-nucleo/SConstruct index 782c1e6311..147d9a0e4a 100644 --- a/bsp/stm32/stm32f767-st-nucleo/SConstruct +++ b/bsp/stm32/stm32f767-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32f769-st-disco/SConstruct b/bsp/stm32/stm32f769-st-disco/SConstruct index 782c1e6311..147d9a0e4a 100644 --- a/bsp/stm32/stm32f769-st-disco/SConstruct +++ b/bsp/stm32/stm32f769-st-disco/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32g071-st-nucleo/SConstruct b/bsp/stm32/stm32g071-st-nucleo/SConstruct index 9de90da39b..96fd191077 100644 --- a/bsp/stm32/stm32g071-st-nucleo/SConstruct +++ b/bsp/stm32/stm32g071-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32g431-st-nucleo/SConstruct b/bsp/stm32/stm32g431-st-nucleo/SConstruct index 5e0b111295..d32015f991 100644 --- a/bsp/stm32/stm32g431-st-nucleo/SConstruct +++ b/bsp/stm32/stm32g431-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32h743-atk-apollo/SConstruct b/bsp/stm32/stm32h743-atk-apollo/SConstruct index 7cf638765c..a7cc0cb251 100644 --- a/bsp/stm32/stm32h743-atk-apollo/SConstruct +++ b/bsp/stm32/stm32h743-atk-apollo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32h743-st-nucleo/SConstruct b/bsp/stm32/stm32h743-st-nucleo/SConstruct index c3520af530..48974d990f 100644 --- a/bsp/stm32/stm32h743-st-nucleo/SConstruct +++ b/bsp/stm32/stm32h743-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l053-st-nucleo/SConstruct b/bsp/stm32/stm32l053-st-nucleo/SConstruct index b158e3828b..5fcb889bc2 100644 --- a/bsp/stm32/stm32l053-st-nucleo/SConstruct +++ b/bsp/stm32/stm32l053-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l432-st-nucleo/SConstruct b/bsp/stm32/stm32l432-st-nucleo/SConstruct index 58a36adbfc..c4b3facad7 100644 --- a/bsp/stm32/stm32l432-st-nucleo/SConstruct +++ b/bsp/stm32/stm32l432-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l452-st-nucleo/SConstruct b/bsp/stm32/stm32l452-st-nucleo/SConstruct index 58a36adbfc..c4b3facad7 100644 --- a/bsp/stm32/stm32l452-st-nucleo/SConstruct +++ b/bsp/stm32/stm32l452-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l475-atk-pandora/SConstruct b/bsp/stm32/stm32l475-atk-pandora/SConstruct index 58a36adbfc..c4b3facad7 100644 --- a/bsp/stm32/stm32l475-atk-pandora/SConstruct +++ b/bsp/stm32/stm32l475-atk-pandora/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l475-st-discovery/SConstruct b/bsp/stm32/stm32l475-st-discovery/SConstruct index 1a3000812b..44df6b339e 100644 --- a/bsp/stm32/stm32l475-st-discovery/SConstruct +++ b/bsp/stm32/stm32l475-st-discovery/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l476-st-nucleo/SConstruct b/bsp/stm32/stm32l476-st-nucleo/SConstruct index 58a36adbfc..c4b3facad7 100644 --- a/bsp/stm32/stm32l476-st-nucleo/SConstruct +++ b/bsp/stm32/stm32l476-st-nucleo/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l496-ali-developer/SConstruct b/bsp/stm32/stm32l496-ali-developer/SConstruct index 58a36adbfc..c4b3facad7 100644 --- a/bsp/stm32/stm32l496-ali-developer/SConstruct +++ b/bsp/stm32/stm32l496-ali-developer/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rt-thread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32/stm32l4r9-st-eval/SConstruct b/bsp/stm32/stm32l4r9-st-eval/SConstruct index 1a3000812b..44df6b339e 100644 --- a/bsp/stm32/stm32l4r9-st-eval/SConstruct +++ b/bsp/stm32/stm32l4r9-st-eval/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/stm32f20x/SConstruct b/bsp/stm32f20x/SConstruct index ae13ebd5bf..90ea00f7c3 100644 --- a/bsp/stm32f20x/SConstruct +++ b/bsp/stm32f20x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-stm32f2xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/swm320-lq100/SConstruct b/bsp/swm320-lq100/SConstruct index 44567aea78..8418d596c0 100644 --- a/bsp/swm320-lq100/SConstruct +++ b/bsp/swm320-lq100/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/synopsys/emsk_em9d/SConstruct b/bsp/synopsys/emsk_em9d/SConstruct index a93d89ee74..d8e88ebeea 100644 --- a/bsp/synopsys/emsk_em9d/SConstruct +++ b/bsp/synopsys/emsk_em9d/SConstruct @@ -32,6 +32,7 @@ if GetOption('gdb'): print rtconfig.TARGET + 'not exist, please build first!!' exit(0) +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/taihu/SConstruct b/bsp/taihu/SConstruct index b4d528437b..406751b251 100644 --- a/bsp/taihu/SConstruct +++ b/bsp/taihu/SConstruct @@ -16,6 +16,7 @@ cwd = GetCurrentDir() rtconfig.AFLAGS = rtconfig.AFLAGS + ' -I' + RTT_ROOT + '/libcpu/ppc/ppc405/include ' rtconfig.CFLAGS = rtconfig.CFLAGS + ' -I' + RTT_ROOT + '/libcpu/ppc/ppc405/include ' +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/tm4c129x/SConstruct b/bsp/tm4c129x/SConstruct index 16877dd5b4..16bff0b3be 100644 --- a/bsp/tm4c129x/SConstruct +++ b/bsp/tm4c129x/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/upd70f3454/SConstruct b/bsp/upd70f3454/SConstruct index a342385d85..bd9d98a726 100644 --- a/bsp/upd70f3454/SConstruct +++ b/bsp/upd70f3454/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/w60x/SConstruct b/bsp/w60x/SConstruct index 713fe15443..ac79195833 100644 --- a/bsp/w60x/SConstruct +++ b/bsp/w60x/SConstruct @@ -17,6 +17,7 @@ except: TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/x1000/SConstruct b/bsp/x1000/SConstruct index 39cc9d945c..053d160121 100644 --- a/bsp/x1000/SConstruct +++ b/bsp/x1000/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-x1000.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/x86/SConstruct b/bsp/x86/SConstruct index c885c34448..d58455158e 100644 --- a/bsp/x86/SConstruct +++ b/bsp/x86/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/xplorer4330/M0/SConstruct b/bsp/xplorer4330/M0/SConstruct index 62cebd454f..3e98f7a5d6 100644 --- a/bsp/xplorer4330/M0/SConstruct +++ b/bsp/xplorer4330/M0/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lpc40xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/xplorer4330/M4/SConstruct b/bsp/xplorer4330/M4/SConstruct index 62cebd454f..3e98f7a5d6 100644 --- a/bsp/xplorer4330/M4/SConstruct +++ b/bsp/xplorer4330/M4/SConstruct @@ -12,6 +12,7 @@ from building import * TARGET = 'rtthread-lpc40xx.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS, diff --git a/bsp/zynq7000/SConstruct b/bsp/zynq7000/SConstruct index 9d9b35277a..d06010997d 100644 --- a/bsp/zynq7000/SConstruct +++ b/bsp/zynq7000/SConstruct @@ -14,6 +14,7 @@ from building import * TARGET = 'rtthread-zynq7000.' + rtconfig.TARGET_EXT +DefaultEnvironment(tools=[]) env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS,