Commit graph

20 commits

Author SHA1 Message Date
Our Air Quality
e9d9201527 Newlib: implement locks
* Dynamically allocate arc4random data. Saves about 1k off the bss.
2017-12-13 11:29:43 +11:00
Our Air Quality
3dbf129fa1 ets_timer: code for using the FreeRTOS timers, and remove from libs. 2017-08-30 13:51:32 +10:00
Our Air Quality
cd23acaa4a LwIP v2 support 2017-08-30 13:51:32 +10:00
Ruslan V. Uss
29b9054cb1 Merge pull request #415 from ourairquality/rm-libgcc-in-rom
Remove code from libgcc that is provided by the ROM.
2017-07-24 16:17:31 +05:00
Our Air Quality
6a0da03809 Use hwrand for the sdk uses of rand, in particular with the NMI.
The fiq NMI calls rand() from lmac:lmac.a:sdk_lmacTxFrame and the NMI
must not touch the newlib reent structure or enter critical regions
etc, so just use the simple and safe hwrand implementation as a
substitute.
2017-07-20 16:24:45 +10:00
Our Air Quality
9e302c59ed Remove code from libgcc and libc that is provided by the ROM.
This saves about 2.5k of iram.
2017-07-16 23:09:33 +10:00
Our Air Quality
df76e77598 open_esplibs libwpa: source code for os_xtensa.c (#283) 2016-11-23 17:56:34 +02:00
Angus Gratton
51c752dbcb Remove redundant symbols_norename.txt
No longer used, and all the symbols in those lists are found in newlib
libc or our own source code now.
2015-10-27 09:14:09 +11:00
Alex Stewart
43a712572c Don't rename FreeRTOS hook symbols 2015-08-28 18:53:43 -07:00
Alex Stewart
a044c061d5 Replace libmain:app_main.o with core/app_main.c 2015-08-28 18:53:43 -07:00
Alex Stewart
8b8f7c9de4 Use fixed symbol rename list
To keep things from changing out from under us as we slowly replace bits of the
SDK libs, changing Makefiles to not auto-generate the list of symbols to
rename, but always use the same list every time.
2015-08-28 18:53:43 -07:00
Angus Gratton
ed7ba52c9a Add exception vectors & low-level handlers
At the moment these are almost bit-for-bit copies of the vector
behaviour in the RTOS SDK, but hopefully that will start to change.

Progress towards #2
2015-07-28 11:01:57 +10:00
Angus Gratton
aaef4b0644 Replace all binary SDK libc functions with newlib
Adds a new build step to remove the SDK object files listed in
<libname>.remove.

Closes #1.
2015-06-16 14:21:24 +10:00
Angus Gratton
a173ffa81d Remove custom entry point, pending merge of esptool.py patch adding --entry-symbol option 2015-06-03 14:29:56 +10:00
Angus Gratton
3fcec6106f Swap binary axTLS libssl for direct compiled version 2015-06-02 17:12:20 +10:00
Angus Gratton
e743d03a78 Preprocess all binary SDK symbols to add an sdk_ prefix
* This fixes the problem of axTLS symbols hmac_md5/hmac_sha1 having same
  name as symbols in libwpa (which have incompatible signatures)

* Also allows for easier identification and piece-by-piece removal of
  binary functions.

* Some libc symbols are not renamed, list is in lib/symbols_norename.txt
2015-06-02 15:08:35 +10:00
Angus Gratton
05019cb0ee Remove cJSON blob (can re-add later from source) 2015-06-02 15:08:35 +10:00
Angus Gratton
dc4ca6861f Remove udhcp (DHCP server support) as it's a GPL violation :( 2015-06-02 15:08:35 +10:00
Angus Gratton
806962d5c7 Replace lwip SDK blob with lwip 1.4.1 upstream source
Compiles but won't work yet
2015-06-02 15:08:26 +10:00
Angus Gratton
1ffbc303ff Working variant of esp_iot_rtos_sdk (files from commit ec75c85f9ef53) 2015-05-07 14:22:25 +10:00