Wu Jian Gang
2efaf42253
Merge remote-tracking branch 'origin/feature/mbedtls'
2016-09-14 18:05:56 +08:00
Wu Jian Gang
6104370ac9
Merge branch 'feature/support_vendor_ie_api' into 'master'
...
esp32: add vendor ie API
1. add esp_wifi_set_vnd_ie
2. add esp_wifi_set_vnd_ie_cb
See merge request !75
2016-09-14 16:53:53 +08:00
qiyueixa
56586a10ac
Format code by using 4 spaces instead
2016-09-14 15:18:06 +08:00
Wangjialin
f32823ff6c
modify character conversion error and typo
2016-09-14 13:47:28 +08:00
Wangjialin
c13ab62e4c
modify i2s_reg.h, rebase to master
2016-09-14 13:47:28 +08:00
Wangjialin
41d397cf3f
Only modify headers in soc/ .
...
Pass compiling under esp-idf-tests/merge_soc_tmp/merge_for_soc_headers branch.(only change some names of register and INUM).
2016-09-14 13:47:28 +08:00
qiyueixa
f02e5cdec7
Rename vender_ie_type_t and vendor_ie_id_t to wifi_vendor_ie_type_t and wifi_vendor_ie_id_t respectively
2016-09-14 13:39:30 +08:00
qiyueixa
d866fe84a4
modify arguments for vendor ie APIs by using enum instead
2016-09-14 13:39:30 +08:00
Wu Jian Gang
c1a874fb9e
esp32: fix kconfig
2016-09-14 12:55:41 +08:00
liuzhifu
d2d231de29
define lwip task priority in esp_task.h
2016-09-14 12:00:46 +08:00
liuzhifu
8ed5010356
components: esp32 - fix build error
2016-09-14 12:00:46 +08:00
liuzhifu
2a15eda8bc
components: esp32
...
Remove priority/stack definition of task that is freertos/lwip/app
2016-09-14 12:00:46 +08:00
liuzhifu
109691f9bc
components: esp32
...
add missing file esp_task.h
2016-09-14 12:00:46 +08:00
Wu Jian Gang
ed8e8848e3
fix typos
2016-09-13 20:54:20 +08:00
Wu Jian Gang
b56098a612
Merge remote-tracking branch 'origin/master' into feature/mbedtls
2016-09-13 16:31:48 +08:00
Wu Jian Gang
bf5e83a6ed
callback: add a void* pointer with each callback
...
also format event.c/wifi.c/esp_event.h/esp_wifi.h
2016-09-13 16:20:29 +08:00
Wu Jian Gang
c56a790f64
header: callbacks use "void *" as arguments
2016-09-13 16:19:09 +08:00
Wu Jian Gang
c5f8396df4
header: format and fix typos
...
SYSTEM_EVENT_STA_GOTIP to SYSTEM_EVENT_STA_GOT_IP
2016-09-13 16:17:41 +08:00
liuzhifu
ded5df7513
add wifi api comments
2016-09-13 16:17:41 +08:00
liuzhifu
b86e060647
add wifi api comments
2016-09-13 16:17:41 +08:00
Ivan Grokhotkov
f9013d9ff8
Merge branch 'feature/dualcore_spi_flash_api' into 'master'
...
Dual core compatible spi flash APIs
Implementation of spi flash APIs which work in dual core mode.
This also includes other changes:
- fixes to FreeRTOS tasks.c made by Jeroen and me — these were originally made to fix issues with high priority tasks seen in WiFi stack, but were required to get stuff in ipc.c working as well
- initial base idea with two high-priority tasks was separated into a separate API — esp_ipc.h. That API allows one to run a function on the other CPU from a high-priority task. Because we don't have preemption across CPUs, this is currently not very fast: it requires on average half a tick until the second CPU switches to the high priority task. Currently that API can be either blocking, or non-blocking with queue length of 1. I haven't yet found a use case for arbitrary sized queue of IPC requests. Anyone who needs that can trivially add that later by replacing a binary semaphore with a generic queue.
With these changes i can run application with WiFi stack and NVS on both cores.
See merge request !25
2016-09-13 13:58:54 +08:00
Ivan Grokhotkov
23d5c7579b
components/esp32,spi_flash: update some comments
2016-09-12 20:02:51 +08:00
Ivan Grokhotkov
e9f2645b21
components/esp32: add inter-processor call API and implement spi_flash through it
...
With this change, flash operations can run on both cores.
NVS and WiFi stack can also run in dual core mode now.
2016-09-12 18:54:45 +08:00
Jack
bd8febe58c
add MACRO to get flash pad number from efuse value
2016-09-12 17:47:50 +08:00
Jack
d0442602c7
add comments to register read/write operations
2016-09-12 17:47:50 +08:00
Wu Jian Gang
04b53643ef
header files: clean up
...
1. format;
2. Slow RTC memory reverse 2KB;
2016-09-12 17:47:50 +08:00
jack
24011ddd05
header files: modify rom code and soc header files
...
1. timer reg file for both time group 0 and time group 1, not only timer group 0
2. fix bug that io mux header file mismatch with chip
3. fix bug that some BASE address not correct
4. add some static function to eagle.fpga32.rom.addr.v7.ld
5. add interrupts usage table
6. add some comments for rom code functions
2016-09-12 17:47:49 +08:00
xiaxiaotian
7c607e4d63
Change the enum of wifi_storage_t to be the same as that in wifi lib.
2016-09-12 11:38:13 +08:00
Wu Jian Gang
95defc7d32
mbedtls: Use hardware accelerated AES, SHA, bignum
2016-09-08 17:41:43 +08:00
Angus Gratton
0a970e3a25
hwcrypto: Match API completely to mbedTLS naming conventions
2016-09-08 16:47:31 +08:00
Angus Gratton
2580c07ae6
esp32 hwcrypto: Make SHA-224 an obvious no-op for now
...
This is not the long term solution...
2016-09-08 16:47:28 +08:00
Angus Gratton
2bee84062a
esp32: Add comment to ROM crypto functions recommending they not be used directly
2016-09-08 16:47:24 +08:00
Angus Gratton
0647d1e922
esp32 hwcrypto: Rework hardware crypto locking
...
Should protect against concurrent use of hardware crypto primitives,
with good performance.
Not necessary to call esp_aes_acquire_hardware(),
esp_sha_acquire_hardware(), etc when using these APIs. These are
provided for external users calling the hardware crypto hardware
directly, to coexist with this implementation.
2016-09-08 16:47:13 +08:00
Angus Gratton
4167b68eef
esp32: Move hardware crypto implementation/headers to hwcrypto directories
2016-09-08 16:46:28 +08:00
Wu Jian Gang
fc2bfc1f49
mbedtls: just format related files
...
method from !46
2016-09-08 16:46:25 +08:00
liuhan
1900c50d3b
components/mbedtls: modify hardware encryption feature
...
rename "flag" and "keybites" in aes file,
rename "xxx_starts" and add license in sha file.
2016-09-08 16:45:51 +08:00
liuhan
2d80fada70
components/mbedtls: MBEDTLS Handshake result check
...
modify esp_config.h add some feature for support http2.0 protocol, TLS Handshake OK.
2016-09-08 16:45:44 +08:00
liuhan
0f83831c74
1. multi thread verify bignum AES and SHA
2016-09-08 16:45:23 +08:00
liuhan
98021903a2
recompile crypto and bignum function
2016-09-08 16:45:16 +08:00
Wu Jian Gang
df53d1588a
tcpip_adapter: typedef clean up
2016-09-06 19:36:03 +08:00
xiaxiaotian
43d441d0f4
Change the type of authmode
2016-09-06 16:47:03 +08:00
xiaxiaotian
8622fda764
Change the type of authmode
2016-09-06 16:47:03 +08:00
xiaxiaotian
035a48f102
Post station's auth mode event after it is connected to AP.
2016-09-06 16:47:02 +08:00
xiaxiaotian
c764683542
Add get station auth mode
2016-09-06 16:47:02 +08:00
Angus Gratton
587f90929c
Minor comment cleanup
2016-09-05 11:50:53 +10:00
Angus Gratton
cb6bd109f2
Merge wifi commit '87977b92f3e12cfca74cf2e4dea87dc8d60b26fc' into feature/wifi-stage-two
2016-09-05 10:42:17 +10:00
Angus Gratton
314dbc0b61
Minor comment cleanup
...
Remove old commented code, etc.
2016-09-02 11:33:53 +10:00
Angus Gratton
2f54d0e425
Merge wifi branch commit '588d384393536a040f899b382890316c56061b6a' into feature/wifi-stage-one
2016-09-02 11:14:27 +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
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