liuzhifu
48301909eb
components/esp32: update wifi lib
...
6ce01d76: rename some wifi internal APIs
aa4d2aa9: last rx buffer is reserved for mgmt frame
bb0ff4a8: tw7775 fix assert when rx auth frame before create bss
2016-10-26 13:53:00 +08:00
liuzhifu
612aaa69e4
lwip/esp32: move the extern wifi calls into esp_wifi_internal.h
...
1. Add esp_wifi_internal.h
2. Rename system_pp_recycle_rx_pkt to esp_wifi_internal_free_rx_buffer
3. rename esp_wifi_tx_is_stop to esp_wifi_internal_tx_is_stop
4. rename ieee80211_output to esp_wifi_internal_tx
2016-10-26 13:23:35 +08:00
Jeroen Domburg
7d254eb3f0
Move panic handler and gdbstub into esp32 component, clean up wdt according to merge req suggestions
2016-10-26 12:23:01 +08:00
Jeroen Domburg
1ca97f5adb
Move panic handler code from FreeRTOS to esp32 component
2016-10-26 11:06:53 +08:00
Jeroen Domburg
6f96b23989
Merge in master updates
2016-10-26 11:04:42 +08:00
Jeroen Domburg
06bff71481
Add licenses, docbook, general cleanup
2016-10-25 18:18:11 +08:00
Jeroen Domburg
89f7752cdd
Make CPU1 int wdt / idle task wdt configurable, panic now properly disables other cpu, tick handler now also is called on cpu1, task wdt prints currently running tasks.
2016-10-25 18:08:55 +08:00
Jeroen Domburg
75a11589a1
Disable brown-out WDT, fix thread WDT, add panic reason indication to _xt_panic()
2016-10-25 17:05:13 +08:00
Angus Gratton
f988dc9587
Merge branch 'bugfix/esptool_write_protect' into 'master'
...
Fix flash write protect bug
As reported in github #50 and on forum.
Incorporates other esptool.py changes:
197ba605...5c6962e8
See merge request !144
2016-10-24 09:58:46 +08:00
Wangjialin
288f4f63f0
Add UART driver
...
1. add uart.h and uart.c
2. add ESP_ERR_TIMEOUT in esp_err.h
3. add UART AHB FIFO address in uart_reg.h
4. modify xRingbufferSendFromISR return value in ringbuffer.c
5. add #include "soc/gpio_sig_map.h" in gpio.h
2016-10-24 09:17:10 +08:00
Jeroen Domburg
ae5c563080
Brownout works (in as far brownout can work...), int wdt works.
2016-10-21 19:30:29 +08:00
Jeroen Domburg
beff3aab81
Merge branch 'feature/trax' into 'master'
...
Feature/trax
Add Trax support to esp-idf. OpenOCD already has trax support, this allows an esp-idf program to also trigger this when needed. Also included: some more logic to correctly reserve memory blocks for Trax.
See merge request !73
2016-10-21 18:16:12 +08:00
Jeroen Domburg
53146799a0
Initial addition of wdt and brownout code
2016-10-21 17:59:57 +08:00
Angus Gratton
1413ec3ff0
Remove SPIUnlock from linker script symbols
...
Add a comment about why it was removed and where it went.
2016-10-21 17:50:37 +11:00
Angus Gratton
8e8caca2e2
Replace ROM SPIUnlock function with a version that can't lock flash
...
Avoid bug where a bad status read is copied back to flash and can set
lock bits.
2016-10-21 16:12:51 +11:00
Ivan Grokhotkov
42827ff869
bootloader, menuconfig: add flash size setting support
2016-10-21 15:27:25 +11:00
Angus Gratton
feca308f1f
rom/spi_flash.h: Remove first parameter of SPI_read_status_high()
...
Corrects the prototype to match the one compiled into ROM.
2016-10-21 10:44:05 +11:00
Angus Gratton
da70611196
Deep sleep: Any source named rtc_wake_stub* is linked as RTC wake stub code
...
Also move esp_deepsleep.h documentation out to docs/deep-sleep-stub.rst
2016-10-19 15:58:37 +11:00
Angus Gratton
90cad92b9b
Merge branch 'master' into bugfix/build_dir_base
2016-10-18 15:30:57 +11:00
Ivan Grokhotkov
8f82a83c2c
Merge branch 'master' into feature/freertos_static_buffers
2016-10-17 16:02:09 +08:00
Tian Hao
28fa3c1a70
component/bt : new coexist lib
...
change boot loader.ld , the 0x40098000 may set other instructions
2016-10-17 15:47:45 +08:00
Ivan Grokhotkov
eaace9846a
smartconfig: update to match new FreeRTOS header files
2016-10-17 14:12:16 +08:00
Jeroen Domburg
0aab006bb7
Add Trax-support to esp-idf
2016-10-17 12:18:17 +08:00
Tian Hao
3ed2d89538
Merge branch 'master' into feature/btdm_blufi
...
# Conflicts:
# components/bt/component.mk
2016-10-16 18:59:04 +08:00
Tian Hao
3ecce07dbc
component/bt: cleanup phy/rtc/pp libs
2016-10-16 16:50:02 +08:00
Ivan Grokhotkov
4370794d07
wifi libraries: update to match new FreeRTOS header files
2016-10-14 21:52:43 +08:00
Jeroen Domburg
fa476c8ba9
Merge branch 'bugfix/small_fixes_jd' into 'master'
...
Some small fixes
- Kill unused uxReturn in task.c, https://github.com/espressif/esp-idf/issues/48
- Line end conversion in gpio.c
- Move heap_alloc_caps.h so components can also use it
See merge request !135
2016-10-12 21:13:34 +08:00
Angus Gratton
9632c8e56c
RSA Accelerator: Add mod_exp, refactor to avoid memory allocation & copying
...
Not fully working at the moment, mod_exp has a bug.
2016-10-12 16:19:09 +11:00
Angus Gratton
79bd6af7e7
build system: Print a WARNING if any submodule is out of date
...
Inspired by Github #27 and related "gotchas" with keeping submodules up to date.
2016-10-11 07:56:08 +11:00
Angus Gratton
ab67378ef3
Merge branch 'feature/support_iperf' into 'master'
...
lwip/esp32: support iperf
1. Add _exit() definition in syscalls.c
2. Fix a bug in sockets.c on which iperf depends
I'm now investigating performance of esp32, need iperf to be merged in to master branch for convience
See merge request !136
2016-10-11 04:52:34 +08:00
Jeroen Domburg
812d4ab4ea
Merge branch 'feature/rmt_add_struct_for_memory' into 'master'
...
Add data memory for RMT peripheral
As described in the title.
See merge request !134
2016-10-10 22:44:36 +08:00
liuzhifu
d71894bf99
lwip/esp32: support iperf
...
1. Add _exit() definition in syscalls.c
2. Fix a bug in sockets.c on which iperf depends
2016-10-09 15:45:25 +08:00
Jeroen Domburg
df31bb8dfc
Rename include, use spaces instead of tabs
2016-10-09 15:32:08 +08:00
Jeroen Domburg
a03e75d34c
Move heap_alloc_caps.h to a location where it can be included by components
2016-10-08 14:11:34 +08:00
Jeroen Domburg
5cd3bd5c4b
Add data memory for RMT peripheral
2016-10-08 13:15:06 +08:00
Tian Hao
eb8cb8d22e
component/bt : add bluf that use bluetooth config wifi connection demos
...
1. add libphy.a librtc.a, but store in bt submodule, if someone use them, please copy to esp32/lib/ instead the origin one
2. add 07_blufi demo
3. change esp32/Kconfig to allow bt/wifi coexist
2016-10-07 11:16:13 +08:00
Angus Gratton
aae3e84829
syscall write: Should return number of bytes written
...
Fixes bug where sometimes output truncates after a newline, or large
chunks of large output buffers are lost.
2016-10-06 18:35:08 +11:00
Angus Gratton
f720e82d40
build system: Allow BUILD_DIR_BASE to be a relative directory (see github #38 )
2016-10-06 18:05:51 +11:00
Angus Gratton
66882347e8
build system: Fix out-of-tree building via BUILD_DIR_BASE
...
Closes #38
2016-10-04 15:04:56 +11:00
Wu Jian Gang
d2c938d881
esp32: add libsmartconfig.a to link libs
2016-09-30 15:40:08 +08:00
Wu Jian Gang
6827f27b99
esp32: not link wps
2016-09-30 14:04:03 +08:00
Wu Jian Gang
e3f46f424c
esp32/lib: update wifi lib to a1e5f8b9
...
1. update smartconfig 2.6.2;
2. add watch dog
3. remove libwpa2.a/libwps.a
2016-09-30 13:50:11 +08:00
Wu Jian Gang
f17f57b48d
esp32: remove esp_wps.h
...
not support now
2016-09-30 13:48:37 +08:00
Wangjialin
9d0daa3722
add smartconfig header files(merge this after updating libsmartconfig.a version v2.6.2)
...
1. change the original API names.
2. return esp_err_t
3. merge this after updating libsmartconfig.a version v2.6.2
2016-09-30 02:31:14 +08:00
Wu Jian Gang
aeef4cf58d
esp32/lib: update wifi lib to 3853d7ae
...
1. add debug api for debugging rx buffer leak issue
2. fix rx buffer leak issue
2016-09-29 18:19:38 +08:00
Wu Jian Gang
702e749667
Merge branch 'feature/deep_sleep_wake_stub' into 'master'
...
esp32: Bootloader wake deep sleep stub
App can contain a stub program resident in RTC fast memory. Bootloader
will load the stub on initial boot. If the device wakes from deep sleep,
the stub is run immediately (before any other data is loaded, etc.)
To implement a custom wake stub, implement a function in your program:
```
void RTC_IRAM_ATTR esp_wake_deep_sleep(void)
{
esp_default_wake_deep_sleep();
// other wake logic
}
```
... and it will replace the default implementation.
See merge request !78
2016-09-29 18:07:16 +08:00
jack
4e092be6d6
Add Comments
...
We reserve 4KB Slow RTC memory to save RF calibation result and BT NVS data.
If not all these Slow RTC momory Blocks are used, we will open the other parts.
2016-09-29 16:29:13 +08:00
Jeroen Domburg
44f559a281
Merge branch 'driver_merge_tmp/merge_ledc' into 'master'
...
add ledc driver code
See merge request !110
2016-09-29 11:57:52 +08:00
liuzhifu
8800d073e8
components/lib: update wifi lib
...
fe8baaca - tw6513 fix a memory leak issue
2016-09-28 21:35:49 +08:00
Wangjialin
9cfb3227a3
Merge branch 'master' into driver_merge_tmp/merge_ledc
...
Merge master branch to pass building.
2016-09-28 13:27:58 +08:00