Dan Halbert
329f4fb2e6
Update mpconfigboard.mk
...
The stm boards default to `-O2`. Changing to `-Os` brings it back to ~43kB (!) free even for ja.
2020-08-13 10:09:46 -04:00
Jeff Epler
42b860e91a
stm: meowbit_v121: remove _pixelbuf to fit ja translation
2020-08-13 07:49:45 -05:00
Jeff Epler
239c8ff87f
metro_m0_express: put back audiobusio
...
this now fits locally (though it's very close to capacity);
let's see what the CI says.
```
make BOARD=metro_m0_express clean && make BOARD=metro_m0_express TRANSLATION=ja
...
253448 bytes used, 248 bytes free in flash firmware space out of 253696 bytes (247.75kB).
```
2020-08-12 19:11:33 -05:00
Jeff Epler
aa0b4f7045
cpx_display: Put back AUDIOBUSIO, take away ROTARYIO
...
AUDIOBUSIO is needed for the on-board mic using PDMIn
2020-08-12 16:17:48 -05:00
Jeff Epler
ea8e9b8cef
metro_m0_express: Put back GAMEPAD, take away AUDIOBUSIO
...
Dan notes that this is more frequently the solution we've chosen
2020-08-12 16:17:13 -05:00
Jeff Epler
299894025a
stringcar_m0_express: make ja translation fit
2020-08-12 13:47:10 -05:00
Jeff Epler
f08ee0db20
itsybitsy_m0_express: make ja translation fit again
2020-08-12 13:44:00 -05:00
Jeff Epler
7bd42244c9
snekboard: make ja translation fit
2020-08-12 13:34:36 -05:00
Jeff Epler
45f6bc1f3e
serpente: make ja translation fit
2020-08-12 13:32:08 -05:00
Jeff Epler
36bfbaae69
feather_radiofruit_zigbee: make ja translation fit
2020-08-12 13:28:30 -05:00
Jeff Epler
58a1361d3e
Merge remote-tracking branch 'origin/main' into ja-firmware-size
2020-08-12 13:26:12 -05:00
Jeff Epler
813dcd1b73
trinket_m0_haxpress: make ja translation fit
2020-08-12 12:44:17 -05:00
Jeff Epler
88f222f1a1
metro_m0_express: make ja translation fit
2020-08-12 12:38:17 -05:00
Jeff Epler
ba91023fff
itsybitsy_m0_express: make ja translation fit
2020-08-12 12:35:29 -05:00
Jeff Epler
6b9f7c9047
hallowing_m0_express: make ja translation fit
2020-08-12 12:29:30 -05:00
Jeff Epler
58afda342d
feather_m0_supersized: make ja translation fit
2020-08-12 11:53:34 -05:00
Jeff Epler
27c2eb1869
feather_m0_express: make ja translation fit
2020-08-12 11:51:56 -05:00
Jeff Epler
8865e4ca97
circuitplayground_express_displayio: make ja translation fit
2020-08-12 11:46:52 -05:00
Jeff Epler
f3748fe20d
circuitbrains_basic_m0: Use optimization flags to let ja translation fit
2020-08-12 11:46:31 -05:00
Jeff Epler
f9d1d9d114
atmel-samd: disable FRAMEBUFFERIO on samd21
...
.. this disables SHARPMEMORY as well.
2020-08-12 11:15:34 -05:00
Scott Shawcroft
bbac68e77c
Merge pull request #3232 from hierophect/esp32-neopixel
...
ESP32-S2: Add Neopixel support
2020-08-11 11:04:39 -07:00
Jeff Epler
807f049dc3
Merge pull request #3244 from xiongyihui/main
...
add an option to turn off QSPI when sleep
2020-08-10 16:06:57 -05:00
Jeff Epler
1cf3762392
Merge remote-tracking branch 'origin/main' into stm32-sdioio
2020-08-10 12:54:12 -05:00
Lucian Copeland
d47bd5529c
Fix neopixel macro issue, set default neopixel color
2020-08-10 13:16:20 -04:00
Yihui Xiong
af1291ec28
dynamically enable or disable QSPI by default
2020-08-07 16:23:42 +08:00
Yihui Xiong
d8257380d7
add qspi_disable()
2020-08-06 09:56:05 +08:00
Lucian Copeland
78d049d0f1
Fix pwm reset spew, protect against null reference in led status
2020-08-05 14:05:53 -04:00
Yihui Xiong
7854625c4e
avoid using the RGB LEDs to save energy
2020-08-05 16:08:13 +08:00
Yihui Xiong
dbe47a6a2a
adjust
2020-08-05 16:07:18 +08:00
Jeff Epler
93b373d617
"pop from empty %q"
...
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Lucian Copeland
14b3b51c58
Rework build flags, prevent idf errors
2020-08-04 18:40:24 -04:00
Jeff Epler
c849b781c0
Combine 'index out of range' messages
2020-08-04 14:45:45 -05:00
Jeff Epler
89797fd3f9
various: Use mp_obj_get_type_qstr more widely
...
This removes runtime allocations of the cstring version of the qstring.
It is not a size improvement
2020-08-04 14:45:45 -05:00
Jeff Epler
dddd25a776
Combine similar strings to reduce size of translations
...
This is a slight trade-off with code size, in places where a "_varg"
mp_raise variant is now used. The net savings on trinket_m0 is
just 32 bytes.
It also means that the translation will include the original English
text, and cannot be translated. These are usually names of Python
types such as int, set, or dict or special values such as "inf" or
"Nan".
2020-08-04 13:34:29 -05:00
Yihui Xiong
6dc0f4f1b6
add an option to turn off QSPI when sleep
2020-08-05 01:10:58 +08:00
Jeff Epler
0e2d231445
Merge remote-tracking branch 'origin/main' into stm32-sdioio
2020-08-03 21:01:53 -05:00
Lucian Copeland
4900668778
Merge remote-tracking branch 'upstream/main' into esp32-neopixel
2020-08-03 12:26:37 -04:00
Dan Halbert
1771858f4a
add RELEASE_NEEDS_CLEAN_BUILD for lang-specific CFLAGS_INLINE_LIMIT changes
2020-08-01 13:20:46 -04:00
Dan Halbert
4b71831d8b
SUPEROPT_VM = 0 for de_DE
2020-08-01 12:36:20 -04:00
Lucian Copeland
94b2561860
Fix include error
2020-08-01 09:22:18 -04:00
Lucian Copeland
1c1df053d5
Add neopixel support
2020-07-31 15:34:12 -04:00
Jeff Epler
27c6ffb9a2
atmel-samd: gemma, trinket: Make space for de_DE translation
2020-07-30 11:29:47 -05:00
Jeff Epler
d69f081c04
Merge remote-tracking branch 'origin/main' into blm_badge
2020-07-30 07:24:48 -05:00
Jeff Epler
531c1e046c
Merge pull request #3226 from joeycastillo/main
...
Small updates to Open Book board
2020-07-30 07:21:50 -05:00
Jeff Epler
f175a49444
stm: sdioio: include header for common_hal_mcu_pin_claim
2020-07-30 07:18:12 -05:00
Jeff Epler
b57e6e9856
stm: sdioio: call common_hal_mcu_pin_claim
2020-07-30 07:18:12 -05:00
Jeff Epler
d73505a027
stm: fix if-guard of conditional code
2020-07-30 07:18:12 -05:00
Jeff Epler
60dd5a8d7d
stm: sdioio: remove unused code related to "SD Card detect pin"
...
.. this probably came from the examples that I studied at the beginning
of implementation.
The card detection feature is unused. As a "detect pin" is not
sent from the shared-bindings, there is no way to get the correct pin
anyway. Instead, if code needs to detect the insertion state it can
directly use the pin as GPIO in Python code.
2020-07-30 07:18:02 -05:00
Jeff Epler
ccd3013396
stm: stioio: correctly claim pins
2020-07-30 07:18:02 -05:00
Jeff Epler
3cf1258c87
stm: sdioio: Get rid of debug code and useless comments
2020-07-30 07:18:02 -05:00