Yulong
a76b65ed95
compnent bt:debug the btc_gattc received data error issues.
2016-11-19 08:00:08 -05:00
Tian Hao
0245a2028c
component/bt : gatts fix
...
1. gatt server demo
2. gatt server fix bug(bta btc covert bug)
3. fix print lost
2016-11-18 22:10:35 +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
Ivan Grokhotkov
0b265dc2a7
nvs, spi_flash: handle case when source data is in DROM
2016-11-18 20:11:17 +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
Ivan Grokhotkov
a0feea8daa
partition_table: update layouts, remove unused subtypes, sync with header file
2016-11-18 20:11:16 +08:00
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
Yulong
3edcd29a83
compoent bt:debug the btc_gap_ble module, fix the adv len not long fix
2016-11-18 05:00:47 -05:00
Yulong
2f7288ff03
component bt:debug the scan result and add the resove adv data method to the gapapi
2016-11-18 03:43:51 -05: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
Tian Hao
37365cef95
component/bt : gatt server
...
1.add gatt server demo for user
2. some function didn't be tested
2016-11-18 00:30:35 +08:00
Yulong
645717b147
Merge remote-tracking branch 'origin/feature/btdm_arch' into feature/btdm_arch_debug1
2016-11-17 08:08:19 -05:00
Jeroen Domburg
f3a44aa4db
Merge with master; merge Doxygen config
2016-11-17 20:21:12 +08:00
Yulong
7548b8c622
component bt: Added the client demo to the bt project
2016-11-17 06:37:56 -05: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
wangmengyang
cd6d6c6280
component/bt: Cut down RAM cost: reduce SDP data record number
2016-11-17 14:01:38 +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
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
Tian Hao
a35e2d42f0
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
...
1. merge to fix gap modify
2016-11-17 11:28:10 +08: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
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
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
Tian Hao
94f26af17d
component/bt : fix component.mk
...
delete coexist in lib, because the lib is in esp32/lib
2016-11-16 22:15:00 +08:00
Tian Hao
aafaebefb4
component/bt : move blufi to new architecture btc task
...
1. move blufi to new architecture
2. delete some log trace
2016-11-16 22:11:59 +08:00
wangmengyang
47486db37b
component/bt: implement UIPC API functions according to esp_audio component
2016-11-16 22:00:18 +08:00
wangmengyang
14a74c8e4b
component/bt: add esp_audio module
2016-11-16 21:58:04 +08:00
Liu Zhi Fu
0b2cea6e9f
lwip: modify menuconfig comments according to review
2016-11-16 21:11:17 +08:00
Yulong
a63383dd19
component bt:change the scan rsp callback & scan param setup
2016-11-16 06:50:44 -05: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
Wangjialin
19d96d5b26
Merge branch 'master' into bugfix/uart_isr_switch_context
2016-11-16 17:11:18 +08:00
Tian Hao
9691fe9dae
component/bt : init api
...
1. use future to redefine init api
2016-11-16 16:26:02 +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
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
Tian Hao
8fed003ce5
component/bt : main api
...
1. use blufi check main api ok
2016-11-16 11:28:41 +08:00
wangmengyang
1fdaf74c4f
component/bt: bug fix for HCI packet reassmebler
...
1. bug fix for HCI packet reassmebler; audio stream can be received;
2. fix some log message typos
2016-11-16 11:05:55 +08:00
Tian Hao
21d2b78105
component/bt : mv some define to btc
...
1. Actually, btc & api are the same module thing. So the type defined in api header file can be included by btc c/h files.
Besides, why btc & api should be separated, because that user may be aware of api and api refer defines/types, rather than other non-refer things.
All defines/types that user won't use should be put in btc directory (and define with prefix "btc_"), and which will be used by user should be defined with prefix "esp_" .
2. rename attribute value(all is value, not data)
2016-11-16 02:10:37 +08:00
Wangjialin
d7599ab16d
driver: fix header file warnings for Doxygen.
2016-11-16 01:31:02 +08:00
Tian Hao
229df65cfc
component/bt : cleanup id/uuid define
...
1. which named uuid is esp_bt_uuid_t type
2. which named id is xxx_id_t type, such as service_id_t char_id_t, include inst & uuid
3. share include directory
2016-11-16 00:34:48 +08:00
Tian Hao
521ef3f579
component/bt : new architectecture
...
1st compile ok
2016-11-15 20:56:15 +08:00
Dong Heng
cf8c9770a0
Merge branch 'master' into feature/bignum_rsa
2016-11-15 16:39:29 +08:00
Dong Heng
4d25986aaa
Merge branch 'master' into feature/openssl
2016-11-15 15:20:48 +08:00
Dong Heng
dfaac25a37
feature/openssl: add openssl server demo and remove some check function
2016-11-15 15:04:21 +08:00
wangmengyang
ea75dc7064
component/bt: bug fix for hci data packet reassembler
...
1. bugfix for hci data packet reassembler
2. create new file btif_avk.c originated from btif_av.c to eliminate the avrc related logic
2016-11-15 14:32:22 +08:00
Wangjialin
a8a51a2786
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)
2016-11-15 13:47:51 +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
Ivan Grokhotkov
1b25795f5d
Merge branch 'feature/change_default_hostname' into 'master'
...
tcpip_adapter: add set hostname interface
Add the function for change the network interface's hostname
See merge request !170
2016-11-15 12:28:39 +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
liuhan
fa1d5bfbc7
tcpip_adapter: add set hostname interface
2016-11-15 11:46:52 +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
Angus Gratton
09c7ccfa2c
bootloader: Fix unused variable errors when secure boot is disabled
2016-11-14 14:22:37 +11:00
Angus Gratton
0b4fe9dd6d
secure boot: Add warnings this feature is not finished yet
2016-11-14 14:22:36 +11:00
Jeroen Domburg
045a53a7e5
Fix wdt idle hook
2016-11-14 10:20:49 +08:00
Dong Heng
734c1dd954
components/openssl: sync the code form esp8266 sdk
2016-11-14 09:40:12 +08:00
Angus Gratton
8691b54758
secure boot: Rename efuse option for UART bootloader to option for ROM interpreter
2016-11-14 11:08:42 +11:00
Angus Gratton
bcdebda8e4
Build system: Don't shell-quote SEPARATOR variable or it evaluates as a bunch of wildcards!
2016-11-14 11:08:42 +11:00
Angus Gratton
5a5e19cd8b
Bump esptool revision (espefuse.py fixes)
2016-11-14 11:08:42 +11:00
Angus Gratton
e459f803da
secure boot: Functional partition table & app signature verification
2016-11-14 11:08:42 +11:00
Angus Gratton
fe66dd85f0
secure boot: Enable based on sdkconfig, remove "secure boot flag" from binary image
2016-11-14 11:08:42 +11:00
Angus Gratton
ff1b2c6039
partition_table: Pad generated table to 0xC00 length, for easier signing
2016-11-14 11:08:42 +11: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
Angus Gratton
64f3893cb9
secure boot: Derive secure bootloader key from private key
...
Means only one key needs to be managed.
2016-11-14 11:08:42 +11:00
Angus Gratton
b5de581399
Secure boot: initial image signature support
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
Jeroen Domburg
fdf3db1959
Comment fix
2016-11-11 12:26:42 +08:00
Xia Xiao Tian
7b77daaea4
wps: add blocking param for API esp_wifi_wps_start()
2016-11-11 10:51:33 +08:00
Angus Gratton
341593f7d2
build system: Remove need for $(Q) macro in recipes, use --silent in MAKEFLAGS instead
2016-11-11 12:32:47 +11:00
Liu Zhi Fu
2f6d71ff8c
esp32: merge amsdu
...
esp32 now can support AMSDU
2016-11-10 21:12:22 +08:00
Jeroen Domburg
eb067ce908
Merge branch 'driver_merge_tmp/merge_uart' into 'master'
...
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
See merge request !146
2016-11-10 18:11:21 +08:00
Jeroen Domburg
07c30f22b5
Add core info to xt interrupt api
2016-11-10 18:04:23 +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