Skip to content

Commit 77adb45

Browse files
authored
Merge pull request #2543 from jeromecoutant/PR_Small_Targets
Use GCC small build for 64K flash STM32
2 parents 9d3557f + f1781a4 commit 77adb45

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

hal/targets.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@
616616
"progen": {"target": "nucleo-f030r8"},
617617
"detect_code": ["0725"],
618618
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
619+
"default_lib": "small",
619620
"release_versions": ["2"]
620621
},
621622
"NUCLEO_F031K6": {
@@ -715,7 +716,7 @@
715716
"progen": {"target": "nucleo-f302r8"},
716717
"detect_code": ["0705"],
717718
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
718-
"default_build": "small",
719+
"default_lib": "small",
719720
"release_versions": ["2"]
720721
},
721722
"NUCLEO_F303K8": {
@@ -727,7 +728,7 @@
727728
"inherits": ["Target"],
728729
"progen": {"target": "nucleo-f303k8"},
729730
"detect_code": ["0775"],
730-
"default_build": "small",
731+
"default_lib": "small",
731732
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
732733
"release_versions": ["2"]
733734
},
@@ -753,7 +754,7 @@
753754
"progen": {"target": "nucleo-f334r8"},
754755
"detect_code": ["0735"],
755756
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
756-
"default_build": "small",
757+
"default_lib": "small",
757758
"release_versions": ["2"]
758759
},
759760
"NUCLEO_F401RE": {
@@ -924,6 +925,7 @@
924925
"progen": {"target": "nucleo-l053r8"},
925926
"detect_code": ["0715"],
926927
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
928+
"default_lib": "small",
927929
"release_versions": ["2"]
928930
},
929931
"NUCLEO_L073RZ": {
@@ -1032,7 +1034,7 @@
10321034
"progen": {"target": "disco-f334c8"},
10331035
"detect_code": ["0810"],
10341036
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
1035-
"default_build": "small",
1037+
"default_lib": "small",
10361038
"release_versions": ["2"]
10371039
},
10381040
"DISCO_F407VG": {
@@ -1075,6 +1077,7 @@
10751077
"supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"],
10761078
"progen": {"target": "disco-l053c8"},
10771079
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
1080+
"default_lib": "small",
10781081
"release_versions": ["2"]
10791082
},
10801083
"DISCO_F746NG": {

0 commit comments

Comments
 (0)