Commit graph

6733 commits

Author SHA1 Message Date
Angus Gratton
b6f3573dd4 Merge branch 'feature/wifi-stage-two' into 'master'
Merge wifi branch stage two

Merge wifi branch up to commit cb6bd109f2 plus some cleanup.


See merge request !55
2016-09-06 09:41:53 +08:00
Angus Gratton
b8fc0c9511 FreeRTOS thread local storage config: If using WiFi this must be >0 2016-09-06 11:15:28 +10:00
Angus Gratton
4fb3f2c27e mbedtls: Fix component Makefile 2016-09-05 15:08:30 +10:00
Wu Jian Gang
ef91702100 Add mbedtls release version 2.3.0 2016-09-05 12:03:39 +10:00
Angus Gratton
166d876d90 Temporarily restrict WiFi stack to only run in single core more
See github #6.
2016-09-05 12:02:11 +10:00
Angus Gratton
587f90929c Minor comment cleanup 2016-09-05 11:50:53 +10:00
Angus Gratton
44ef108fd8 Bump WiFi libraries to latest 2016-09-05 10:54:43 +10:00
Angus Gratton
412fbffeae Makefiles: Fix case where updating the WiFi libraries directory didn't trigger a re-link 2016-09-05 10:49:12 +10:00
Angus Gratton
cb6bd109f2 Merge wifi commit '87977b92f3e12cfca74cf2e4dea87dc8d60b26fc' into feature/wifi-stage-two 2016-09-05 10:42:17 +10:00
Angus Gratton
cef73d9dac Merge branch 'feature/wifi-stage-one' into 'master'
Wifi branch changes stage one

Wifi branch up to commit 588d384, plus some cleanup.

See merge request !52
2016-09-05 08:34:31 +08:00
Wu Jian Gang
25e1a7bf1a sntp: fix author name 2016-09-02 16:26:06 +08:00
Angus Gratton
66956dbb7c Update WiFi library version.
This version compiles but does not startup with WiFi component enabled.
2016-09-02 11:59:21 +10:00
Angus Gratton
314dbc0b61 Minor comment cleanup
Remove old commented code, etc.
2016-09-02 11:33:53 +10:00
Angus Gratton
be77601098 tcpip_adapter: Fix typo STOPED->STOPPED 2016-09-02 11:29:27 +10:00
liuzhifu
dddb9ace2e components: esp32
remove debug info in event.c/wifi.c
2016-09-02 11:16:37 +10:00
Angus Gratton
2f54d0e425 Merge wifi branch commit '588d384393536a040f899b382890316c56061b6a' into feature/wifi-stage-one 2016-09-02 11:14:27 +10:00
liuhan
37d817b6f9 components/lwip: modify sntp function
delete sntp_time.c file, move sntp head file.
2016-09-01 19:56:51 +08:00
liuhan
1e3f9fbda3 components/lwip/apps/sntp: modify SNTP function feature
modify makefile for compile SNTP function in lwip, see sntp file.
2016-09-01 19:22:36 +08:00
liuhan
380f5635b6 components/lwip: add SNTP function feature
Develop and Compile SNTP function based on LWIP core code, see lwip/apps/sntp file.
2016-09-01 19:22:36 +08:00
Wu Jian Gang
87977b92f3 lwip: format dhcpserver.c 2016-09-01 19:05:50 +08:00
Wu Jian Gang
1f4af47911 Merge branch 'bugfix/lwip_dhcpserver' into 'wifi'
Bugfix/lwip dhcpserver

TW6872

See merge request !50
2016-09-01 19:02:06 +08:00
liuhan
f5df40e2d1 lwip: fix a mistake in parse_msg of dhcpserver.c
TW6872
2016-09-01 18:13:58 +08:00
Ivan Grokhotkov
af3f7d3ebe gitlab-ci: update submodules before build
Gitlab CI will cache build directory per branch and per build step. Also it doesn't try to update submodules.
We have to do this manually because otherwise we end up with old version of submodule in cached directory.
2016-09-01 17:27:30 +08:00
Wu Jian Gang
7ee4ec0d18 Merge branch 'bugfix/adapter_dhcp' into 'wifi'
Fix adapter dhcp

Fix some bugs when call adapter dhcpc/s API to test dhcp start/stop, from QA, TW6803 & TW6804.

See merge request !45
2016-09-01 17:19:28 +08:00
Angus Gratton
96852d49c2 Load esptool.py from submodule, currently WIP esptool.py v2.0
More details at https://github.com/themadinventor/esptool/pull/121
2016-09-01 18:45:10 +10:00
Angus Gratton
d793d23b94 Remove bin/ directory in favour of an add_path.sh script that can be sourced
Remaining file in bin/ will be moved out as part of !34
2016-09-01 18:45:10 +10:00
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
Ivan Grokhotkov
9db4732861 Merge branch 'bugfix/gitlab_update_submodules' into 'master'
gitlab-ci: update submodules before build

Gitlab CI will cache build directory per branch and per build step. Also it doesn't try to update submodules.
We have to do this manually because otherwise we end up with old version of submodule in cached directory.

See merge request !47
2016-09-01 15:41:08 +08:00
liuzhifu
1e9fc9f8f1 components: lwip - modify HEAP_HIGHWAT from 6K to 20K
Since esp32 has much more memory than esp31B, modify the HEAP_HIGHWAT from
6K to 20K.
Notes: HEAP_HIGHWAT is used for tcp/udp tx flow control, if socket task detects
that the free heap memory is less than HEAP_HIGHWAT, it stops to trasmitting until
the free heap memory is greater than HEAP_HIGHWAT
2016-09-01 15:17:50 +08:00
Ivan Grokhotkov
02e70abf84 gitlab-ci: update submodules before build
Gitlab CI will cache build directory per branch and per build step. Also it doesn't try to update submodules.
We have to do this manually because otherwise we end up with old version of submodule in cached directory.
2016-09-01 15:13:15 +08:00
Wu Jian Gang
861a976eee tcpip_adapter: fix a typo 2016-09-01 15:11:23 +08:00
xiaxiaotian
869fe1647d WIFI API: esp_err_t esp_wifi_set_storage(wifi_storage_t storage);
1. Add the parameter type of api esp_wifi_set_storage.
2. WIFI_STORAGE_RAM means storing profiles in ram. WIFI_STORAGE_FLASH means storing profiles in flash.
2016-09-01 15:09:00 +08:00
Angus Gratton
6367268f99 Merge branch 'bugfix/md5_rom_header_types' into 'master'
md5_hash.h: Replace outdated use of c_types.h with stdint



See merge request !44
2016-09-01 11:22:22 +08:00
Wu Jian Gang
e2b4421629 tcpip_adapter: fix a mistake in tcpip_adapter_dhcpc_stop
TW6803
2016-09-01 10:44:09 +08:00
Wu Jian Gang
a19b03611c tcpip_adapter: adjust some function sequence, fix ip info log 2016-09-01 10:44:08 +08:00
Wu Jian Gang
7a13eda78f tcpip_adapter: modify dhcpc status, fix static ip issue
TW6804 supplement
2016-09-01 10:44:08 +08:00
Wu Jian Gang
7bea025b56 tcpip_adapter: not allow to set ip if dhcpc/s not stoped
TW6804
2016-09-01 10:44:08 +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
Wu Jian Gang
b56ca86571 wifi_lib: update to fbb084da 2016-08-31 23:25:29 +08:00
Jeroen Domburg
0f42f017e2 Merge branch 'bugfix/ocd_stop_on_unhandled_exception' into 'master'
Fix: Return after setting breakpoint when ocd is detected instead of continuing …

…into the panic routine

Made a small thinko when refactoring the panic handler code. This fixes it.

See merge request !36
2016-08-31 12:15:04 +08:00
xiaxiaotian
8fe9347de2 Merge branch 'wifi' of ssh://gitlab.espressif.cn:27227/idf/esp-idf into wifi 2016-08-30 18:10:30 +08:00
xiaxiaotian
e6d45cc91f 1. Add api ssc cmd "ap -K -a aid" to kick out connected station.
The parameter aid followed -a is aid of the connected station. If aid is 0, kick out all of the connected stations.
2. Add block parameter to api esp_wifi_scan_start.
   If block is true, the api blocks before scan done or returns directly.
2016-08-30 18:09:48 +08:00
liuzhifu
77caf256c6 components: lwip - enable PERF macro for debug reason 2016-08-30 18:06:37 +08:00
liuzhifu
68bc7b4476 set sta gotip default event handler 2016-08-30 18:05:32 +08:00
liuzhifu
5068ff2be8 TW6785 - add sta auto connect api 2016-08-30 18:04:22 +08:00
Jeroen Domburg
8c7afb4b46 Merge branch 'feature/openocd_doc' into 'master'
Add openocd documentation and config file

As we (=Ivan/Angus) discussed, the esp32-specific openocd/gdb documentation and helper tools will live in the esp-idf repository. This is an initial document detailing the basics of setting up OpenOCD with an esp32 module. It should be sufficient for people already familiar with a similar setup on another platform to start using JTAG for debugging. It can be expanded much more (e.g. the tracetool still is missing) but we'llhave to add that later.

See merge request !31
2016-08-30 18:02:20 +08:00
Jeroen Domburg
c6394ed2ce Fix: Return after setting breakpoint when ocd is detected instead of continuing into the panic routine 2016-08-30 17:55:20 +08:00
Jeroen Domburg
69f7bf5235 Add bit of text saying openocd helper options for esp-idf are enabled by default 2016-08-30 15:44:20 +08:00
liuzhifu
a68ad74459 components:esp32 - notify wifi driver when sta got ip 2016-08-30 14:04:12 +08:00
Liu Han
13022ceff6 Merge branch 'feature/json' into 'master'
components/json: add JSON parse feature

Develop and Compile JSON Parse function, can test by running list,  see test_json file.

See merge request !33
2016-08-30 13:54:16 +08:00