summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/scripts/neopixel.py
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-06-01 10:56:58 +0200
committerDamien George <damien@micropython.org>2025-06-04 22:35:39 +1000
commit887125fc589de9ada0bc532d9bdc29a3806694c3 (patch)
treed10473977c28b159be114c3a9837b22a5d022aa2 /esp8266/scripts/neopixel.py
parent462ee12d3c9b04d815eb347881b7b2f4951a17c1 (diff)
downloadmicropython-887125fc589de9ada0bc532d9bdc29a3806694c3.tar.gz
micropython-887125fc589de9ada0bc532d9bdc29a3806694c3.zip
examples/natmod/deflate: Fix build for Xtensa.
This commit provides the appropriate external symbol addresses to let the "deflate" example natmod build for the Xtensa platform. Unlike other natmods that require an external symbol list to build without bringing in the whole runtime libraries set, this natmod is referencing the `__modsi3` symbol which was removed from the ESP8266's SDK but not present in ROM. The latter only has a `__umodsi3` implementation that only operates on unsigned values, and thus unable to handle this natmod. Thus, the extended library resolution process is enabled for this natmod as a `__modsi3` implementation is made available that way (still using ROM symbols whenever possible). This also means that symbols that appear in both ROM and external libraries sort of co-exist in the final MPY file, with ROM symbols being used by natmod code but the implementation from the library still exists in the final MPY file, unused. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'esp8266/scripts/neopixel.py')
0 files changed, 0 insertions, 0 deletions