micropython/examples
Angus Gratton 457f2ccf80 examples/embedding: Add -fno-common to the sample compiler flags.
This makes no difference when files are linked directly into a target
application, but on macOS additional steps are needed to index common
symbols in static libraries. See https://stackoverflow.com/a/26581710

By not creating any common symbols, this problem is bypassed.

This will also trigger linker errors if there are cases where the same
symbol is defined in the host application.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-01-31 14:29:07 +11:00
..
SDdatalogger top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
bluetooth examples/bluetooth: Link to aioble in BLE examples. 2023-09-01 14:05:32 +10:00
embedding examples/embedding: Add -fno-common to the sample compiler flags. 2024-01-31 14:29:07 +11:00
hwapi all: Fix various spelling mistakes found by codespell 2.2.6. 2023-10-03 11:24:50 +11:00
natmod extmod/modframebuf: Remove FrameBuffer1 from natmod build. 2023-10-16 12:18:43 +11:00
network all: Replace all uses of umodule in Python code. 2023-06-08 17:54:24 +10:00
rp2 examples: Mark asm, pio, etc. as noqa: F821 (undefined-name). 2023-08-16 16:12:33 +10:00
unix examples/unix/machine_bios.py: Fix typo. 2023-09-29 17:02:15 +10:00
usercmodule py/obj: Fix mp_obj_is_type compilation with C++. 2023-11-17 14:31:42 +11:00
accel_i2c.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
accellog.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmled.py examples: Mark asm, pio, etc. as noqa: F821 (undefined-name). 2023-08-16 16:12:33 +10:00
asmsum.py examples: Mark asm, pio, etc. as noqa: F821 (undefined-name). 2023-08-16 16:12:33 +10:00
conwaylife.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
ledangle.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mandel.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
micropython.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pyb.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
switch.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00