Ivan Grokhotkov
1ee729336f
Merge branch 'feature/http_server_wildcard_uri' into 'master'
...
Wildcard URI matching for http_server
See merge request idf/esp-idf!3973
2019-01-14 19:44:54 +08:00
Paul Reimer
a1204f8b16
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store
...
Signed-off-by: Chirag Atal <chirag.atal@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2654
2019-01-14 08:25:56 +00:00
Anurag Kar
21878d1bbf
HTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in https://github.com/espressif/esp-idf/pull/2581#issuecomment-430788473
2019-01-14 08:59:55 +05:30
Anurag Kar
416c55e7f0
HTTP Server : Add uri_match_fn field in config structure which accepts custom URI matching functions of type httpd_uri_match_func_t and defaults to basic string compare when set to NULL.
...
Move static uri_matches() function to httpd_uri_match_wildcard() under esp_http_server.h and make it optional.
2019-01-14 08:59:55 +05:30
Anurag Kar
107f52c4fc
HTTP Server : Add helper APIs for sending string content
...
Note : In future consider deprecating usage of -1 for setting
buffer length equal to string length in APIs httpd_resp_send()
and httpd_resp_send_chunk()
2019-01-14 08:36:18 +05:30
Renz Christian Bagaporo
62f1f9f87a
otatool, parttool: Fix permission denied error on Windows
2019-01-14 06:05:39 +08:00
Liu Zhi Fu
4b234b0805
esp32: fix the incorrect tx complete state issue
2019-01-12 09:39:59 +08:00
Jiang Jiang Jian
c22e04f5b3
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'
...
esp32: fix wrongly deleting hardware BA index bug
See merge request idf/esp-idf!4101
2019-01-12 09:37:03 +08:00
Wangjialin
d518a19d95
driver(ledc): fix ledc fade API and update the register header file
...
1. fix error when fading is too fast
2. fix error when setting duty and update immediately
3. update register header file to be in accord with TRM
closes https://github.com/espressif/esp-idf/issues/2903
2019-01-12 00:56:38 +08:00
Ivan Grokhotkov
72b3c6d6b8
Merge branch 'feature/check_kconfig' into 'master'
...
Check the style of Kconfig files
See merge request idf/esp-idf!3971
2019-01-11 21:14:27 +08:00
Roland Dobai
00eefe0ef3
Check & correct Kconfig files
2019-01-11 13:05:55 +01:00
aleks
e3a786f2cf
examples: change max register area size to maximum value
...
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;
TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884
2019-01-11 09:49:11 +01:00
Liu Zhi Fu
85f018edbc
esp32: fix wrongly deleting hardware BA index bug
...
Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.
2019-01-11 16:31:01 +08:00
Ivan Grokhotkov
065b99f28b
Merge branch 'bugfix/unix_makefile_build_on_windows' into 'master'
...
CMake: Fix build error when using Windows command line and MinGW generator
See merge request idf/esp-idf!3997
2019-01-11 16:09:28 +08:00
Ivan Grokhotkov
ad5d81df04
Merge branch 'feature/mqtt_before_connect_event' into 'master'
...
MQTT support for fragmented and packed messages
See merge request idf/esp-idf!3743
2019-01-11 15:38:23 +08:00
Ivan Grokhotkov
1da00b3555
Merge branch 'bugfix/Cmake_support_dhcp_state' into 'master'
...
Added Cmake support for dhcp_state
See merge request idf/esp-idf!3804
2019-01-11 15:23:40 +08:00
Ivan Grokhotkov
a3e3d00cf0
Merge branch 'test/unit_test_multi_devices_case_pass_param_by_signals' into 'master'
...
unit-test-app: support passing parameter with signals
See merge request idf/esp-idf!3960
2019-01-11 15:23:19 +08:00
Ivan Grokhotkov
cdbe1d4d5b
Merge branch 'bugfix/mdns_udp_send_protected' into 'master'
...
mdns networking udp send protected
See merge request idf/esp-idf!3969
2019-01-11 15:20:09 +08:00
Ivan Grokhotkov
aa0c82b9cf
Merge branch 'bugfix/vfs_ut_performance' into 'master'
...
VFS: move all functions into RAM which are called in the performance test
See merge request idf/esp-idf!4047
2019-01-11 14:09:02 +08:00
Ivan Grokhotkov
da15be6dd0
Merge branch 'bugfix/fatfs_perf_test' into 'master'
...
fatfs: bypass newlib buffering in performance test
See merge request idf/esp-idf!4076
2019-01-11 14:05:58 +08:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +08:00
Konstantin Kondrashov
82c5e648ad
esp32: Fix wdt settings in esp_restart_noos
...
Fixed compatibility the new apps with the old bootloaders.
Closes: https://github.com/espressif/esp-idf/issues/2927
2019-01-10 20:22:26 +08:00
He Yin Ling
7c59207351
test: add test to check wifi conneciton between sta and softap
2019-01-10 09:51:17 +00:00
MartinValik
e3428adf87
Added Cmake support for dhcp_state
2019-01-10 07:51:54 +00:00
Jiang Jiang Jian
097597b978
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'
...
esp32: do defragmentation only for data and management frame
See merge request idf/esp-idf!4072
2019-01-09 15:54:05 +08:00
chenjianqiang
bd8733f74f
feature(psram): add psram support for esp32-pico chip
...
1. esp32-pico use standard spi driver to access psram
2. for esp32-pico, flash and psram share the clock
3. for esp32-pico, psram cs io can be overwrite via menuconfig
2019-01-09 10:49:07 +08:00
Jiang Jiang Jian
e931fe9f57
Merge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'
...
tcpip: fix mbox thread-safe issue
See merge request idf/esp-idf!4002
2019-01-09 10:20:50 +08:00
Ivan Grokhotkov
456efd3d57
Merge branch 'bugfix/timer_delete_dispatch_race' into 'master'
...
esp_timer: fix race between deleting the timer and executing the callback
See merge request idf/esp-idf!3992
2019-01-08 14:06:46 +08:00
XiaXiaotian
1a492f0715
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame can do
defragmentation.
2019-01-07 20:38:16 +08:00
Jitin George
e2ae69f6fb
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
2019-01-07 16:33:41 +08:00
Liu Zhi Fu
6933c103e5
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-07 13:38:11 +08:00
Ondřej Hruška
91d6b3b989
Implement wildcard URI matching for http_server
2019-01-06 03:07:13 +05:30
Ivan Grokhotkov
5339c56bc5
fatfs: bypass newlib buffering in performance test
2019-01-05 14:13:49 +08:00
Roland Dobai
c8e8044293
VFS: move all functions into RAM which are called in the performance test
2019-01-03 19:56:19 +01:00
David Cermak
f7d4a4be6a
mdns: fix networking running udp_sendif from lwip thread
2019-01-03 14:28:29 +01:00
zhangyanjiao
2d5e9d765f
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-03 17:55:06 +08:00
David Cermak
bed26be427
tcp_transport: modification of ws to read headers first in order to read the exact payload
...
closes https://github.com/espressif/esp-mqtt/issues/69
2019-01-03 09:22:40 +01:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00
Ivan Grokhotkov
227f8daef3
esp_timer: do not allow deleting timers while callbacks are dispatched
...
timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.
To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.
2019-01-03 07:14:53 +00:00
Ivan Grokhotkov
52d33e8cbd
Merge branch 'bugfix/esp_attr_sdkconfig' into 'master'
...
esp32: esp_attr.h should include sdkconfig.h
See merge request idf/esp-idf!4058
2019-01-03 03:07:52 +08:00
Ivan Grokhotkov
aba555b349
Merge branch 'bugfix/pthread_detach' into 'master'
...
Bugfix in pthread_detach() implementation
See merge request idf/esp-idf!4038
2019-01-03 03:05:16 +08:00
Angus Gratton
4a42827c4a
esp32: esp_attr.h should include sdkconfig.h
...
Reported on forum https://esp32.com/viewtopic.php?f=13&t=8669#p36395
2019-01-02 17:04:53 +11:00
Jiang Jiang Jian
c4963fc329
Merge branch 'bugfix/btdm_miscellaneous_modifications' into 'master'
...
component/bt: some miscellaneous modifications for BLE
See merge request idf/esp-idf!4032
2019-01-02 14:04:44 +08:00
Jiang Jiang Jian
1de94b7b45
Merge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'
...
component/bt: modify the BLE example to make it run with "numeric comparison" mode
See merge request idf/esp-idf!3500
2019-01-02 14:02:58 +08:00
Angus Gratton
25ab173799
Merge branch 'bugfix/https_server_cpp_support' into 'master'
...
esp_https_server : add extern C directive for C++ support
See merge request idf/esp-idf!4054
2019-01-02 13:58:37 +08:00
Jiang Jiang Jian
9874bcc8e7
Merge branch 'bugfix/remove_gatts_warning' into 'master'
...
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
See merge request idf/esp-idf!4008
2019-01-02 12:00:10 +08:00
Jiang Jiang Jian
264a76c52a
Merge branch 'feature/coex_unforce_wifi_if_no_data_buffered_in_beacon' into 'master'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream state and reduce force receiving broadcast data time
See merge request idf/esp-idf!3963
2019-01-02 11:56:15 +08:00
Anurag Kar
a6f18bda47
https_server : add extern C directive and other minor changes for C++ support
...
Closes https://github.com/espressif/esp-idf/issues/2887
2018-12-31 15:12:42 +05:30
Jiang Jiang Jian
6ae12d20ab
Merge branch 'doc/btdm_modem_sleep_EVED_mode' into 'master'
...
doc/btdm_modem_sleep_EVED_mode
See merge request idf/esp-idf!4017
2018-12-29 10:27:28 +08:00
Jiang Jiang Jian
529ba78c8c
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover' into 'master'
...
add hostname option in dhcp discover
See merge request idf/esp-idf!3937
2018-12-28 20:26:11 +08:00
Anurag Kar
f5e8e05282
pthread tests : test case added for detach functionality
2018-12-28 14:41:24 +05:30
XiaXiaotian
36c956070b
esp32: unforce wifi if receiving beacon with no data buffered in dream
...
state and reduce force receiving broadcast data time
1. If receiving beacon which indicates that there is no data buffered,
do not force to receive WiFi data.
2. If receiving beacon which indicates that there is broadcast data
buffered, reduce the time to force receiving broadcast data.
2018-12-28 17:09:45 +08:00
Anurag Kar
d816578e3a
bugfix/pthread : pthread_detach implementation fixed to correctly delete pthread object when invoked after task completion
2018-12-27 18:47:46 +05:30
Tree
68626ed494
component/bt: some miscellaneous modifications for BLE
2018-12-26 20:36:33 +08:00
qiyueixa
e3833999ea
mesh: update libs
...
1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.
2018-12-26 16:10:55 +08:00
wangmengyang
74eae4b50e
component/bt: add more information and description for bluetooth modem sleep
...
Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test
2018-12-21 19:30:20 +08:00
Jiang Jiang Jian
1f794cfff1
Merge branch 'mesh/bugfix_v3.3' into 'master'
...
wifi: fix STAs can not detect disconnection from AP when encrypt transmission is used
See merge request idf/esp-idf!3907
2018-12-21 17:27:11 +08:00
Ivan Grokhotkov
71c90ac456
Merge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'
...
examples: freemodbus port serial slave move uart mode settings into example
See merge request idf/esp-idf!3870
2018-12-21 12:13:28 +08:00
Ivan Grokhotkov
1cb65b3e5f
Merge branch 'bugfix/bbpll_wakeup_reset_2' into 'master'
...
soc/rtc: reset another BBPLL related register
See merge request idf/esp-idf!3947
2018-12-21 12:09:18 +08:00
Ivan Grokhotkov
75ef4b2242
Merge branch 'bugfix/ext_ram_bss_align' into 'master'
...
Fix crash if ext_ram_bss is unaligned length
See merge request idf/esp-idf!4000
2018-12-21 12:06:58 +08:00
Ivan Grokhotkov
cd29cffa20
Merge branch 'bugfix/mdns_crash_when_query' into 'master'
...
mdns issues when query
See merge request idf/esp-idf!3910
2018-12-21 11:57:56 +08:00
Angus Gratton
78487123bf
Merge branch 'feature/cut_len_for_header_struct' into 'master'
...
build: Add trimming PROJECT_VER and PROJECT_NAME vars
See merge request idf/esp-idf!3927
2018-12-21 07:45:22 +08:00
Renz Christian Bagaporo
d3799c8682
mbedtls: fix unix makefile build on windows command line
2018-12-20 18:23:55 +08:00
Hrishikesh Dhayagude
11a5fb8ab6
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
...
Fixes: https://github.com/espressif/esp-idf/issues/2811
The warning print "NULL value" is only kept for event
BTC_GATTS_ACT_SET_ATTR_VALUE as this can be useful in case user forgets
to set attribute value
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-12-20 14:20:56 +05:30
Jiang Jiang Jian
65142bc59e
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
...
components/bt: Configure SSP in menuconfig and fix two bugs
See merge request idf/esp-idf!3892
2018-12-20 15:31:08 +08:00
Jiang Jiang Jian
f8910cecce
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex' into 'master'
...
component/bt: fix crash when adv and scan coex and optimize duplicate scan
See merge request idf/esp-idf!3975
2018-12-20 14:59:20 +08:00
qiyueixa
ed8c5a18cb
mesh: update libs
...
1. fix STAs can not detect disconnection from AP when encrypt transmission is used.
2. fix can not find hidden APs.
3. for root, modify the active scan time to 120ms.
4. remove all rc when clear parent Wi-Fi configuration.
5. fix error in checking Wi-Fi commit ID.
2018-12-20 12:11:30 +08:00
baohongde
d601ed8023
components/bt: Fix two bugs about pairing
...
1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP
2018-12-20 11:10:52 +08:00
baohongde
9c48528fcc
components/bt: Configure SSP in menuconfig
2018-12-20 11:10:27 +08:00
Angus Gratton
e1a1c7f17c
psram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end
...
Fixes pointer arithmetic when printing size of remaining heap
2018-12-20 01:40:05 +00:00
Angus Gratton
b1f3586f7e
multi_heap: Fix bug when start of heap is unaligned
...
Alignment was accounted for in one place only.
TW27954
2018-12-20 01:40:05 +00:00
Angus Gratton
db243d092c
linker external bss: Align end of ext bss to word boundary
...
TW27954
2018-12-20 01:40:05 +00:00
Jiang Jiang Jian
14d7a63459
Merge branch 'bugfix/wifi_rx_fail' into 'master'
...
wifi: fix wifi rx fails
See merge request idf/esp-idf!3976
2018-12-19 19:12:36 +08:00
aleks
5379c941b8
examples: freemodbus port serial slave move uart mode settings into example
...
Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file
TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157
2018-12-19 08:03:18 +00:00
Angus Gratton
d453cce1b3
Merge branch 'bugfix/individual_custom_sections' into 'master'
...
linker: When using section type attributes, create unique sections
See merge request idf/esp-idf!3920
2018-12-19 15:18:26 +08:00
Angus Gratton
ad200227d2
Merge branch 'feature/add_rollback_flags' into 'master'
...
bootloader/app_update: Add a support of an app rollback.
See merge request idf/esp-idf!3547
2018-12-19 14:28:11 +08:00
Angus Gratton
769bd4a4af
linker: When using section type attributes, create unique sections
...
* Prevents section type conflict errors if (say) const & non-const data
is put into the same section (ie with DRAM_ATTR)
* Allows linker --gc-sections to remove unused custom sections
2018-12-19 04:42:04 +00:00
Angus Gratton
6dba472678
Merge branch 'bugfix/unit_test_keep_serial_port_open' into 'master'
...
unit test: Keep serial port open when running esptool
See merge request idf/esp-idf!3889
2018-12-19 07:06:17 +08:00
qiyueixa
2b83460814
wifi: fix wifi rx fails
...
1. add MAC reset.
2. update libphy.a from 4000 to 4006.
2018-12-18 23:39:54 +08:00
kooho
919a36b6b5
driver(gpio): fixed digital gpio unable hold bug during deep-sleep.
2018-12-18 17:04:12 +08:00
Konstantin Kondrashov
51133083f6
app_update: Add EXCLUDE option
...
Added two options for PROJECT_NAME and PROJECT_VER variables to exclude them from the firmware image.
Closes: https://github.com/espressif/esp-idf/issues/2803
2018-12-18 15:58:47 +08:00
Konstantin Kondrashov
7b68e346fa
build: Fix a warning from git describe
...
Fixed a fatal message when run `git describe`.
2018-12-18 15:58:22 +08:00
Wang Jia Lin
f58f39e2f0
Merge branch 'bugfix/clear_intr_status_when_init_hwtimer' into 'master'
...
bugfix(timer_group): fixed bug that init hw_timer caused cresh after system soft reset
See merge request idf/esp-idf!3945
2018-12-18 15:21:23 +08:00
Paul Abbott
be567d3eb5
driver(rmt): Fixed some RMT related issues.
...
1. Add missing get function to RMT API: rmt_get_idle_level().
2. Suppress error message from rmt_wait_tx_done() if wait_time==0 (allows for polling).
3. Remove the blank lines between parameter lists.
Merges https://github.com/espressif/esp-idf/pull/2666
2018-12-18 13:32:39 +08:00
Angus Gratton
42dcdecce2
Merge branch 'doc/network' into 'master'
...
docs: Rearrange wifi & ethernet docs under "Networking", add tcpip_adapter docs
See merge request idf/esp-idf!3890
2018-12-18 13:15:05 +08:00
kooho
e22c0cce45
driver(timer_group): fixed bug that init hw_timer caused cresh after system soft reset
...
closes https://github.com/espressif/esp-idf/issues/2756
2018-12-18 13:10:15 +08:00
Jiang Jiang Jian
1607812fef
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled' into 'master'
...
Component/bt: fix receive adv pkt when enable duplicate scan
See merge request idf/esp-idf!3783
2018-12-18 11:44:38 +08:00
Jiang Jiang Jian
fd520a94d7
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug' into 'master'
...
esp32: fix WiFi stop bug in WiFi/BT coexist mode
See merge request idf/esp-idf!3979
2018-12-18 11:40:28 +08:00
Jiang Jiang Jian
9eb2287729
Merge branch 'bugfix/btdm_prevent_light_sleep' into 'master'
...
bugfix/btdm_prevent_light_sleep
See merge request idf/esp-idf!3980
2018-12-18 11:34:50 +08:00
Angus Gratton
f6e857c2b9
unit tests: Keep serial port open when running esptool
...
* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members
2018-12-18 14:09:29 +11:00
Angus Gratton
9a08e49ca9
tcpip_adapter: Rename DHCP option types to include DHCP in the type name
2018-12-18 14:07:43 +11:00
Angus Gratton
ede47ed33a
tcpip_adapter: Update header descriptions, constify some parameters
2018-12-18 14:07:43 +11:00
Liu Zhi Fu
b3380b79d1
esp32: fix WiFi stop bug in WiFi/BT coexist mode
...
This fix includes following changes:
1. Fix the bug that esp_restart()/esp_wifi_stop() sometimes fails in WiFi/BT coexist mode.
2. Add a timer for WiFi stop and stop WiFi forcibly once the timer expires.
2018-12-17 20:33:31 +08:00
wangmengyang
561021e7f7
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility
2018-12-17 19:54:57 +08:00
David Cermak
6bb68a5a75
mdns: fixed static memory leak
2018-12-17 12:09:23 +01:00
David Cermak
c8cb4cd3c8
mdns: check all mallocs for failure and add default hook to log error with free heap
...
solves crash about _mdns_result_txt_create when stress test
2018-12-17 12:09:11 +01:00
zhiweijian
05e84cad1e
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:49:04 +08:00
Roland Dobai
e1e6c1ae0a
components: Correct the Python coding style
2018-12-17 07:52:38 +01:00
Angus Gratton
c69907a54b
Merge branch 'bugfix/ota_magic_byte_issue' into 'master'
...
bugfix/ota_magic_byte_issue: Fixes OTA magic byte error
See merge request idf/esp-idf!3936
2018-12-17 13:19:44 +08:00
Supreet Deshpande
1d4bb7cc4d
bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro
...
Replace 0xE9 by ESP_IMAGE_HEADER_MAGIC.
2018-12-17 09:56:18 +05:30
zwj
90a451c181
fix crash when adv and scan coex and optimize duplicate scan
2018-12-17 11:40:50 +08:00
Jiang Jiang Jian
5436be94b6
Merge branch 'bugfix/btdm_assert_ble_65536' into 'master'
...
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
See merge request idf/esp-idf!3966
2018-12-14 20:29:04 +08:00
Ivan Grokhotkov
da2116f55c
Merge branch 'bugfix/build_system_test_fixes_windows' into 'master'
...
Various fixes for build tests on Windows
See merge request idf/esp-idf!3944
2018-12-14 20:19:51 +08:00
Tian Hao
1a4fa06125
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
2018-12-14 17:38:52 +08:00
Jiang Jiang Jian
6cb37ecc57
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS' into 'master'
...
bugfix/btdm_modem_sleep_cowork_with_DFS
See merge request idf/esp-idf!3797
2018-12-14 14:03:56 +08:00
wangmengyang
b4299433bd
component/bt: add DRAM_ATTR attribute to global variables(bss segment) in bt.c which can be accessed in ISR
2018-12-14 11:29:00 +08:00
Jiang Jiang Jian
bc30569842
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond' into 'master'
...
Component/bt: fix save keys when auth mode without bond
See merge request idf/esp-idf!3782
2018-12-14 10:35:14 +08:00
Renz Christian Bagaporo
72cd1ac43f
mbedtls: fix issue with non idf.py build on windows
2018-12-13 20:44:29 +08:00
Jiang Jiang Jian
58a200e70c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp' into 'master'
...
Component/bt: fix auth_mode error when reconnection in SMP
See merge request idf/esp-idf!3856
2018-12-13 17:04:12 +08:00
zhiweijian
7c6211fe45
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:43:31 +08:00
Xia Xiaotian
c03f84cecf
add hostname option in dhcp discover
...
Hostname option has been removed from dhcp discover since IDFv3.2.
But it remains in dhcp request due to which ESP32 can not get IPv4 address
from some APs. Re-add hostname option to dhcp discover to solve this issue.
2018-12-13 07:05:46 +00:00
Jiang Jiang Jian
d75ab3208f
Merge branch 'test/add_case_to_detect_ds2ds_issue' into 'master'
...
test: add case to detect ds2ds issue
See merge request idf/esp-idf!3834
2018-12-13 14:49:30 +08:00
Jiang Jiang Jian
bfd22a24da
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth' into 'master'
...
Component/bt: fix accept specified sec auth error
See merge request idf/esp-idf!3770
2018-12-13 11:19:53 +08:00
Ivan Grokhotkov
0cf8d1380e
soc/rtc: reset another BBPLL related register
...
Follow-up to b21ffc8a
: an additional register needs to be reset.
Ref. https://github.com/espressif/esp-idf/issues/2711
2018-12-12 12:24:48 +08:00
David Cermak
a6b2b73f03
mdns: resolve memory leak when txt record received multiple times
2018-12-11 21:59:44 +01:00
David Cermak
31163f02d5
mdns: skip sending search when finished, not properly locked timer task
2018-12-11 21:56:01 +01:00
wangmengyang
59f34461d7
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling
...
1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation
2018-12-11 16:49:01 +08:00
Konstantin Kondrashov
dde1fd9b94
bootloader: Add support flags for rollback app
...
Added
* Set actual ota_seq if both ota are init or incorrect.
* Description of rollback
* UT tests
Closes TW15459
2018-12-11 11:54:21 +08:00
Konstantin Kondrashov
c0f5e58bdc
build: Add trimming PROJECT_VER and PROJECT_NAME vars
2018-12-11 11:23:53 +08:00
Supreet Deshpande
55d5ee1e79
bugfix/ota_magic_byte_issue: Fixes OTA magic byte error
...
On enabling flash encryption, OTA fails with magic byte error in the second chunk
if the http data is split into two or more chunks and first chunk is less than 16.
2018-12-10 17:16:38 +05:30
Ivan Grokhotkov
230147a169
Merge branch 'bugfix/nvs_test_compile_err' into 'master'
...
nvs_flash: Fix compilation of host testcases when g++-8.x is used.
See merge request idf/esp-idf!3699
2018-12-10 17:42:43 +08:00
Anton Maklakov
81bf07ed4d
test: Fix some unused identifier warnings
2018-12-10 12:34:16 +08:00
Ivan Grokhotkov
26a6b3b243
Merge branch 'feature/unity_set_test_from_gdb' into 'master'
...
unity: add a hook to run test from gdb session
See merge request idf/esp-idf!3916
2018-12-10 12:25:39 +08:00
Sagar Bijwe
fc37dc1944
nvs_flash: Fix compilation of host testcases when g++-8.x is used.
...
When std::bind is used, it requires inclusion of <functional> header.
This was not mandatory with earlier versions of g++ (4.x), may be because they
had experimental support for c++11.
2018-12-07 09:40:45 +00:00
Ivan Grokhotkov
04c511c9b5
panic: dump some instruction memory on IllegalInstruction exception
2018-12-07 16:50:00 +08:00
Ivan Grokhotkov
6c868c4bee
Merge branch 'bugfix/bbpll_wakeup_reset' into 'master'
...
soc/rtc: reset BBPLL config when enabling it
See merge request idf/esp-idf!3911
2018-12-07 14:21:59 +08:00
Ivan Grokhotkov
8b885fb935
Merge branch 'docs/add_note_for_ulp_set_wakeup_period' into 'master'
...
ulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode
See merge request idf/esp-idf!3796
2018-12-07 14:07:14 +08:00
Ivan Grokhotkov
def2a13297
Merge branch 'bugfix/app_version' into 'master'
...
app_update: Fix esp_app_desc unused var for Cmake
See merge request idf/esp-idf!3891
2018-12-07 14:06:17 +08:00
Ivan Grokhotkov
423d7b9a65
Merge branch 'bugfix/sysview_cache_err' into 'master'
...
app_trace: linker fragment fixes
See merge request idf/esp-idf!3835
2018-12-07 14:04:28 +08:00
Ivan Grokhotkov
893cb83343
Merge branch 'bugfix/vfs_unregister_nested' into 'master'
...
vfs: fix unregister removing top level VFS instead of nested
See merge request idf/esp-idf!3917
2018-12-07 14:03:34 +08:00
Ivan Grokhotkov
4e77efc36b
Merge branch 'bugfix/clang_compatibility' into 'master'
...
clang compatibility fixes
See merge request idf/esp-idf!3912
2018-12-07 14:03:05 +08:00
Konstantin Kondrashov
d4cb14bc65
app_update: Fix esp_app_desc unused var for Cmake
2018-12-07 12:04:40 +08:00
Ivan Grokhotkov
61beb16225
vfs: fix unregister removing top level VFS instead of nested
...
Credits @neoniousTR.
Fixes https://github.com/espressif/esp-idf/pull/2770
2018-12-06 19:43:49 +08:00
Ivan Grokhotkov
a646ea7993
unity: add a hook to run test from gdb session
2018-12-06 19:37:51 +08:00
Tian Hao
357f2264e6
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2018-12-06 16:54:14 +08:00
Ivan Grokhotkov
3150920cb4
heap: __builtin_return_address argument has to be a literal value
...
Clang does not accept const int as an argument of __builtin_return_address.
Ref LLVM-14
2018-12-06 16:14:14 +08:00
Ivan Grokhotkov
271a2e8e97
console, ulp: don’t use nested functions
...
These are not supported by clang
Ref LLVM-12
2018-12-06 16:12:47 +08:00
Ivan Grokhotkov
b21ffc8a0c
soc/rtc: reset BBPLL configuration after enabling it
...
A workaround to reset BBPLL configuration after light sleep. Fixes the
issue that Wi-Fi can not receive packets after waking up from light
sleep.
Ref. https://github.com/espressif/esp-idf/issues/2711
2018-12-06 14:43:24 +08:00
Jiang Jiang Jian
d3b3f1e4a3
Merge branch 'bugfix/ethernet_enable_second_failure' into 'master'
...
fix ethernet phy init timeout
See merge request idf/esp-idf!3879
2018-12-05 16:12:19 +08:00
Jiang Jiang Jian
eb27686416
Merge branch 'bugfix/btdm_bugs_caused_by_coex' into 'master'
...
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
See merge request idf/esp-idf!3860
2018-12-05 14:17:14 +08:00
Ivan Grokhotkov
37975c186d
Merge branch 'feature/pthread_name_affinity_config' into 'master'
...
pthread: make affinity and task name configurable
See merge request idf/esp-idf!3878
2018-12-05 13:46:05 +08:00
Ivan Grokhotkov
e04fd42176
Merge branch 'feature/refactoring_ota_part' into 'master'
...
bootloader/app_update: Refactoring otadata part
See merge request idf/esp-idf!3544
2018-12-05 12:59:34 +08:00
Angus Gratton
36be9b36dd
Merge branch 'bugfix/fix_menuconfig_for_windows' into 'master'
...
Fix various errors for menuconfig on Windows
Closes #50
See merge request idf/esp-idf!3848
2018-12-05 11:34:49 +08:00
Konstantin Kondrashov
f9522a0eb6
bootloader app_update: Refactoring otadata part
2018-12-05 11:20:03 +08:00
Ivan Grokhotkov
8a7b46aa90
Merge branch 'feature/anti_rollback_exp' into 'master'
...
esp32: Add firmware version to app
See merge request idf/esp-idf!3461
2018-12-05 11:10:04 +08:00
Angus Gratton
441e2d5011
Merge branch 'bugfix/register_structs_stdint' into 'master'
...
soc: Add "#include <stdint.h>" to all register structs
See merge request idf/esp-idf!3875
2018-12-05 08:05:56 +08:00
Anton Maklakov
deaecf164d
make: fix unexpected operator warning
2018-12-05 07:54:59 +08:00
Renz Christian Bagaporo
d411175e47
mbedtls, cmake: set host as unix when building in msys
2018-12-05 07:54:59 +08:00
zhiweijian
5c5799fa51
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-04 18:05:25 +08:00
morris
dc043109d7
ethernet: phy init timeout
...
When ethernet enable again after disable it before, phy init will report timeout.
The cause of this problem is that the enabling of emac clock is too late, and should be placed before phy init.
2018-12-04 17:13:48 +08:00
Jeroen Domburg
d6ee27e313
Merge branch 'feat/spi_check_length_buffer' into 'master'
...
spi: add checks for slave buffer valid and master length
See merge request idf/esp-idf!3744
2018-12-04 11:48:32 +08:00
Angus Gratton
7f32995a4c
soc: Add "#include <stdint.h>" to all register structs
...
Closes https://github.com/espressif/esp-idf/issues/2239
TW24912
2018-12-04 11:17:38 +11:00
Tian Hao
a9429ee5da
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
...
1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
2. Fix BLE assert(512) or assert(1536) in rwble.c at line 222
3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222
The #1 and #2 occurs random.
The #3 bug occurs in certain scenario:
1. If Wifi start softap and BLE is working
2. If wifi start station, but do not use normal station operation, such
as just use espnow, while BLE is working
3. Any other scenario, that wifi works without use software coexist
operation, while BLE is working(such as do advertising and ...)
4. update libcoexist.a version to v1.1.2
2018-12-03 19:41:43 +08:00
Konstantin Kondrashov
3b9cb25fe1
esp32: Add firmware version to app
...
Added a new structure esp_app_desc_t. It has info about firmware:
version, secure_version, project_name, time/date build and IDF version.
Added the ability to add a custom structure with a description of the firmware.
The esp_app_desc_t is located in fixed place in start of ROM secotor. It is located after structures esp_image_header_t and esp_image_segment_header_t.
app_version is filed from PROJECT_VER variable (if set in custom make file) or PROJECT_PATH/version.txt or git repo (git describe).
Add API to get app_desc from partition.
2018-12-03 16:52:04 +08:00
Mahavir Jain
588ecaae09
ulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode
2018-12-03 11:41:10 +05:30
Angus Gratton
3bc970c5f4
Merge branch 'bugfix/partitions_tools_style_check' into 'master'
...
Remove parttool exemption from style check
See merge request idf/esp-idf!3847
2018-12-03 12:25:39 +08:00
Angus Gratton
554cf77963
Merge branch 'bugfix/convert_to_cmake' into 'master'
...
Fix minor issue with convert_to_cmake script
See merge request idf/esp-idf!3666
2018-12-03 11:39:12 +08:00
Jiang Jiang Jian
6bd497f9ed
Merge branch 'feature/btdm_ble_full_scan_support' into 'master'
...
component/bt: Added the ble full scan supported feature.
See merge request idf/esp-idf!3820
2018-11-30 21:53:21 +08:00
Jiang Jiang Jian
e07c5a22f2
Merge branch 'doc/RF_calibration' into 'master'
...
doc: add documentation for RF calibration
See merge request idf/esp-idf!3828
2018-11-30 21:50:29 +08:00
yulong
0f3eb977cd
component/bt: Added the ble full scan supported feature.
...
1. Add the full scan swith in the menuconfig;
2. Change the bt lib in order to support ble full scan
2018-11-30 20:48:42 +08:00
Renz Christian Bagaporo
a3b581bd8c
parttool: remove exemption from style check
2018-11-30 16:39:55 +08:00
Xia Xiaotian
59761b0fcb
doc: add documentation for RF calibration
...
Add an API to erase phy namespace of NVS
2018-11-30 16:26:56 +08:00
zhangyanjiao
e621e0af8b
wifi: add code for setting wifi log level and module
2018-11-30 15:24:22 +08:00
Angus Gratton
7458c1c1e2
Merge branch 'feature/ulp-assembler-version-check' into 'master'
...
Check assembler version
See merge request idf/esp-idf!3156
2018-11-30 14:57:01 +08:00
Angus Gratton
a34a27010b
Merge branch 'feature/partition_tools' into 'master'
...
Partition level tools
See merge request idf/esp-idf!3355
2018-11-30 14:15:51 +08:00
Ivan Grokhotkov
ba844caa8a
app_trace: fix linker fragment not included in Make build
2018-11-30 11:05:43 +08:00
Ivan Grokhotkov
46a948dafa
app_trace: require timer driver to be in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/2760
2018-11-30 11:05:43 +08:00
Wangjialin
924daf7b84
bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA
...
closes https://github.com/espressif/esp-idf/issues/2494
closes https://github.com/espressif/esp-idf/pull/2493
closes https://github.com/espressif/esp-idf/pull/2496
1. Change bus reset to handle interrupted READ sequences.
2. Slow down I2C to 100khz during reset
3. If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH. So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.
2018-11-30 10:08:28 +08:00
chuck todd
e55f9c1e98
1. Slow down I2C to 100khz During Reset
...
I am stealing this delay coding from @jeremyherbert #2493 pr.
2. Change Bus Reset to handle interrupted READ sequences.
The current code does not handle interrupted READ cycles.
If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.
The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH.
So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.
3. fix typo
correct `sda_id` to `sda_io` in `i2c_master_clear_bus()` @ryan-ma found it. This typo was generated when I manually edited this patch on GitHub, I should have done a Copy/Paste operation!
2018-11-30 10:08:28 +08:00
jeremy
34c1d25c7f
reduce speed of i2c master bus reset routine and release sda
2018-11-30 10:08:28 +08:00
morris
2b165f99c4
i2c_tool: add i2c_tool example test
...
1. add example test for i2c-tools
2. make command line arguments number configurable
2018-11-30 10:08:28 +08:00
He Yin Ling
582e89eca3
test: add test case to receive ds2ds packet
2018-11-29 23:06:16 +08:00
Ivan Grokhotkov
499fdbd33d
Merge branch 'feature/fatfs_alloc_extram_option' into 'master'
...
fatfs: add option to prefer ext. RAM for internal buffers
See merge request idf/esp-idf!3821
2018-11-29 22:59:01 +08:00
Ivan Grokhotkov
bbeb62547e
fatfs: add option to prefer ext. RAM for internal buffers
2018-11-29 19:26:46 +08:00
Mahavir Jain
907b1a9032
mbedtls: align CMake build with corresponding component.mk
2018-11-29 16:23:06 +05:30
houchenyao
147447b13e
test: components/driver: i2c case
2018-11-29 18:27:58 +08:00
He Yin Ling
add7c49a26
Merge branch 'test/driver_i2s' into 'master'
...
component/driver:add i2s case
See merge request idf/esp-idf!2117
2018-11-29 14:41:09 +08:00
Wang Jia Lin
62cc522f36
Merge branch 'feature/rmt_add_api_get_free_channel' into 'master'
...
feature(rmt): Add API get rmt channel's status.
See merge request idf/esp-idf!2440
2018-11-29 11:59:39 +08:00
houchenyao
44fdca94e9
test: components/driver: i2s case
2018-11-29 11:32:40 +08:00
Angus Gratton
759185b16c
Merge branch 'bugfix/bt_ut_build_all' into 'master'
...
Fix unit test cmake build for BT
See merge request idf/esp-idf!3767
2018-11-29 09:52:55 +08:00
Ivan Grokhotkov
21b3919369
Merge branch 'bugfix/vfs_open_write_close_perf_test' into 'master'
...
Fix VFS unit test failure ("Open & write & close through VFS passes performance test")
Closes #44
See merge request idf/esp-idf!3759
2018-11-29 09:40:54 +08:00
Ivan Grokhotkov
1d2673eda5
Merge branch 'bugfix/uart_select_buffer' into 'master'
...
VFS: select() on UART should return immediately when data is buffered
See merge request idf/esp-idf!3803
2018-11-29 09:30:19 +08:00
Per Malmberg
71f57931bd
#2743 - Implemented ability to core affinity and thread name for pthreads and thus also for std::thread.
2018-11-28 20:43:09 +01:00
Roland Dobai
738c56e84a
Fix VFS_OPEN_WRITE_CLOSE_TIME unit test issue
...
Closes idf/esp-idf#44
2018-11-28 20:36:08 +01:00
Ivan Grokhotkov
98884b4f6c
Merge branch 'bugfix/sysview_trace_taskid' into 'master'
...
freertos: fix task ID sent to the trace
See merge request idf/esp-idf!3807
2018-11-29 01:45:36 +08:00
Jiang Jiang Jian
7312294648
Merge branch 'bugfix/btdm_rf_reg' into 'master'
...
fix bug to unsupport rf reg access from hci cmd
See merge request idf/esp-idf!3787
2018-11-28 21:21:20 +08:00
Jiang Jiang Jian
a134141320
Merge branch 'mesh/feature_channel_switch' into 'master'
...
mesh: add channel switch function
See merge request idf/esp-idf!3772
2018-11-28 20:11:38 +08:00
chenjianqiang
a0beff99d2
bugfix(psram): fix psram size acquisition method
...
1. Use BIT[7:5] of EID to determine psram size
2. Add ID support for 16Mbit psram
3. Remove module reset on SPI1
4. Confirmed with the vendor that only the old 32Mbit psram need special clock timing. For other psram chips, we should use standard QPI mode.
2018-11-28 17:05:37 +08:00
Wang Jia Lin
cc5673435b
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core' into 'master'
...
bugfix(uart): fix uart read error bug when using dual core.
See merge request idf/esp-idf!3521
2018-11-28 16:17:13 +08:00
Renz Christian Bagaporo
5e08698039
make: use otatool and parttool for build
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
bceec35d0e
cmake: use otatool and parttool for build
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
88c81c67b7
partition_table: implement new parttool functionality
2018-11-28 15:57:20 +08:00
kooho
da223fad4e
driver(rmt): Add API get rmt channel's status.
...
closes https://github.com/espressif/esp-idf/issues/1175
closes https://github.com/espressif/esp-idf/issues/2599
closes https://github.com/espressif/esp-idf/issues/2452
2018-11-28 07:20:45 +00:00
Anton Maklakov
87e8757569
bt: Fix unit tests build with CMake
2018-11-28 15:19:04 +08:00
He Yin Ling
19910c8729
Merge branch 'test/driver_mcpwm' into 'master'
...
test/mcpwm_case
See merge request idf/esp-idf!1831
2018-11-28 13:56:05 +08:00
Ivan Grokhotkov
8eb40bea51
freertos: pass TCB rather than the array to trace functions
2018-11-28 12:26:34 +08:00
Wang Jia Lin
70554e8caa
Merge branch 'doc/uart_lightsleep_wakeup_doc' into 'master'
...
doc(uart): update the comment of uart_set_wakeup_threshold
See merge request idf/esp-idf!3556
2018-11-28 11:35:56 +08:00
houchenyao
11faab2c5d
test: components/driver: pwm case
2018-11-28 10:42:32 +08:00
qiyuexia
1692896e5e
mesh: add channel switch function
...
1. add network channel switch function.
- users can obtain the new channel through the event MESH_EVENT_CHANNEL_SWITCH.
- the entire network will be moved to the same channel as the router without user intervention.
- if no router is in the network, users can call esp_mesh_switch_channel() on the root side to
move the entire network to their desired channel.
2. support not configuring the network channel.
3. support not configuring the router BSSID even if the router is hidden.
4. add allow_channel_switch to mesh configuration.
- if the channel is not specified, this value will be ignored.
- if the channel is specified and this value is set, when "fail" (mesh_attempts_t) times of parent selection
or look for networks are reached, device will change to perform a full channel scan for networks that could join.
- if the channel is specified and this value is set to 0, when a root is not elected, channel switch is not allowed.
but when a root appears, the root performs a full channel scan during the process of connecting to the router,
so even allow_channel_switch is set to 0, the root may still switch channel and eventually the entire network
changes channel.
5. add allow_router_switch to mesh router configuration.
- if the BSSID of router is not specified, this value will be ignored.
- if the BSSID of router is specified and this value is set, when the router of this specified BSSID fails to be found
after "fail" (mesh_attempts_t) times, the entire network is allowed to switch to another router with the same SSID.
6. modify the root to perform a full channel scan when esp_wifi_connect().
7. support handling beacon without DS Paramter Set.
2018-11-27 23:36:01 +08:00