Skip to content

Commit 5caa701

Browse files
committed
shrink some builds
1 parent ebdf339 commit 5caa701

File tree

7 files changed

+30
-1
lines changed

7 files changed

+30
-1
lines changed

ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ CHIP_FAMILY = samd21
99
SPI_FLASH_FILESYSTEM = 1
1010
EXTERNAL_FLASH_DEVICES = "S25FL216K, GD25Q16C, W25Q16JVxQ"
1111
LONGINT_IMPL = MPZ
12+
13+
CIRCUITPY_RAINBOWIO = 0

ports/atmel-samd/boards/feather_m0_supersized/mpconfigboard.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,24 @@
3030
#define DEFAULT_UART_BUS_RX (&pin_PA11)
3131
#define DEFAULT_UART_BUS_TX (&pin_PA10)
3232

33+
// Other some pins that do not appear in the pinout & are not used internally
34+
// this list is not (yet) exhaustive
35+
#define IGNORE_PIN_PA03 1
36+
#define IGNORE_PIN_PB01 1
37+
#define IGNORE_PIN_PB03 1
38+
#define IGNORE_PIN_PB04 1
39+
#define IGNORE_PIN_PB05 1
40+
#define IGNORE_PIN_PB06 1
41+
#define IGNORE_PIN_PB07 1
42+
#define IGNORE_PIN_PB12 1
43+
3344
// USB is always used internally so skip the pin objects for it.
3445
#define IGNORE_PIN_PA24 1
3546
#define IGNORE_PIN_PA25 1
47+
48+
// USBHOSTEN on the schematic but not connected.
49+
#define IGNORE_PIN_PA28 1
50+
51+
// SWD pins
52+
#define IGNORE_PIN_PA30 1
53+
#define IGNORE_PIN_PA31 1

ports/atmel-samd/boards/hallowing_m4_express/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ CHIP_FAMILY = samd51
99
QSPI_FLASH_FILESYSTEM = 1
1010
EXTERNAL_FLASH_DEVICES = "GD25Q64C,W25Q64JVxQ"
1111
LONGINT_IMPL = MPZ
12+
13+
CIRCUITPY_AESIO = 0
1214
CIRCUITPY_JPEGIO = 0
1315
CIRCUITPY_SYNTHIO = 0

ports/atmel-samd/boards/kicksat-sprite/mpconfigboard.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ CHIP_FAMILY = samd51
99
INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = MPZ
1111

12-
# Not needed.
12+
# Turn off to make fit.
13+
CIRCUTPY_PIXELBUF = 0
1314
CIRCUITPY_AESIO = 0
1415
CIRCUITPY_AUDIOBUSIO = 0
1516
CIRCUITPY_AUDIOCORE = 0

ports/atmel-samd/boards/sparkfun_redboard_turbo/mpconfigboard.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
#define DEFAULT_UART_BUS_RX (&pin_PA11)
3939
#define DEFAULT_UART_BUS_TX (&pin_PA10)
4040

41+
// These pins are connected to the external crystal.
42+
#define IGNORE_PIN_PA00 1
43+
#define IGNORE_PIN_PA01 1
44+
4145
// USB is always used internally so skip the pin objects for it.
4246
#define IGNORE_PIN_PA24 1
4347
#define IGNORE_PIN_PA25 1

ports/atmel-samd/boards/winterbloom_sol/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ EXTERNAL_FLASH_DEVICES = "GD25Q64C, W25Q32JVxQ"
1515
LONGINT_IMPL = MPZ
1616

1717
# Disable modules that are unusable on this special-purpose board.
18+
CIRCUITPY_AESIO = 0
1819
CIRCUITPY_AUDIOBUSIO = 0
1920
CIRCUITPY_AUDIOIO = 0
2021
CIRCUITPY_BITMAPFILTER = 0

ports/nordic/boards/bluemicro833/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ MCU_CHIP = nrf52833
77

88
INTERNAL_FLASH_FILESYSTEM = 1
99

10+
CIRCUITPY_AESIO = 0
1011
CIRCUITPY_AUDIOBUSIO = 0
1112
CIRCUITPY_AUDIOPWMIO = 0
1213
CIRCUITPY_AUDIOMIXER = 0

0 commit comments

Comments
 (0)