Jeroen Domburg
90b787636a
Remove redundant volatile keyword
2016-10-31 11:00:27 +08:00
Jeroen Domburg
68f39c1ed9
Only init crosscore when FreeRTOS runs in multicore mode, add warnings that cross_int calls are private.
2016-10-27 16:50:28 +08:00
Jeroen Domburg
b14faabfda
Merge latest master in
2016-10-27 16:18:55 +08:00
Jeroen Domburg
3371083c16
Add checks for tasks woken up on other CPUs where needed, make xYieldPending and xPendingReadyList per-processor, add configurable ISR stack size to Kconfig, in general fix the entire wake-up-task-on-other-cpu-by-interrupt implementation
2016-10-27 16:07:47 +08:00
Ivan Grokhotkov
50bd28353d
Merge branch 'master' into feature/freertos_static_buffers
2016-10-27 12:38:35 +08:00
Ivan Grokhotkov
329ad14b8c
esp32: update libs for changes in FreeRTOS header files
2016-10-27 12:37:34 +08:00
Jeroen Domburg
c6477ff10d
Fix int clear, actually call int init code
2016-10-27 12:37:19 +08:00
Liu Zhi Fu
e0f49c2221
esp32: add esp_wifi_sta_get_ap_info
...
The customers need to get information about AP that associated with ESP32 station,
these information includes RSSI, channel number etc, so add this new API
2016-10-27 10:42:01 +08:00
liuzhifu
df1c2f0da5
components/esp32: refractor according to review comments
...
modify esp_wifi_kick_sta to esp_wifi_deauth_sta
2016-10-26 21:50:15 +08:00
Jeroen Domburg
d3d9a8bc28
Most code written. Interrupts still do not fire yet.
2016-10-26 21:09:55 +08:00
liuzhifu
750d6faf51
esp32/tcpip_adapter: rework according to review comments
...
1. Modify sta to station in comments
2. Modify esp_wifi_get_ap_num to esp_wifi_scan_get_ap_num
3. Modify esp_wifi_get_ap_list to esp_wifi_scan_get_ap_records
2016-10-26 20:02:39 +08:00
liuzhifu
345cf333a8
components/esp32: udpate wifi lib
...
1. cc5a5e29 - refractor for some wifi APIs
2. 8d787147 - move soft wdt to idf
2016-10-26 18:18:58 +08:00
liuzhifu
3cca62dfa4
esp32/tcpip_adapter: refractor for some wifi APIs
...
1. Modify esp_wifi_get_station_list to esp_wifi_ap_get_sta_list
2. Modify tcpip_adapter_get_station_list to tcpip_adapter_get_sta_list
3. Remove esp_wifi_free_station_list
4. Remove tcpip_adapter_free_station_list
5. Modify related data struct accordingly
2016-10-26 18:16:40 +08:00
liuzhifu
a90217e201
components esp32/lwip: modify code according to review comments
...
1. Modify comments for esp_wifi_internal_tx
2. Fix delay time error in esp32_tx_flow_ctrl which is found in code review,
modify _wait_delay init value from 0 to 1
2016-10-26 14:09:54 +08:00
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
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
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
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
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
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
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
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
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
Wu Jian Gang
ed0a85ab4d
Kconfig: use 4 spaces to instead 1 tab
...
In some Kconfig file, both 4 spaces and 1 tab are used mix, let's just
use 4 space, it will be clean in some editor.
2016-09-28 13:24:58 +08:00