Ivan Grokhotkov
6e97936bac
nvs: allow nvs_flash_init to be called more than once
...
Also don’t assert in nvs_* functions if nvs_flash_init wasn’t called,
and make nvs_flash_init_custom an internal API for unit tests.
2016-11-18 20:11:16 +08:00
Ivan Grokhotkov
51021b06f8
nvs: initialize using layout from partition table
2016-11-18 20:11:16 +08:00
Wu Jian Gang
8ab4e11840
Merge branch 'feature/openssl' into 'master'
...
OpenSSL API examples
add openssl demo
See merge request !198
2016-11-18 15:50:50 +08:00
Angus Gratton
1cc0b3000b
mbedtls hardware bignum: Expose ESP-only bignum API in wrapper mbedtls/bignum.h
2016-11-18 17:08:14 +11:00
Angus Gratton
36f29017b6
mbedtls hardware bignum: Support "RSA" interrupt for end of operation
...
Allows CPU to do other things which bignum operation is in
progress.
2016-11-18 15:53:00 +11:00
Angus Gratton
68d370542a
mbedtls hardware RSA: Put into menuconfig, squash warnings
...
All combinations of enabling/disabling hardware acceleration no longer
show unused warnings.
2016-11-18 15:50:45 +11:00
Angus Gratton
f87be70d51
mbedtls hardware RSA: Combine methods for calculating M' & r inverse
...
Remove redundant gcd calculation, use consistent terminology.
Also remove leftover debugging code
2016-11-18 14:10:20 +11:00
Dong Heng
6b687b43f4
mbedtls hardware RSA: Fix "mbedtls_mpi_exp_mod" hardware calculations
2016-11-18 14:09:59 +11:00
Dong Heng
2b196b4f3e
components/openssl_demo: remove the apache license header and add cc license head
2016-11-18 10:07:34 +08:00
Wu Jian Gang
b092e42740
Merge branch 'bugfix/taskwdt' into 'master'
...
taskwdt fixes: better handling of empty/emptying wdt task list, lock task struct while feeding
As in description.
See merge request !212
2016-11-17 21:03:45 +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
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
Yinling
b0ca2feabc
support build multiple bin for SSC
2016-11-17 14:02:46 +08:00
Yinling
9e6e6b8ff6
save logs as test_report artifacts
2016-11-17 13:45:53 +08:00
Wu Jian Gang
6472f193ab
Merge branch 'bugfix/tw8706_softap_join_ap_return_wrong' into 'master'
...
esp32: tw8706 softap join ap return wrong code
In softap/null mode, esp_wifi_connect will return ESP_ERR_WIFI_MODE
See merge request !216
2016-11-17 12:46:48 +08:00
Jeroen Domburg
02f5bb9442
Add docs build artifacts to gitignore
2016-11-17 12:33:31 +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
Wu Jian Gang
3366c98d39
Merge branch 'bugfix/tw8746_restore_cause_load_fail' into 'master'
...
nvs_flash: adjust the nvs_flash start sector number
Modify the nvs flash start sector from 6 to 9 because the partition table bin burn address is modified from 0x4000 to 0x8000
See merge request !215
2016-11-17 11:53:41 +08:00
Wu Jian Gang
b0f3b730aa
Merge branch 'feature/tw8743_menuconfig_add_L2toL3_copy_option' into 'master'
...
lwip: add option to memcopy packet from L2 to L3
Menuconfig add an option to copy the packet from layer2 (WIFI driver) to layer3 (LWIP), default not copy
See merge request !211
2016-11-17 11:52:39 +08:00
Liu Zhi Fu
936b02216b
docs/nvs_flash: update the nvs flash offset comment according review
2016-11-17 11:44:39 +08:00
Angus Gratton
2ab64e1ecc
Merge branch 'doc/pr65_openocd_clone' into 'master'
...
Simplified "Installing OpenOCD" with git clone --recursive
Github pull request #65
See merge request !213
2016-11-17 11:35:06 +08:00
Angus Gratton
12dd886ee1
build system: Use correct objcopy arguments for object format
...
Avoid ambiguous argument error on some platforms
Ref internal discussion !198
squash! build system: Use correct objcopy --input-target argument not --input
2016-11-17 14:32:56 +11:00
Liu Zhi Fu
f12be7ebd8
nvs_flash: adjust the nvs_flash start sector number
...
Modify the nvs flash start sector from 6 to 9
2016-11-17 11:22:20 +08:00
Liu Zhi Fu
5e428f21b6
lwip: default ESP_L2_TO_L3_COPY to 0
2016-11-17 10:53:00 +08:00
Liu Zhi Fu
ceea97495f
lwip:refractor to the description about this menuconfig option
2016-11-17 10:22:20 +08:00
Benjamin Vernoux
78d0849426
Simplified "Installing OpenOCD" with git clone --recursive
2016-11-17 10:19:42 +11:00
Angus Gratton
872a481cf1
build system: When embedding binary files, fix re-generating on partial builds
...
When embedding a generated file (ie secure boot public key data), the
file was being re-generated each time.
2016-11-17 09:18:51 +11:00
Angus Gratton
84635a160e
micro-ecc: Add submodule dependency
...
Closes github #100
2016-11-17 09:18:51 +11: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
Angus Gratton
4eeb2bc41e
build system: Fix embedding files which are themselves generated by the
...
build system
Used by secure boot, which generates the secure boot signing key inside build/.
2016-11-17 09:18:51 +11:00
Angus Gratton
c90e3c7f9e
Merge branch 'bugfix/example_warning_cleanup' into 'master'
...
Example cleanup, raise warning level
See merge request !209
2016-11-17 06:09:06 +08:00
Angus Gratton
637f6fb27e
Merge branch 'master' into bugfix/example_warning_cleanup
2016-11-17 08:59:44 +11:00
Ivan Grokhotkov
13d4734399
docs: fix Doxygen warnings, fail CI build on Doxygen warnings
2016-11-16 22:44:22 +08:00
Ivan Grokhotkov
ca202cbb46
docs: fix broken links, formatting, add SPI flash and partition APIs
2016-11-16 22:44:22 +08:00
Ivan Grokhotkov
8713155e66
docs: add description of ESP-IDF application startup flow and memory layout
2016-11-16 22:44:22 +08:00
Liu Zhi Fu
0b2cea6e9f
lwip: modify menuconfig comments according to review
2016-11-16 21:11:17 +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
Wang Jia Lin
dd3c8487f1
Merge branch 'bugfix/uart_isr_switch_context' into 'master'
...
bugfix/uart_isr_switch_context: add switching context in uart ISR.
1. add switching context in uart ISR
2. remove duplicated #include in uart.c
3. modify example in uart.h(will later add examples to idf/examples)
See merge request !203
2016-11-16 17:23:08 +08:00
Wangjialin
19d96d5b26
Merge branch 'master' into bugfix/uart_isr_switch_context
2016-11-16 17:11:18 +08:00
Liu Zhi Fu
69dbc36a1c
lwip: add option to memcopy packet from L2 to L3
...
Menuconfig add an option to copy the packet from layer2 (WIFI driver) to layer3 (LWIP), default not copy
2016-11-16 16:24:41 +08:00
Angus Gratton
8b7d1cdc27
ringbuf: Fix case where xTaskGetTickCount() overflows but task timeout point doesn't
2016-11-16 17:56:49 +11:00
Wu Jian Gang
d1fc5fe432
Merge branch 'feature/tw8427_softap_support_bridge' into 'master'
...
esp32: softap supports bridge
Softap supports bridge, then the stations associated with esp32 softap can send/receive traffic from each other
See merge request !210
2016-11-16 14:55:39 +08:00
Wangjialin
13b81debb3
Merge branch 'master' into bugfix/uart_isr_switch_context
2016-11-16 14:51:36 +08:00
Wangjialin
37cbb0bdea
driver: bugfix/fix uart parity and frame error bug
...
1. modify definition for uart_parity_t
2. fix bugs in uart interrupt handler for parity err and frame err.
2016-11-16 14:44:06 +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
Angus Gratton
60f29236f6
Build system: Raise warning level
...
Default esp-idf builds now show -Wextra warnings (except for a few:
signed/unsigned comparison, unused parameters, old-style C declarations.)
CI building of examples runs with that level raised to -Werror, to catch
those changes going into the main repo.
2016-11-16 15:57:34 +11:00
Angus Gratton
9ae07082ff
examples: Update component.mk for new conventions
2016-11-16 14:20:47 +11:00