Angus Gratton
7f307423c1
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
...
Works around bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
Also moves all related functionality to newlib component.
2019-01-24 11:30:05 +08:00
Roland Dobai
bfa9610f58
tools: Fix the Python coding style
2018-12-19 11:56:24 +01:00
Angus Gratton
769bd4a4af
linker: When using section type attributes, create unique sections
...
* Prevents section type conflict errors if (say) const & non-const data
is put into the same section (ie with DRAM_ATTR)
* Allows linker --gc-sections to remove unused custom sections
2018-12-19 04:42:04 +00:00
Angus Gratton
9f8587360c
ldgen: Fix crash if --sections argument not supplied
2018-12-05 18:29:28 +11:00
Renz Christian Bagaporo
a7a1c32a8e
cmake, make: fix long cmd line args for ldgen
2018-12-03 12:26:38 +08:00
Angus Gratton
d4a5682e7d
ldgen: Improve error output when linker input is invalid, don't create output file until end of process
2018-11-29 12:41:35 +11:00
Renz Christian Bagaporo
a9c784339d
ldgen: fix error on parsing archive from sections info
2018-11-28 14:14:54 +08:00
Renz Christian Bagaporo
22b4c95d1e
ldgen: add traceback in case of exception
2018-11-28 14:14:54 +08:00
Renz Christian Bagaporo
8eeddd287c
ldgen: catch exception with python3 compatible style
...
Closes https://github.com/espressif/esp-idf/issues/2720
2018-11-22 22:09:43 +08:00
Renz Christian Bagaporo
56ed588d4f
tools: install pyparsing using pip
2018-11-22 09:55:31 +08:00
Renz Christian Bagaporo
507328d4db
ldgen: fix issues when using pyparsing 2.3.0
2018-11-22 09:55:31 +08:00
Renz Bagaporo
63411fc556
tools: implement linker script generation
2018-11-16 12:42:02 +08:00