Wu Jian Gang
07fc868ea6
Merge branch 'feature/ipv6_api' into 'master'
...
Ipv6 interface:add branch for ipv6 interface
See merge request !199
2016-11-21 19:43:51 +08:00
Wangjialin
1cc1d9d721
driver: Add PCNT code
...
1. add PCNT module in periph_ctrl.c/.h
2. add description of PCNT status in pcnt_struct.h
3. add PCNT driver code
4. add PCNT example code.
2016-11-21 18:17:07 +08:00
Xia Xiaotian
1ca82de638
Merge branch 'master' into feature/wpa2_enterprise
...
Conflicts:
components/esp32/component.mk
components/wpa_supplicant/component.mk
2016-11-21 18:09:13 +08:00
Angus Gratton
7681dbec93
Merge branch 'feature/bignum_rsa' into 'master'
...
hwcryto bignum support for RSA operations
Supporting RSA with hardware bignum directives.
Configurable via menuconfig to enable/disable, and to choose between busywaiting and interrupt driven completion.
May still be some performance tweaks possible.
TW7111
See merge request !92
2016-11-21 17:46:21 +08:00
Xia Xiao Tian
39e924b664
Merge branch 'master' into feature/modem_sleep
2016-11-21 16:54:11 +08:00
Xia Xiao Tian
a485af0e2d
wpa2: change "station to sta" in wpa2 API
2016-11-21 14:17:52 +08:00
tzx
a8fb9f2b84
ipv6 interface: add branch for ipv6 interface
2016-11-21 11:06:51 +08:00
Liu Zhi Fu
659ec8facb
esp32: add phy_printf
...
1. add phy_printf into libcore
2. update libphy.a which has important optimization for ht40 traffic
2016-11-18 21:11:54 +08:00
Xia Xiao Tian
4dcf3709b0
Merge branch 'master' into feature/modem_sleep
...
Conflicts:
components/nvs_flash/src/nvs_api.cpp
2016-11-18 20:53:59 +08:00
Ivan Grokhotkov
541b142654
phy_init: reduce the amount of hardwired logic, add coexist init
2016-11-18 20:11:17 +08:00
Angus Gratton
6d4ab76db2
phy init data: Read PHY init data partition offset from menuconfig
2016-11-18 20:11:16 +08:00
Ivan Grokhotkov
4db29f74a0
add PHY init support
2016-11-18 20:11:16 +08:00
Jeroen Domburg
f3a44aa4db
Merge with master; merge Doxygen config
2016-11-17 20:21:12 +08:00
Ivan Grokhotkov
3bbe41c34d
Merge branch 'feature/docs_general_notes' into 'master'
...
Docs: new documentation and warnings cleanup
This change set
- adds a high-level description of application startup flow. Some parts are missing, but hopefully we can use this description as a base to expand on.
- adds a few notes about memory regions and their use in ESP-IDF.
- add SPI flash and partition APIs page
- fixes all Doxygen warnings in header files
- enables build failures on new Doxygen warnings
See merge request !201
2016-11-17 19:00:03 +08:00
Xia Xiao Tian
e332407785
modem sleep: delete wifi modem sleep callback in idle task.
2016-11-17 18:08:35 +08:00
Jeroen Domburg
d73448f57f
Make sure task wdt also does the right thing when triggered when flash is disabled
2016-11-17 18:05:47 +08:00
Angus Gratton
acafa9aaa8
Merge branch 'bugfix/secure_boot_fixes' into 'master'
...
Secure boot related fixes
Fix some issues (mostly build system) from the secure boot implementation
Also refactor the way submodule checks are applied to make them more reliable.
See merge request !207
2016-11-17 17:42:03 +08:00
Jeroen Domburg
d116adf260
Add documentation
2016-11-17 12:09:08 +08:00
Liu Zhi Fu
d19d7107d3
esp32: tw8706 softap join ap return wrong code
...
In softap/null mode, esp_wifi_connect will return ESP_ERR_WIFI_MODE
2016-11-17 11:56:22 +08:00
Angus Gratton
24b4c17ead
build system: Refactor SubmoduleCheck to work project-wide
...
Required at project level because some components use header files in
other components' submodules, and one component with a
submodule (esptool.py) doesn't have or need a component.mk.
2016-11-17 09:18:51 +11:00
Ivan Grokhotkov
13d4734399
docs: fix Doxygen warnings, fail CI build on Doxygen warnings
2016-11-16 22:44:22 +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
Dong Heng
cf8c9770a0
Merge branch 'master' into feature/bignum_rsa
2016-11-15 16:39:29 +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
3bf5fb8ae7
Merge branch 'master' into feature/modem_sleep
2016-11-15 11:47:51 +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
c694c5134f
modem sleep: add wifi power save callback to idle task
2016-11-15 10:28:36 +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
Xia Xiao Tian
8dc9e243ae
wpa2 enterprise: add wpa2 enterprise API and crypto files
2016-11-11 10:38:57 +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
Xia Xiao Tian
2dda3f57b5
remove light sleep and mac sleep
2016-11-08 19:57:32 +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
Tian Hao
1540469598
component/esp32 component/bt : seperate phy init
2016-11-03 16:28:04 +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
Tian Hao
d472ff5856
Merge branch 'master' into feature/btdm_bluedroid
...
1.update esptool submodule
2.new esp32 lib and new phy lib
3.new bt lib
4.soc.h add comment
2016-11-01 17:53:59 +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
Wu Jian Gang
d7b4197ade
Merge branch 'feature/tw8221_softap_supports_max_10_stations' into 'master'
...
esp32/tcpip_adapter: softap supports max 10 stations
The max number of stations softap supports is modified from 8 to 10
See merge request !158
2016-10-31 18:09:03 +08:00
Liu Zhi Fu
f30887bc70
modify comments according to review
2016-10-31 11:17:33 +08:00
Jeroen Domburg
ffeffcd315
Merge branch 'feature/crosscore_int' into 'master'
...
Add cross-core int to accelerate task being awoken from another CPU.
This adds a per-CPU interrupt that can be used to poke the CPU to go do something. In this case all that is implemented is a request to yield the current task, used in case a CPU unblocks a task that runs on another CPU. This gets rid of the limitation that inter-CPU communication using queues, muxes etc can take up to a FreeRTOS tick to happen.
Specs!
Sending an in in a queue of length 1 (essentially a semaphore) as quickly as possible (just a small delay in the sender, to make sure the receiver task gets swapped out) for 10 seconds. Number indicates the amount of ints transferred
Old code:
CPU0->CPU0: 42986
CPU0->CPU1,: 2999
New code:
CPU0->CPU0: 42868
CPU0->CPU1: 62073
See merge request !155
2016-10-31 11:04:28 +08:00
Jeroen Domburg
90b787636a
Remove redundant volatile keyword
2016-10-31 11:00:27 +08:00
Liu Zhi Fu
4f2719236f
esp32/tcpip_adapter: softap supports max 10 stations
...
The max number of stations softap supports is modified from 8 to 10
2016-10-28 16:53:49 +08:00
Ivan Grokhotkov
5ffd6155f2
set default interrupt watchdog timeout to 300ms
...
10ms is too low for openocd/gdb to work, so it's not a very useful default value.
2016-10-28 16:17:41 +08:00
Jeroen Domburg
309bd12855
Re-add panic.o to IRAM/DRAM.
2016-10-28 14:32:11 +08:00
Jeroen Domburg
4d8ad3c877
Fix int wdt iram, fix some fallout of moving panic stuff to esp32
2016-10-28 12:05:42 +08:00
Ivan Grokhotkov
e03b45eb0a
spi_flash: improve documentation
2016-10-27 17:58:42 +08:00
Ivan Grokhotkov
999e6d4e8f
freertos: move panic handler data to DRAM
...
Fixes https://ezredmine.espressif.com/issues/7817
2016-10-27 17:57:29 +08:00
Ivan Grokhotkov
42068c3b36
spi_flash: implement mmap/munmap
2016-10-27 17:57:29 +08:00
Ivan Grokhotkov
628bde2080
bootloader: move useful structures to esp32 component
2016-10-27 17:57:29 +08:00
Ivan Grokhotkov
6f1d3ce4a7
vfs: code review fixes
...
- fix typo in readme
- remove unneeded extern declaration
- fix header guard macro
- tabs->spaces in syscalls.c
- spaces->tabs in tasks.c
2016-10-27 17:25:38 +08:00
Ivan Grokhotkov
7e201c5527
vfs and newlib: small fixes
...
- spaces->tabs in tasks.c
- update vfs_uart.c to use per-UART locks
- add license to vfs_uart.c
- allocate separate streams for stdout, stdin, stderr, so that they can be independently reassigned
- fix build system test failure
- use posix off_t instead of newlib internal _off_t
2016-10-27 17:22:18 +08:00
Ivan Grokhotkov
0c130ecf19
vfs: code review fixes
...
- fix typo in readme
- remove unneeded extern declaration
- fix header guard macro
- tabs->spaces in syscalls.c (+1 squashed commit)
- fix minor typos
2016-10-27 17:21:17 +08:00
Ivan Grokhotkov
b3b8334d54
vfs and newlib: small fixes
...
- spaces->tabs in tasks.c
- update vfs_uart.c to use per-UART locks
- add license to vfs_uart.c
- allocate separate streams for stdout, stdin, stderr, so that they can be independently reassigned
- fix build system test failure
2016-10-27 17:19:39 +08:00
Ivan Grokhotkov
38c6256db9
Merge branch 'feature/wdts' into 'master'
...
Feature/wdts
This adds two watchdogs to esp-idf:
- An interrupt watchdog. Kicks in if the FreeRTOS timer interupt on either the PRO_CPU or (when configured) the APP CPU isn't called for a configurable time. Panics, displaying which CPU caused the problem and the registers that may lead to the offending code.
- A task watchdog. A task has to feed it every once in a while. If not, it will print the name of the offending tasks, as well as the tasks currently running on both CPUs, and optionally panic.
Also adds a panic reason to the panic call, as well as fixes the panic code a bit.
See merge request !148
2016-10-27 17:09:35 +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
Jeroen Domburg
ff6b8addd9
Fix panic config ifdefs, un-stall app cpu on boot so it restarts after panic
2016-10-27 11:17:24 +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
Jeroen Domburg
fd887dbeea
Merge remote-tracking branch 'origin/master' into feature/wdts
2016-10-27 10:25:23 +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
Jeroen Domburg
9546ad5b5e
Move write key and stage action select constants into headers
2016-10-26 14:54:50 +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
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