Description
My apologies for all the recent issue, but I am building a new docker container for building ALL micropython ports with an easy to use interface, and so I need to change some default paths and use different O/S than may have been used when for example the esp8266 open sdk was last updated.
Anyway, I have made good progress and most is working, however I have just changed the BUILD PATH from the standard:
$BUILD-build
relative path
To an absolute path in my working folders i.e. \usr\share\pydev\work\boards\$PORT\$BOARD\build
.
This new env var $BUILD_PATH then gets set in the make command:
make .....other-args BUILD=$BUILD_PATH
And on building the esp8266 it results in this:
xtensa-lx106-elf-ld: address 0x400081e8 of /build/firmware.elf section `.bss' is not within region `dram0_0_seg'
xtensa-lx106-elf-ld: address 0x400081e8 of /build/firmware.elf section `.bss' is not within region `dram0_0_seg'
As soon as I restore my custom build path override to the default, everything works again.
Any idea on the cause and a fix ?
=== Build Paths ===
XTENSA_PATH=/usr/share/upydev/esp8266/esp-open-sdk/xtensa-lx106-elf/bin
WORK_PATH=/usr/share/upydev/work
BOARD_FIRMWARE_PATH=/usr/share/upydev/work/boards/esp8266/GENERIC/firmware
PORTS_PATH=/usr/share/upydev/work/micropython/ports
PORT_PATH=/usr/share/upydev/work/micropython/ports/esp8266
BOARD_PATH=/usr/share/upydev/work/micropython/ports/esp8266/boards/GENERIC
BOARD_CONFIG_PATH=/usr/share/upydev/work/boards/esp8266/GENERIC
BUILD_PATH=build-GENERIC
CONFIG_PATH=/usr/share/upydev/work/boards
CROSS_PATH=/usr/share/upydev/work/micropython/mpy-cross
SCRIPTS_PATH=/usr/share/upydev/scripts
INSTALL_PATH=/usr/share/upydev/install
ESPYTOOL_PATH=/usr/share/upydev/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py
SCRIPT_PATH=/usr/share/upydev/scripts
DEV_PATH=/usr/share/upydev
UPY_PATH=/usr/share/upydev/work/micropython
===================