micropython/ports
Alessandro Gatti 11861e96a9 nrf/modules/machine/pin: Reduce footprint of pin structures.
This commit performs a few minor changes to the structures used to store
board pin information, in order to reduce the impact on the .rodata
section of the firmware of instances of those structures.

The "pin_obj_t" structure, holding pin information, had an unused
word-sized field ("pull") that isn't used by any of the board
definitions, yet it takes up space in each pin structure being compiled
in the final firmware image.

Images for all available boards were built successfully with this
change, so there should be no unwanted issues arising from shrinking
that structure.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2026-01-04 11:48:11 +11:00
..
alif alif/tinyusb_port: Add missing license header. 2025-11-19 16:59:58 +11:00
bare-arm all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
cc3200 cc3200/mods/pybpin: Reduce footprint of AF pin structures. 2026-01-04 11:48:11 +11:00
embed all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
esp32 esp32/mpconfigport: Enable Zcmp opcodes for ESP32P4. 2025-12-19 17:06:53 +11:00
esp8266 esp8266/modesp: Allocate executable memory when needed. 2025-12-26 11:49:48 +01:00
mimxrt mimxrt/pin: Reduce footprint of pin structures. 2026-01-04 11:48:11 +11:00
minimal all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
nrf nrf/modules/machine/pin: Reduce footprint of pin structures. 2026-01-04 11:48:11 +11:00
pic16bit all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
powerpc all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
qemu qemu: Enable loading natmods on RV64. 2026-01-01 16:35:02 +01:00
renesas-ra renesas-ra/pin: Reduce footprint of pin structures. 2026-01-04 11:48:11 +11:00
rp2 rp2/machine_pin: Reduce footprint of pin structures. 2026-01-04 11:48:11 +11:00
samd samd/pin_af: Reduce footprint of pin structures. 2026-01-04 11:48:11 +11:00
stm32 stm32/boards/NUCLEO_G474RE: Restore disabled modules on g474re. 2025-12-08 09:15:25 +11:00
unix unix/mpconfigport: Enable natmod loading for RISC-V builds. 2026-01-01 16:35:23 +01:00
webassembly all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
windows unix: Enable exit code handling for sys.exit(). 2025-11-22 00:06:59 +11:00
zephyr zephyr: Add support for GC split-heap. 2025-11-26 23:40:39 +11:00