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
Xia Xiao Tian
3bf5fb8ae7
Merge branch 'master' into feature/modem_sleep
2016-11-15 11:47:51 +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
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
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
Xia Xiao Tian
8dc9e243ae
wpa2 enterprise: add wpa2 enterprise API and crypto files
2016-11-11 10:38:57 +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
Ivan Grokhotkov
3269653b94
Merge branch 'bugfix/nvs_lookup_failure' into 'master'
...
nvs: fix Page::findItem and Storage::findItem regression
When read caching was added, Page::findItem started modifying itemIndex reference argument even if item wasn't found.
Incidentally, Storage::findItem reused itemIndex when starting search at next page.
So,
- if the first page had a cached index (findItem was called for that page), and it pointed to a non-zero index,
- first page has a few empty items at the end (but is marked full),
- next search looked up the item on the second page,
- index of the item on the second page was less than the cached index on the first page,
then the search would fail because cached starting index was reused.
This change fixes both sides of the problem:
- Page::findItem shouldn't modify itemIndex argument if item is not found
- Storage::findItem should not reuse itemIndex between pages
Two tests have been added.
ref. TW8406
See merge request !171
2016-11-10 16:58: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
155f912433
build system: Don't build an sdkconfig for bootloader, share the top-level one
...
This works because all CONFIG variables are exported into child make processes.
2016-11-09 16:51:52 +11:00