-
Notifications
You must be signed in to change notification settings - Fork 27
Trouble Shooting
With newer versions of the ARM toolchain, PROLEAD_SW might throw linker errors when trying to compile your software. If so we recommend to add the --specs=nosys.specs
compiler flag in the respective config.set under the compiler_flags
setting.
In order for PROLEAD_SW to detect and distinguish different memory sections in your program, it requires certain symbols to be present within the Linker file and the map file. In particular, the .data
section needs to start with the _data = .;
symbol and needs to end with the _edata = .;
symbol. Additionally, to mark the end of all sections we need to add the _end = .;
symbol at the end of our linker script. An specific example can be found here.
If during compilation of PROLEAD you get the error message Python.h not found
please run sudo apt-get install python-dev
if you have python 2.x installed or sudo apt-get install python3-dev
if you have python 3.x installed and reboot your system. For other package managers we refer to here.