Skip to content

Commit

Permalink
more board shrinking, and fix STATIC from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Sep 14, 2024
1 parent 3abd4e4 commit 49fca3f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
12 changes: 0 additions & 12 deletions ports/atmel-samd/boards/bdmicro_vina_d21/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,4 @@
#include "supervisor/board.h"
#include "mpconfigboard.h"

void board_init(void) {
// struct port_config pin_conf;
// port_get_config_defaults(&pin_conf);
//
// pin_conf.direction = PORT_PIN_DIR_OUTPUT;
// port_pin_set_config(MICROPY_HW_LED_TX, &pin_conf);
// port_pin_set_output_level(MICROPY_HW_LED_TX, true);
//
// port_pin_set_config(MICROPY_HW_LED_RX, &pin_conf);
// port_pin_set_output_level(MICROPY_HW_LED_RX, true);
}

// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
2 changes: 2 additions & 0 deletions ports/atmel-samd/boards/bdmicro_vina_d21/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ CHIP_FAMILY = samd21
SPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICES = "MX25L51245G","GD25S512MD"
LONGINT_IMPL = MPZ

CIRCUITPY_RAINBOWIO = 0
3 changes: 2 additions & 1 deletion ports/atmel-samd/boards/kicksat-sprite/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = MPZ

# Turn off to make fit.
CIRCUTPY_PIXELBUF = 0
CIRCUITPY_AESIO = 0
CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOCORE = 0
Expand All @@ -25,13 +24,15 @@ CIRCUITPY_PIXELMAP = 0
CIRCUITPY_GETPASS = 0
CIRCUITPY_KEYPAD = 0
CIRCUITPY_MSGPACK = 0
CIRCUTPY_PIXELBUF = 0
CIRCUITPY_PS2IO = 0
CIRCUITPY_RGBMATRIX = 0
CIRCUITPY_RAINBOWIO = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_USB_HID = 0
CIRCUITPY_USB_MIDI = 0
CIRCUITPY_WARNINGS = 0

CIRCUITPY_ULAB = 0

Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/seeed_xiao_esp32_s3_sense/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static const mp_rom_obj_tuple_t camera_data_tuple = {
}
};

STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
static const mp_rom_map_elem_t board_module_globals_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_GPIO1) },
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_GPIO2) },
Expand Down
1 change: 1 addition & 0 deletions ports/nordic/boards/bluemicro833/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOPWMIO = 0
CIRCUITPY_AUDIOMIXER = 0
CIRCUITPY_KEYPAD = 1
CIRCUITPY_KEYPAD_DEMUX = 0
CIRCUITPY_NVM = 0
CIRCUITPY_ONEWIREIO = 0
CIRCUITPY_PIXELBUF = 1
Expand Down

0 comments on commit 49fca3f

Please sign in to comment.