Angus Gratton
fb87346864
Merge branch 'feature/newlib_locking' into 'master'
...
newlib locking support
Has matching tests here: http://gitlab.espressif.cn/idf/esp-idf-tests/commits/feature/newlib_locking_tests
This is ready, the "bug" I saw was me not understanding how newlib stream locking works (I still don't understand why it works like it does, but that's less important for now.)
See merge request !17
2016-09-01 16:17:22 +08:00
Angus Gratton
a825fe8703
md5_hash.h: Replace outdated use of c_types.h with stdint
2016-09-01 08:58:29 +10:00
rudi ;-)
fa310016dd
Update aes.h
...
found small mistake in it
we have:
PROVIDE ( ets_aes_crypt = 0x4005c9b8 );
PROVIDE ( ets_aes_disable = 0x4005c8f8 );
PROVIDE ( ets_aes_enable = 0x4005c8cc );
PROVIDE ( ets_aes_set_endian = 0x4005c928 );
PROVIDE ( ets_aes_setkey_dec = 0x4005c994 );
PROVIDE ( ets_aes_setkey_enc = 0x4005c97c );
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2016-08-27 22:17:23 +08:00
Angus Gratton
96b9649aa4
newlib locking: Fix bug w/ _lock_close not clearing semaphore handle
2016-08-25 16:43:55 +08:00
Wu Jian Gang
f4b3820ecd
Merge branch 'feature/ld_change' into 'master'
...
update ld and heap region
Divide origin fpga ld to several lds, choose specific ld for normal/BT/Trace by menuconfig, change iram/dram len in ld to full use hardware ram region.
See merge request !28
2016-08-25 15:52:11 +08:00
Wu Jian Gang
62296d9dfd
mem: add comments for knock out 0x3ffe0000~0x3ffe8000
...
TODO: this region should be checked later
2016-08-25 11:59:29 +08:00
Wu Jian Gang
28865fcb0d
mem: knock out bt/trace data region if configed in menuconfig
2016-08-25 11:35:06 +08:00
Wu Jian Gang
ef36779bd3
ld: add ld for bt/trace, choose different ld by menuconfig
2016-08-25 11:34:21 +08:00
Angus Gratton
9e703612a7
Merge branch 'master' into feature/newlib_locking
2016-08-25 11:25:05 +08:00
Wu Jian Gang
3e8bb67e75
ld: fix ld to use ram as much as possible, rearrange heap_alloc area
2016-08-25 11:07:53 +08:00
Wu Jian Gang
c3102e8fb2
ld: seperate/rename eagle.xxx.ld to esp32.xxx.ld
2016-08-25 11:07:53 +08:00
Ivan Grokhotkov
842bc53549
Merge branch 'bugfix/dualcore_startup' into 'master'
...
Fix dualcore startup
This MR includes:
- a workaround for a hardware bug with cache initialization
- fix of `#if CONFIG_WIFI_ENABLED` block in cpu_start.c for the case when WiFi is disabled.
- removal of miscellaneous delays in cpu_start.c
See merge request !22
2016-08-25 11:07:21 +08:00
Angus Gratton
8369d328ed
Merge remote-tracking branch 'origin/bugfix/dualcore_startup' into feature/newlib_locking
2016-08-25 10:29:36 +08:00
Angus Gratton
700dbca4db
newlib locking: Remove lock table, much simpler implementation.
2016-08-24 20:59:02 +08:00
Angus Gratton
4b281af0f7
newlib locking: Turns out the "hack" is the way to make stdout thread-safe in newlib
2016-08-24 18:13:10 +08:00
Ivan Grokhotkov
9e57466c96
components/esp32: fix DRAM_ATTR attribute
...
This change places contents of .dram1 section into .dram0.data.
Also removes .iram1pro/.iram1app/.dram1pro/.dram1app which weren't used anywhere.
2016-08-24 17:20:00 +08:00
Ivan Grokhotkov
be112daa71
components/esp32: fix and clean up dual core startup
...
This change removes various delays in PRO and APP CPU startup paths.
Also some unused code and ets_printf statements are cleaned up or removed.
2nd CPU now communicates that it has started through a global variable.
2016-08-24 16:21:28 +08:00
Angus Gratton
94104f0fe8
Add hack of explicitly locking stdout
...
This shouldn't be necessary as stdout is already locked by libc (see
comment.) Not sure which part isn't working.
2016-08-24 13:49:17 +08:00
Angus Gratton
bd2f9e03f0
Add newlib libc locking using FreeRTOS primitives
2016-08-24 13:49:17 +08:00
Angus Gratton
3b508c8b37
esp32 syscalls.c: Use rom/uart.h for uart_tx_one_char prototype
2016-08-24 13:49:17 +08:00
Jeroen Domburg
d579040e32
Add cr after a lf is printed (configurable)
...
Formatting
2016-08-23 15:20:03 +08:00
Angus Gratton
f853f94335
Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf
...
This will require a matching change in all projects using ESP-IDF.
2016-08-19 15:01:49 +08:00
Angus Gratton
fffba81bd3
Make: Add some "magic" to try and pull git submodules if missing
2016-08-19 15:01:15 +08:00
Ivan Grokhotkov
bd6ea4393c
Initial public version
2016-08-17 23:08:22 +08:00