Jeroen Domburg
d116adf260
Add documentation
2016-11-17 12:09:08 +08:00
Jeroen Domburg
a023b005c6
taskwdt fixes: better handling of empty/emptying wdt task list, lock task struct while feeding
2016-11-16 17:53:50 +08:00
Liu Zhi Fu
7dbf01b210
esp32: softap supports bridge
...
Softap supports bridge, then the stations associated with esp32 softap can send/receive traffic from each other
2016-11-16 13:20:49 +08:00
Jeroen Domburg
0e69a2c446
Merge remote-tracking branch 'origin/master' into feature/better_idle_tick_hook_mechanism
2016-11-15 12:36:15 +08:00
Jeroen Domburg
9a2887c458
Add comments/headers according to merge request comments
2016-11-15 12:10:02 +08:00
Jeroen Domburg
aa81f047f8
Merge remote-tracking branch 'origin/master' into bugfix/workaround_gpio_pullupdown_bug
2016-11-15 11:57:01 +08:00
Xia Xiao Tian
adb4be859c
wps: update wifi lib -- add wps lib
2016-11-15 11:19:15 +08:00
Jeroen Domburg
64a2f0ee0b
Amend gpio driver to work around SoC bug with some pullups/pulldowns in the GPIO peripheral; mark existing function that does not always work as deprecated
2016-11-15 10:29:52 +08:00
Xia Xiao Tian
c625f0e906
Merge branch 'master' into feature/wps
2016-11-14 15:24:12 +08:00
Xia Xiao Tian
9a7db9ca85
add comments for system_event_sta_wps_er_pin_t
2016-11-14 14:34:09 +08:00
Angus Gratton
c15024e629
Merge branch 'master' into feature/build_component_project_vars
2016-11-14 14:54:41 +11:00
Angus Gratton
ea4005e673
Merge branch 'feature/esptool_secure_boot' into 'master'
...
Secure boot support
Also includes a lot of esptool.py changes (two new command line tools, espefuse.py and espsecure.py)
https://github.com/themadinventor/esptool/compare/feature/esp32_v20_refactor...feature/esp32_secure_boot?expand=1
See merge request !163
2016-11-14 11:32:04 +08:00
Jeroen Domburg
045a53a7e5
Fix wdt idle hook
2016-11-14 10:20:49 +08:00
Angus Gratton
7402a1b973
partition_table: Move from 0x4000 to 0x8000
...
Also fix a bug with correctly padding bootloader image when length is
already a multiple of 16.
2016-11-14 11:08:42 +11:00
Jeroen Domburg
57009aaa7f
Add a more scalable mechanism for the FreeRTOS tick- and idle hooks; idle handler now uses WAITI to reduce power
2016-11-11 19:20:54 +08:00
Jeroen Domburg
f5cebd2666
Merge branch 'feature/per_cpu_interrupt_handlers' into 'master'
...
Per-CPU interrupt handlers and args
Up to now, the interrupt handlers and args were shared between CPUs, that is, if you set an interrupt handler on CPU0, CPU1 would invoke the same interrupt handler on that interrupt. This code gives every CPU its own space for interrupt handlers.
See merge request !192
2016-11-11 14:50:29 +08:00
Xia Xiao Tian
7b77daaea4
wps: add blocking param for API esp_wifi_wps_start()
2016-11-11 10:51:33 +08:00
Liu Zhi Fu
2f6d71ff8c
esp32: merge amsdu
...
esp32 now can support AMSDU
2016-11-10 21:12:22 +08:00
Jeroen Domburg
86d8f63005
Per-CPU interrupt handlers and args
2016-11-10 17:59:46 +08:00
Wangjialin
4f4c9030fd
Fix uart tx bug, data pass(with flow control) through test ok.
2016-11-10 17:01:39 +08:00
Angus Gratton
208e83def7
build system: Refactor component.mk to not need component_common.mk
...
New makefile component_wrapper.mk allows some variables to be set
before component.mk is evaluated. This properly fixes problems with
sdkconfig being hard to access in all phases of the build.
Including component_common.mk is no longer necessary and will print a
deprecation warning for components which use it.
2016-11-10 15:52:22 +11:00
Wangjialin
6fb2515a5d
Merge branch 'master' into driver_merge_tmp/merge_uart
...
# Conflicts:
# components/esp32/include/esp_err.h
2016-11-10 11:57:19 +08:00
Xia Xiao Tian
c441d3630c
change pin code value type and wps API comments.
2016-11-09 18:15:10 +08:00
Xia Xiao Tian
3b96f68afd
1. Add wps event processing.
...
2. Change wps API return type and value.
2016-11-09 17:27:12 +08:00
Angus Gratton
830e5caf4d
build system: Replace get_variable target w/ component_project_vars.mk generated makefiles
...
Reduces number of make invocations, allows variables exported in project
to be seen in all component make processes, not just the main ones.
Also makes a no-op build about 3x faster than it was.
2016-11-09 16:51:52 +11:00
Ivan Grokhotkov
1e4f185d29
wifi: use MACSTR and MAC2STR in logging statements
...
Fixes https://github.com/espressif/esp-idf/issues/49
2016-11-08 20:17:08 +08:00
Ivan Grokhotkov
6dd3681115
fix order of creation of standard streams
...
With existing order, file descriptors assigned to stdin, stdout, stderr didn't match standard assignment.
https://github.com/espressif/esp-idf/issues/67
2016-11-08 20:17:08 +08:00
Xia Xiao Tian
bdd7fb7a13
Add wps API
2016-11-08 20:12:06 +08:00
Wu Jian Gang
cdebf24954
Merge branch 'feature/tw8193_add_wifi_api_detail_return_code' into 'master'
...
esp32/make: add detailed return error code for wifi APIs
1. Add detailed return error code for wifi APIs
2. Add description about error code in esp_wifi.h
3. Modify esp_wifi_reg_rxcb to esp_wifi_internal_reg_rxcb
4. Modify esp_wifi_set_sta_ip to esp_wifi_internal_set_sta_ip
5. Mark system_init as deprecated API
See merge request !187
2016-11-08 19:48:11 +08:00
Liu Zhi Fu
8dee0a3f6d
esp32: modify the code according to review comments
...
1. Adjust error code definition
2. Refractor the comments for esp_wifi_internal_tx
2016-11-08 19:25:03 +08:00
Ivan Grokhotkov
414e5ce1d5
Merge branch 'bugfix/rmt_mem_struct' into 'master'
...
Only fix rmt_mem_t struct definition error.
Modify the struct definition according to technical_reference_manual.
Tested.
```
typedef volatile struct {
struct {
union {
struct {
uint32_t duration0: 15;
uint32_t level0: 1;
uint32_t duration1: 15;
uint32_t level1: 1;
};
uint32_t val;
} data[64];
} chan[8];
} rmt_mem_t;
```
See merge request !186
2016-11-08 18:47:53 +08:00
Liu Zhi Fu
cb5f7690a4
esp32/make: add detailed return error code for wifi APIs
...
1. Add detailed return error code for wifi APIs
2. Add description about error code in esp_wifi.h
3. Modify esp_wifi_reg_rxcb to esp_wifi_internal_reg_rxcb
4. Modify esp_wifi_set_sta_ip to esp_wifi_internal_set_sta_ip
5. Mark system_init as deprecated API
2016-11-08 18:12:14 +08:00
Liu Zhi Fu
7340a77689
esp32: remove libcrypto according to review comments
2016-11-08 15:28:20 +08:00
Wangjialin
1418f886eb
Only fix rmt_mem_t struct definition error.
2016-11-08 14:19:31 +08:00
Liu Zhi Fu
178db4bdd9
esp32: merge bt/wifi coexist code
...
1. Modify makefile to add coexist lib
2. Update bt/wifi coexist lib
2016-11-08 13:30:35 +08:00
Ivan Grokhotkov
314cbcdb67
Merge branch 'feature/wpa_supplicant_libcrypto_source' into 'master'
...
wpa_supplicant: replace pre-built crypto library with source code
This change replaces libcrypto.a pre-built library with source code from wpa_supplicant.
For now i've decided to keep the modified layout of source and header files which is used in the esp32_rtos_sdk_core project. This will make it easier to move other parts of wpa_supplicant from esp32_rtos_sdk_core into esp-idf. Once we move everything, we can rearrange the files and upgrade wpa_supplicant to latest version.
See merge request !177
2016-11-07 21:15:49 +08:00
Ivan Grokhotkov
2d88fc0329
wpa_supplicant: replace pre-built crypto library with source code
2016-11-04 14:58:47 +08:00
Ivan Grokhotkov
2fa00ebd90
ld scripts: fix overlap between bootloader and application IRAM ranges
2016-11-04 12:18:57 +08:00
Wangjialin
15474b9b7e
Merge branch 'master' into driver_merge_tmp/merge_uart
2016-11-04 02:56:41 +08:00
Ivan Grokhotkov
bc4f1c90a7
conver tabs to spaces in frc_timer_reg.h
2016-11-03 17:44:23 +08:00
Ivan Grokhotkov
299655e3be
esp32: add choice for RTC clock source
...
For now only one option is supported: internal RC oscillator
2016-11-03 17:37:15 +08:00
Ivan Grokhotkov
eb2c633cbf
newlib: implement settimeofday, integrate LwIP SNTP, add SNTP example
2016-11-03 12:46:46 +08:00
Ivan Grokhotkov
c534dedf2d
newlib: implement time syscalls
2016-11-02 17:31:35 +08:00
Angus Gratton
aceb6517c0
Refactor existing bootloader common functionality into bootloader_support component
2016-11-02 17:58:41 +11:00
Jeroen Domburg
3af7872839
Merge branch 'bugfix/small_fixes' into 'master'
...
OpenOCD doc fix, fix gdbstub
- Fixes a few typos in the OpenOCD docs
- Fix compiling with gdbstub as panic handler
See merge request !165
2016-11-02 10:27:26 +08:00
Angus Gratton
cf732bb663
esp32: efuse_reg add bit values for read & write disable flags
2016-11-02 10:41:59 +11:00
Ivan Grokhotkov
f18c1f13b1
Merge branch 'feature/deepsleep_stub_linker' into 'master'
...
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
See merge request !142
2016-11-01 22:27:13 +08:00
Jeroen Domburg
8c1d1e19c2
OpenOCD doc fix, fix gdbstub
2016-11-01 15:41:10 +08:00
Liu Zhi Fu
edf5b10344
esp32: update wifi lib
...
146f5962 - Make the return value of esp_wifi_internal_tx consistent with LWIP error code so that
the up-layer can detect the out-of-memory error and take action accordingly, such do flow control.
2016-11-01 15:34:30 +08:00
Wangjialin
ce9e73cd19
merge master
2016-11-01 10:34:13 +08:00