Angus Gratton
773fb42a3a
Merge branch 'bugfix/mqtt_move_kconfig_to_idf' into 'master'
...
MQTT: Moved Kconfig from esp-mqtt submodule to esp-idf to support docs genration in RTD
See merge request idf/esp-idf!3265
2018-09-14 15:05:13 +08:00
baohongde
738522f1a3
component/bt: Unlock reserve of SCN 1 for HFP
2018-09-14 06:22:58 +00:00
Ivan Grokhotkov
31c14a5ee4
Merge branch 'feature/py3_espcoredump' into 'master'
...
espcoredump: Add tests and Python3 support
See merge request idf/esp-idf!3212
2018-09-14 12:39:30 +08:00
Angus Gratton
61835faed1
Merge branch 'bugfix/tcpip_stack_size_default' into 'master'
...
Default stack size for TCPIP task increased to avoid stack overflow.
See merge request idf/esp-idf!3258
2018-09-14 12:23:35 +08:00
David Cermak
1f8bf057a0
MQTT: Moved Kconfig from esp-mqtt submodule to esp-idf to support docs genration in RTD
2018-09-14 04:22:13 +00:00
zhiweijian
d0721e8f6d
Component/bt: fix crash when test multi_connect
2018-09-14 11:18:44 +08:00
Darian Leung
3ba63a520c
freertos: Add task function wrapper
...
This commit adds an option to enclose all FreeRTOS task functions within a
wrapper function. In the case that a task function returns, the wrapper function
will log an error and abort the application immediately.
Closes #2269
Closes #2300
2018-09-14 11:07:54 +08:00
Renz Bagaporo
454d65bbab
bt: remove non-existing source file from cmakelists
2018-09-14 08:47:22 +08:00
Jiang Jiang Jian
e6e2d7ebee
Merge branch 'feature/btdm_add_adv_packet_duplicate_in_scan_duplicate' into 'master'
...
component/bt: add adv packet duplicate in scan duplicate
See merge request idf/esp-idf!2939
2018-09-13 18:16:22 +08:00
Dmitry
2ff3f8b0c8
Stack size for TCPIP task increased from 2048 to 3072.
2018-09-13 12:38:56 +03:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
62c3218981
Merge branch 'fix/spi_slave_free_cs' into 'master'
...
spi_slave: fix the issue rx dma get broken by master unexpected transaction
See merge request idf/esp-idf!3207
2018-09-13 13:50:56 +08:00
Angus Gratton
30388c7e87
cmake: Fix "make flash" & "ninja flash" targets
...
As reported on forum.
Requires a small CMake wrapper script to pick
up environment variables at flashing time.
2018-09-13 15:08:24 +10:00
Jiang Jiang Jian
60a9462f6e
Merge branch 'bugfix/optimize_BLE_memory_debug' into 'master'
...
component/bt: optimize bluetooth memory debug
See merge request idf/esp-idf!3047
2018-09-13 10:49:26 +08:00
He Yin Ling
4b41bd0cdd
test: fix incorrect tx power value in adv
2018-09-13 09:47:23 +08:00
Angus Gratton
7848cfdde7
Merge branch 'feature/mqtt_component' into 'master'
...
added tuan's mqtt library into idf
See merge request idf/esp-idf!2851
2018-09-13 09:06:09 +08:00
Renz Christian Bagaporo
944014f9f2
cmake: fix source list issues
2018-09-13 08:56:59 +08:00
negativekelvin
171f54bd7e
wpa_supplicant: more wpa2_enterprise fixes
...
Merges https://github.com/espressif/esp-idf/pull/2386
Closes https://github.com/espressif/esp-idf/issues/2383
Closes https://github.com/espressif/esp-idf/issues/2381
2018-09-12 22:29:15 +08:00
Jiang Jiang Jian
91f579d714
Merge branch 'feature/wifi_update_csi_api_and_fix_phy_dport_access_issue' into 'master'
...
esp32: update API to set CSI channel filter and HT_LTF data generating
See merge request idf/esp-idf!3180
2018-09-12 21:29:29 +08:00
negativekelvin
8e2856b83d
soc: fix CPU frequency not updated in rtc_clk_init
...
Add missing call to rtc_clk_cpu_freq_set_config
Merges https://github.com/espressif/esp-idf/pull/2398
2018-09-12 21:13:42 +08:00
Tian Hao
b9382b29fa
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 20:23:45 +08:00
zhiweijian
c462a66726
Component/bt: fix save error key in smp when reconnect
2018-09-12 19:51:59 +08:00
Ivan Grokhotkov
c4b0f00985
Merge branch 'bugfix/mdns_service_txt_set' into 'master'
...
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
See merge request idf/esp-idf!3244
2018-09-12 18:43:53 +08:00
Jiang Jiang Jian
36337da8b2
Merge branch 'bugfix/btdm_a2dp_role_mixed_up' into 'master'
...
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
See merge request idf/esp-idf!3191
2018-09-12 16:44:53 +08:00
Angus Gratton
500ee99219
Merge branch 'bugfix/fix_mcpwm_api_mismatch_bug' into 'master'
...
driver(mcpwm): Fix some mcpwm related bug
See merge request idf/esp-idf!2510
2018-09-12 14:59:02 +08:00
Ivan Grokhotkov
5acf886324
Merge branch 'bugfix/set_a_real_wakeup_period' into 'master'
...
Corrected ULP wakeup period setup API to account for time the ULP FSM spends on…
See merge request idf/esp-idf!3228
2018-09-12 14:42:53 +08:00
David Cermak
23345d2021
MQTT: Integrate esp-mqtt library into idf
...
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2018-09-12 08:00:59 +02:00
Konstantin Kondrashov
2a87f00942
partition_table: Check - partition names must be unique
2018-09-12 10:58:38 +08:00
Piyush Shah
e5e2702ca3
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
...
Allocation was happening later, causing possible use of stack variables
of caller function, which could be invalid.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2018-09-11 16:23:56 +05:30
Roland Dobai
b9e1869538
espcoredump: Add tests and Python3 support
2018-09-11 08:53:06 +02:00
zhangyanjiao
237cc88b9f
lwip: add code for sending gratuitous ARP periodically
2018-09-11 14:36:42 +08:00
Jiang Jiang Jian
9cce5f5a55
Merge branch 'bugfix/fix_the_bug_when_gateway_zero' into 'master'
...
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
See merge request idf/esp-idf!3210
2018-09-11 10:57:18 +08:00
zhiweijian
9103a04793
component/bt: add adv packet duplicate in scan duplicate
2018-09-11 02:31:11 +00:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
zhiweijian
469b8c7e8e
component/bt: optimize bluetooth memory debug
2018-09-10 09:19:19 +00:00
Angus Gratton
f9bed53ea2
Merge branch 'feature/task_wdt_add_timestamp' into 'master'
...
esp32/task_wdt: Add timestamp to message isr_twdt
See merge request idf/esp-idf!3053
2018-09-10 16:31:20 +08:00
Angus Gratton
bd1e80b3f0
Merge branch 'bugfix/esp_ipc_call_blocking' into 'master'
...
ipc: fix `esp_ipc_call_blocking` to return after callback execution is completed
See merge request idf/esp-idf!3218
2018-09-10 16:27:50 +08:00
Jiang Jiang Jian
892fc4ac3f
Merge branch 'feature/btdm_add_set_default_passkey_function' into 'master'
...
Component/bt: add set/clear static passkey function
See merge request idf/esp-idf!3128
2018-09-10 16:08:05 +08:00
Angus Gratton
c5265b12dd
Merge branch 'feature/http_client_custom_method' into 'master'
...
esp_http_client: add support OPPTIONS/SUB/UNSUB/NOTIFY methods
See merge request idf/esp-idf!3214
2018-09-10 14:44:27 +08:00
krzychb
f6b0b27026
Corrected number of FSM cycles and related description
2018-09-10 07:14:19 +02:00
krzychb
5eee2bf37d
Corrected ULP wakeup period setup API to account for time the ULP FSM spends on internal tasks before being able to execute the program. Inspired by https://esp32.com/viewtopic.php?f=2&t=7081 .
2018-09-10 07:08:12 +02:00
michael
8f88a81f30
sdio_slave: fix the recv crash when trans finish and load at the same time
2018-09-10 13:06:54 +08:00
wangmengyang
36a8cd1bf5
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-10 03:35:58 +00:00
wangmengyang
9621904cdc
component/bt: stop to initiate AVDTP connection on failure of A2DP service discovery
...
In opening state of AVDTP connection, if SDP client fails to get valid A2DP service record\
from peer SDP server, then do not initiate AVDTP connection request
2018-09-10 03:35:58 +00:00
wangmengyang
e9e3bc492b
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-10 03:35:58 +00:00
Mahavir Jain
94c571c017
ipc: fix esp_ipc_call_blocking
to return after callback execution is completed
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-09-07 14:19:35 +05:30
He Yin Ling
6f5820814f
Merge branch 'test/driver_case_review' into 'master'
...
Test/driver case review
See merge request idf/esp-idf!3206
2018-09-07 16:48:59 +08:00
Ivan Grokhotkov
7e514c11ca
Merge branch 'bugfix/http_server_strcasecmp' into 'master'
...
using case-insensitive compare for getting http header
See merge request idf/esp-idf!3155
2018-09-07 16:45:52 +08:00
Ivan Grokhotkov
457e8d4265
Merge branch 'bugfix/slow_mem_keep_rtc_noinit' into 'master'
...
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
See merge request idf/esp-idf!3213
2018-09-07 15:54:52 +08:00
Angus Gratton
4eeed31a04
Merge branch 'feature/cmake' into 'master'
...
Merge experimental CMake support to master
See merge request idf/esp-idf!3024
2018-09-07 13:44:17 +08:00
michael
2d748b5d38
spi_slave: fix the issue rx dma get broken by master unexpected transaction
2018-09-07 12:04:55 +08:00
Tuan PM
738d49e02b
esp_http_client: add support OPPTIONS/SUB/UNSUB/NOTIFY methods
2018-09-07 03:06:09 +00:00
XiaXiaotian
7d56115992
esp32: update API to set CSI channel filter and HT_LTF data generating
...
method and apply pre-read APB register dport access method to PHY
Close: https://github.com/espressif/esp-idf/issues/2337
2018-09-07 11:05:59 +08:00
Tuan PM
958bf62e5f
http_server: using case-insensitive compare for getting http header
2018-09-07 03:04:43 +00:00
zhiweijian
d12982dc6e
Component/bt: add set default passkey function
2018-09-07 10:55:44 +08:00
Angus Gratton
aab43e6dda
Merge branch 'bugfix/enlarge_ethernet_mac_stack_size' into 'master'
...
ethernet: enlarge ethernet task stack size
See merge request idf/esp-idf!3203
2018-09-07 10:47:30 +08:00
Ivan Grokhotkov
13107d5968
Merge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master'
...
sleep: add support for GPIO and UART wakeup from light sleep
See merge request idf/esp-idf!3004
2018-09-07 10:33:33 +08:00
morris
161a506f00
ethernet: enlarge ethernet task stack size
...
1. In original driver, the stack size for emac driver task "emacT" is only 2048 Bytes, which also can not be changed by user.
2. Each time when invoking "emac_start" function, it will reset emac registers, the driver should reconfig some important registers again.
2018-09-07 10:16:34 +08:00
Jiang Jiang Jian
8484b9cfd3
Merge branch 'feature/btdm_legacy_paring' into 'master'
...
component/bt: Add Legacy Pairing
See merge request idf/esp-idf!3057
2018-09-07 10:15:52 +08:00
Angus Gratton
deb46b415f
lwip: Re-add CONFIG_PPP_SUPPORT check, remove redundant CFLAGS
2018-09-06 20:23:20 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Jiang Jiang Jian
affe75a102
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len' into 'master'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len
See merge request idf/esp-idf!3186
2018-09-06 19:51:42 +08:00
houchenyao
0cfed0b79b
rmt test: add the case for bug in github[ #1815 ]
2018-09-06 19:43:30 +08:00
houchenyao
47fcdeaa0b
rmt test: add case test test the bug of re-install problem
...
add pending bug case:rmt_tx_stop function cause the re-install fail when rmt_config_t.tx_config.loop_en==true
2018-09-06 19:43:30 +08:00
houchenyao
09dd1034de
rmt test: add case to check memory block.
...
add RMT channel num and memory block relationship test case to check the memory block range is used in right way.
2018-09-06 19:43:30 +08:00
houchenyao
836d01dcea
ledc test: ignore one case.
...
a bug caused by pcnt. it will fail randomly caused by PCNT bug. It will open when PCNT problem is resolved
2018-09-06 19:43:30 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
houchenyao
f647ea81cc
pcnt test: ignore pcnt two test cases
...
a bug caused by pcnt. these two cases has about 10% fail ratio. they fail randomly in CI. stress test needed. they are ignored until this bug fixed.
2018-09-06 19:42:20 +08:00
Ivan Grokhotkov
281345c53a
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
...
Fixes a bug that if application uses RTC_NOINIT variables but doesn’t
use RTC_DATA variables, then RTC_NOINIT variables loose their values
after deep sleep.
Reported in https://esp32.com/viewtopic.php?f=2&t=7045&p=30301#p30299
2018-09-06 18:31:17 +08:00
houchenyao
22ac8cf424
ledc test: test low speed mode frequency.
...
remove the comment to test the scenario that ledc in low speed mode frequency can be changed, to make sure the bug has been resolved
2018-09-06 17:44:39 +08:00
houchenyao
98c868ff09
gpio test: add GPIO multi-level interrupt test
...
add case to test the bug of v3.0. If we trigger the level interrupt more than once, will cause the interrupt be triggered many times
2018-09-06 17:43:23 +08:00
Ivan Grokhotkov
599da58070
Merge branch 'feature/disable_rom_logging' into 'master'
...
esp32/sleep: Add a function to disable logging from ROM code
See merge request idf/esp-idf!3182
2018-09-06 16:11:23 +08:00
Ivan Grokhotkov
09d0b8d47b
sleep: allow esp_sleep_get_wakeup_cause to be used for light sleep
2018-09-06 15:42:34 +08:00
Ivan Grokhotkov
cf4f2c19e4
sleep: allow disabling all wakeup sources
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
75629b7fc3
sleep: add support for GPIO and UART wakeup from light sleep
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
002d913ab6
uart: add function to set light sleep wakeup threshold
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
1c5522575e
driver/gpio: support wakeup function for RTC IOs
2018-09-06 15:40:46 +08:00
zhangyanjiao
770e413d4c
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
...
Closes: https://github.com/espressif/esp-idf/issues/2344
2018-09-06 14:52:04 +08:00
Jiang Jiang Jian
5c3ca78a07
Merge branch 'bugfix/btdm_discovery_ble' into 'master'
...
component/bt : fix bug that set discovery mode will stop ble adv
See merge request idf/esp-idf!3183
2018-09-06 14:18:11 +08:00
Jiang Jiang Jian
e675c3cfed
Merge branch 'test/split_test_env_for_integration_test' into 'master'
...
test: split CI test environment
See merge request idf/esp-idf!3099
2018-09-06 13:09:11 +08:00
Angus Gratton
0bc5dcc2c2
cmake: Post-merge fixups
2018-09-06 11:14:30 +08:00
zhangyanjiao
8d698a59f4
defination: fix the bug that esp_derive_local_mac() defination missing
...
Closes: https://github.com/espressif/esp-idf/issues/2352
2018-09-05 14:36:37 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
Ivan Grokhotkov
52477d77fb
Merge branch 'bugfix/nvs_doc' into 'master'
...
nvs_flash: Minor changes to NVS documentation
See merge request idf/esp-idf!3192
2018-09-05 10:20:34 +08:00
He Yin Ling
b9f7e0a1a2
test: split CI test environment:
...
Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.
2018-09-05 01:45:48 +00:00
Sagar Bijwe
db7c257f33
nvs_flash: Minor changes to NVS documentation
...
1) Change API doc to reflect new limits on string and blob length.
2) Add "version" field to Page Header structure in README.
Fixes: https://github.com/espressif/esp-idf/issues/2321
2018-09-04 18:51:31 +05:30
baohongde
bd8b9960d5
component/bt: Add Legacy Pairing
2018-09-04 21:11:03 +08:00
Ivan Grokhotkov
6d865c6104
Merge branch 'feature/termios' into 'master'
...
Add basic support for termios.h
See merge request idf/esp-idf!3085
2018-09-04 20:42:21 +08:00
Ivan Grokhotkov
97b2281c49
Merge branch 'bugfix/can_driver_multiple_bugs' into 'master'
...
CAN: Add pm_lock, fix gpio bug, update docs
See merge request idf/esp-idf!3138
2018-09-04 20:34:06 +08:00
Ivan Grokhotkov
2469718481
Merge branch 'bugfix/check_python_order_only_prereq' into 'master'
...
Use check_python_dependencies everywhere as order-only-prerequisite
See merge request idf/esp-idf!3174
2018-09-04 20:31:49 +08:00
wangmengyang
4e6b3936c0
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:09:07 +08:00
Angus Gratton
2ec0fd8fd6
Merge branch 'feature/signature_verify_updates' into 'master'
...
secure boot: Support signed app verification without hardware secure boot
See merge request idf/esp-idf!2814
2018-09-04 18:56:47 +08:00
Tian Hao
069f495006
component/bt : fix bug that set discovery mode will stop ble adv
...
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.
Reference to https://github.com/espressif/esp-idf/issues/2306
2018-09-04 17:07:10 +08:00
Konstantin Kondrashov
38098b713f
esp32/sleep: Add a function to disable logging from ROM code
2018-09-04 16:03:18 +08:00
Jiang Jiang Jian
b91cf5a33f
Merge branch 'bugfix/esp_bt_mem_release' into 'master'
...
components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
See merge request idf/esp-idf!3121
2018-09-04 14:17:10 +08:00
Angus Gratton
e54f3d9616
Merge branch 'bugfix/bootloader_random_in_app' into 'master'
...
esp32: Allow bootloader_random.h use in app, add esp_fill_random() function
See merge request idf/esp-idf!3124
2018-09-04 10:39:12 +08:00
Angus Gratton
49656656c3
Merge branch 'bugfix/lock_up_if_supply_is_varying' into 'master'
...
bootloader_support: Fix enable wdt for resolve issue with varying supply
See merge request idf/esp-idf!2769
2018-09-04 00:37:52 +08:00
Roland Dobai
f755a0371d
Use check_python_dependencies everywhere as order-only-prerequisite
2018-09-03 11:42:10 +02:00
Angus Gratton
6976f5671c
Merge branch 'bugfix/heap_dma_pool_fixes' into 'master'
...
heap: Fixes around DMA reserved pool
See merge request idf/esp-idf!3034
2018-09-03 15:43:01 +08:00
Angus Gratton
1a0b39a1b3
Merge branch 'bugfix/add_core_id_to_idle_task_name' into 'master'
...
freertos: Add core ID to idle task names
See merge request idf/esp-idf!3159
2018-09-03 14:40:37 +08:00
Konstantin Kondrashov
26ee0f5203
esp32/task_wdt: Add timestamp to message isr_twdt
...
Closes https://github.com/espressif/esp-idf/issues/2270
2018-09-03 14:31:22 +08:00
Konstantin Kondrashov
4fc84306a2
esp32/task_wdt: Add esp_task_wdt_isr_user_handler function
...
Added esp_task_wdt_isr_user_handler function to receive twdt events in
the user code.
Closes https://github.com/espressif/esp-idf/issues/2270
2018-09-03 14:31:20 +08:00
Darian Leung
977619f23c
freertos: Add core ID to idle task names
...
This commit adds the core number to the name of each idle task.
2018-09-03 13:50:05 +08:00
Konstantin Kondrashov
9c715d7946
bootloader_support: Fix enable rtc_wdt for resolve issue with varying supply
...
Eliminates the issue with the lock up in the bootloader due to a power drawdown during its operation.
Closes https://github.com/espressif/esp-idf/issues/1814
2018-09-03 05:43:01 +00:00
Angus Gratton
83a179abb0
esp32: Add esp_fill_random() function
...
Convenience function to fill a buffer with random bytes.
Add some unit tests (only sanity checks, really.)
2018-09-03 04:39:45 +00:00
Angus Gratton
767ec27350
bootloader_support: Move bootloader_random.h to public header directory
2018-09-03 04:39:45 +00:00
Angus Gratton
5f1844a0c8
Merge branch 'bugfix/heap_poison_swap_check' into 'master'
...
heap: When verifying & swapping a fill pattern, stop swapping if verification fails
See merge request idf/esp-idf!2890
2018-09-03 11:19:16 +08:00
Angus Gratton
084ca82f96
Merge branch 'feature/bootloader_minor_enhancements' into 'master'
...
Feature/bootloader minor enhancements
See merge request idf/esp-idf!3111
2018-09-03 10:56:30 +08:00
Angus Gratton
27a1758908
Merge branch 'mesh/rewrite_docs' into 'master'
...
docs/rewrite_mesh_docs
See merge request idf/esp-idf!2990
2018-09-03 10:52:33 +08:00
Darian Leung
f4c3917712
docs/rewrite_mesh_docs
...
The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.
2018-09-02 21:34:21 +08:00
Darian Leung
dc3fa14a26
CAN: Add pm_lock, fix gpio bug, update docs
...
This commit does the following
- Add power management lock to CAN driver so that APB frequency does not change
whilst CAN driver is in use
- Fix incorrect flag in can_transmit()
- Refactor can_driver_install() and can_driver_uninstall() so that critical sections
are shorter
- Fix CAN gpio configuration bug on RX pin. Closes #2302
- Add docs about multiple ID configuration and fix example links
2018-09-01 02:46:05 +08:00
Hrishikesh Dhayagude
4abe47437f
components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
...
Problem:
The new API esp_bt_mem_release() that was added freed BTDM data to heap from esp_bt_controller_mem_release().
Now with the BT memory optimization commit ee787085f9
,
the BTDM data is optimized and reduced to only 32 bytes which is not sufficient amount to be added to heap.
So, using the API leads to assert saying that the region is too small.
Solution:
Modify heap_caps_add_region_with_caps to return ESP_ERR_INVALID_SIZE in case the range is too small to create a new heap.
Do not assert if return value is ESP_ERR_INVALID_SIZE
This also fixes using API esp_bt_controller_mem_release() with ESP_BT_MODE_BTDM
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-31 14:28:23 +00:00
Jiang Jiang Jian
a557e8cc14
Merge branch 'bugfix/fix_bt_hdr_files' into 'master'
...
components/bt: Make a pass through Bluetooth header files
See merge request idf/esp-idf!3093
2018-08-31 22:04:39 +08:00
Jiang Jiang Jian
2d0124698e
Merge branch 'bugfix/btdm_update_private_address' into 'master'
...
component/bt: Update BLE private address after it's private address interval
See merge request idf/esp-idf!2987
2018-08-31 21:33:54 +08:00
Jiang Jiang Jian
4542bf19f7
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'
...
component/bt: Fix bug rfcomm test command cause crash
See merge request idf/esp-idf!3080
2018-08-31 21:33:39 +08:00
Jiang Jiang Jian
e3778d7bd9
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into 'master'
...
component/bt: Fix bug of SDP find services by uuid always return success
See merge request idf/esp-idf!3036
2018-08-31 21:27:21 +08:00
Jiang Jiang Jian
430eeef5a2
Merge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'
...
update wifi lib to fix two bugs
See merge request idf/esp-idf!3125
2018-08-31 21:01:12 +08:00
Jiang Jiang Jian
76413309a5
Merge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'
...
when brownout reset occurs, set the phy TX Power to the lowest
See merge request idf/esp-idf!2854
2018-08-31 20:37:18 +08:00
Angus Gratton
38c0626090
cmake app_update: Add "flash blank otadata" functionality to cmake
2018-08-31 12:30:14 +08:00
zhangyanjiao
b952031947
fix the esp_wifi_disconnect() err when wifi is not started or inited
...
Closes: https://github.com/espressif/esp-idf/issues/2336
2018-08-31 10:49:52 +08:00
Jiang Jiang Jian
4cd1643006
Merge branch 'bugfix/btdm_security_vulnerability' into 'master'
...
fix bluetooth security vulnerability of ECDH public key checking
See merge request idf/esp-idf!3089
2018-08-31 02:02:59 +08:00
XiaXiaotian
cfaf6c2729
esp32: reorder MPDU as AMPDU
...
Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
receive both AMPDU and MPDU in order, MPDU must be reordered with
AMPDU.
2018-08-30 17:18:48 +00:00
Roland Dobai
5395435816
Add basic support for termios.h
...
Closes https://github.com/espressif/esp-idf/issues/2063
2018-08-30 14:29:20 +02:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
zhangyanjiao
5425979932
when brownout reset occurs,set the phy TX Power to the lowest
2018-08-30 14:22:03 +08:00
Angus Gratton
c4ed9d15f7
heap: Drop priority of DMA reserved memory pool
...
Ensures that non-reserved memory should be used up first, before allocating from this pool.
2018-08-30 06:18:18 +00:00
Angus Gratton
776c57e0ac
heap: When adding a new heap, allocate its metadata block from internal memory only
2018-08-30 06:18:18 +00:00
Ivan Grokhotkov
b7e5b28f49
sdmmc: update unit tests for ESP_eMMC_TestBoard_V1
...
1. New tests for SD card on slot 0. Currently frequency for 4-bit mode
has to be reduced in the test.
2. Change pin for CD/WP tests, re-enable CD tests.
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
78fab8a0f9
sdmmc: implement partial DDR support
...
Works for 3.3V eMMC in 4 line mode.
Not implemented:
- DDR mode for SD cards (UHS-I) also need voltage to be switched to 1.8V.
- 8-line DDR mode for eMMC to be implemented later.
2018-08-30 13:11:54 +08:00
Ivan Grokhotkov
de42d99b1d
sdmmc: command layer refactoring
2018-08-30 13:11:54 +08:00
Tian Hao
5a8917c337
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:39:19 +08:00
sergiu2014
383464749a
eMMC/MMC support for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/1941
Previous work in https://github.com/espressif/esp-idf/pull/590
2018-08-30 11:36:28 +08:00
Ivan Grokhotkov
80e47a005d
sdmmc host: minor cleanup
...
Code style, comments
2018-08-30 11:36:28 +08:00
He Yin Ling
b01e87bbaf
Merge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'
...
test: fix bug of BTSTK_GATT_25007
See merge request idf/esp-idf!3096
2018-08-30 11:19:04 +08:00
Jiang Jiang Jian
9be09692b1
Merge branch 'bugfix/btdm_get_acl_num' into 'master'
...
component/bt : fix get acl number incorrect due to memory release
See merge request idf/esp-idf!3090
2018-08-30 11:12:46 +08:00
Angus Gratton
ff54bfcde1
Merge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'
...
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
See merge request idf/esp-idf!3041
2018-08-30 10:00:07 +08:00
Jiang Jiang Jian
ba17648aea
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
...
mesh: bugfix and add two APIs
See merge request idf/esp-idf!3107
2018-08-29 23:05:32 +08:00
Angus Gratton
49a910adfb
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-29 20:22:55 +08:00
Angus Gratton
cb158f1194
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-29 20:22:55 +08:00
Angus Gratton
7f06543817
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-29 20:22:55 +08:00
Mahavir Jain
8227db4f5e
spi_flash: fix erase_range for block erase check
...
Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Mahavir Jain
62746e414e
bootloader: add API for erasing flash region
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Mahavir Jain
4a987dacca
bootloader: keep bootloader_common code to retention region
...
It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Angus Gratton
393c29b656
cmake: Fix bt component dependencies
2018-08-29 19:37:25 +08:00
Angus Gratton
068a3e2f6a
cmake: Fix flasher argument generation
2018-08-29 19:37:19 +08:00
Angus Gratton
b364f23e17
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-08-29 17:05:29 +08:00
Anton Maklakov
8c040e749f
bluetooth: fix format overflow warnings
2018-08-29 14:40:28 +08:00
Anton Maklakov
779bce7681
bluetooth: fix incorrect memset size
2018-08-29 14:40:28 +08:00
Anton Maklakov
e8eb8cb2a4
bluetooth: fix missing braces and indentation
2018-08-29 14:40:28 +08:00