pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

empty_signature not used... now causing compile error #363

Open niclash opened 4 years ago

niclash commented 4 years ago

https://github.com/pycom/pycom-micropython-sigfox/blob/df9f237c3fc0985f80181c62ba4f4ebd636bfae5/esp32/bootloader/bootloader.c#L71

This array has not been used for a long time, but (don't know why) my compiler setup is now treating this as a compile error. Please add an disabling comment.

CIRCk8 commented 1 year ago

Hi,

Checking Makefile from /esp32 folder

CFLAGS_XTENSA = -DESP_PLATFORM -Wpointer-arith -Wall -Werror=all -Wno-error=unused-function \ -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wl,-EL \ -mlongcalls -Wall -ffunction-sections -fdata-sections -fno-common \ -Wno-sign-compare -Wno-old-style-declaration -fstrict-volatile-bitfields \ -Wno-error=deprecated-declarations -Wno-unused-parameter -DWITH_POSIX \

For solving it, I comment empty_signature array. However, modifiying compiling errors in Makefile, it would be another solution.

Thanks!