micropython/ports
Angus Gratton b20687d0e7 esp32: Fix link failure due to link library order.
When a wrapped symbol is provided in its own file, it's possible for the
linker to skip that file entirely and not return to it depending on the
order of libraries passed on the linker command line.

This is because these wrapped symbols create linker cycles (libmain_espXX
depends on liblwip but liblwip now also depends on libmain for the wrapped
functions in lwip_patch.c, for example.)

Linker failure for symbols in lwip_patch.c was reproducible if mDNS was
disabled in the board configuration.

This commit adds an explicit undefined symbol for each file, to ensure
the linker will add the wrapped objects on its first pass.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-12-10 11:11:31 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 docs,ports: Fix some comments and error messages with doubled-up words. 2024-11-30 13:08:33 +11:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 esp32: Fix link failure due to link library order. 2024-12-10 11:11:31 +11:00
esp8266 esp8266/mpconfigport: Enable function attributes. 2024-12-06 13:48:07 +11:00
mimxrt mimxrt/mpconfigport: Update FATFS config to align with other ports. 2024-12-10 11:05:05 +11:00
minimal minimal: Use printf instead of echo -e. 2024-02-15 16:36:22 +11:00
nrf nrf/boards/ARDUINO_NANO_33_BLE_SENSE: Update LED and timer config. 2024-12-10 10:37:02 +11:00
pic16bit pic16bit: Make it build with recent XC16 versions. 2024-10-30 17:21:30 +11:00
powerpc py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
qemu qemu/Makefile: Include unittest in firmware. 2024-12-06 13:48:07 +11:00
renesas-ra renesas-ra/mpconfigport: Switch FATFS LFN to type 2. 2024-12-10 11:04:59 +11:00
rp2 rp2/mpconfigport: Switch FATFS LFN to type 2. 2024-12-10 11:04:49 +11:00
samd samd/mboot/README.md: Add information about the bootloader source. 2024-11-18 18:31:16 +01:00
stm32 stm32/mpconfigport: Switch FATFS LFN to type 2. 2024-12-10 11:02:52 +11:00
unix unix/main: Add --version command-line option. 2024-10-15 14:44:10 +11:00
webassembly tests/run-tests.py: Change --target/--device options to --test-instance. 2024-11-04 12:47:47 +11:00
windows github/workflows: Improve MSYS2-based CI builds. 2024-07-25 16:22:21 +10:00
zephyr zephyr/boards: Add support for BeagleConnect Freedom. 2024-10-15 11:44:42 +11:00