Commit Graph

2217 Commits

Author SHA1 Message Date
Mahavir Jain
ccf89cd4bf wifi_provisioning: fix build warnings due to incorrect event handler argument type 2021-01-14 10:47:35 +05:30
Mahavir Jain
1ae280aee2 wifi_prov_mgr: increase firmware partition size
For ESP32-C3, firmware with Bluedroid host stack exceeds by ~20KB over default
allocated partition size.
2021-01-14 10:47:35 +05:30
Mahavir Jain
7d4acd9e17 wifi_prov_mgr: keep SoftAP transport as default only for ESP32S2
This allows to have default transport as BLE for all chips except
ESP32S2.
2021-01-14 10:47:35 +05:30
Mahavir Jain
9ca00064bd Merge branch 'bugfix/send_conn_close_header' into 'master'
file_serving example: Demonstrate use of connection close header from request headers

Closes IDFGH-3874

See merge request espressif/esp-idf!11922
2021-01-13 22:59:26 +08:00
Jiang Jiang Jian
755b5d617c Merge branch 'bugfix/fix_wps_example_issue' into 'master'
example: We should not check the return value of esp_wifi_connect() in any case

See merge request espressif/esp-idf!11897
2021-01-13 22:23:27 +08:00
Shubham Kulkarni
6f91d408ab file_serving example: Demonstrate use of connection close header from request headers
Closes: https://github.com/espressif/esp-idf/issues/5775
2021-01-13 13:01:15 +00:00
Liu Han
7f3bcc13d7 esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode 2021-01-11 13:47:33 +00:00
Ash
935edc9e09 rename dce parameter
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Robert Nuttall
d59ffd9128 Expose get operator name command. Add get access tech
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
xiehang
c260c223e9 example: We should not check the return value of esp_wifi_connect() in any case 2021-01-11 14:40:18 +08:00
Marius Vikhammer
9c8e4fd4c5 C3: build and run unit tests
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors

Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Ivan Grokhotkov
66ac736a8c Merge branch 'bugfix/tusb_partial_read' into 'master'
usb: Add fix for tinyusb reading

Closes IDF-2029 and IDFGH-4465

See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Andrei Gramakov
1d1896d409 tinyusb: Add fix for tinyusb reading
Closes IDF-2029
2021-01-08 14:21:26 +00:00
Euripedes Rocha Filho
61f8dc4365 examples/mqtt : Fix ssl mutual auth to use event loop
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2021-01-08 07:38:14 +00:00
Yinling He
d74eaadd56 test: add softap iperf test 2021-01-07 17:10:41 +08:00
He Yin Ling
97220af848 test: use pyecharts to replace matplotlib in iperf test 2021-01-07 17:10:41 +08:00
He Yin Ling
5197716d5d test: modify bad point check logic of Wi-Fi iperf test 2021-01-07 17:10:41 +08:00
He Yin Ling
16a488c405 test: fix iperf example errors:
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
ninh
e908a32381 put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf 2021-01-06 03:40:28 +00:00
David Cermak
1c093c48ed Examples: MQTT DS example to use ds_peripheral API 2021-01-05 12:04:36 +00:00
Shubham Kulkarni
3452e06e7e https_request example: Perform request over HTTP/1.1 to enable keepalive timeout
Closes: https://github.com/espressif/esp-idf/issues/6133
2021-01-04 15:39:39 +05:30
He Yin Ling
faeaddbd22 Merge branch 'bugfix/ci_socket_tests' into 'master'
ci: Made socket example tests more robust

Closes IDFCI-325

See merge request espressif/esp-idf!11733
2020-12-30 09:52:25 +08:00
Ivan Grokhotkov
7f3b16a99d freertos: always enable static allocation
to use it for newlib locks
2020-12-29 16:18:04 +01:00
David Cermak
25499115eb ci: Made socket tests more robust
Added common timeout
Added debug logs for both addr families
Renamed example tests to have different names
2020-12-29 13:22:54 +00:00
Marius Vikhammer
9fc771ad1b CI: change icmp example test address
Use a server that is inside the great firewall of china for CI test.
This avoid issues due to proxies, network configs etc.
2020-12-28 10:07:00 +08:00
Michael (XIAO Xufeng)
0cee6a9e17 Merge branch 'bugfix/ir_protocol_example_timeout_issue' into 'master'
ir_protocol: fix ir example timeout issue

See merge request espressif/esp-idf!11348
2020-12-24 22:42:13 +08:00
Angus Gratton
66d2c9196f example ulp_riscv: Set IDF_TARGET to esp32s2 2020-12-24 14:18:02 +11:00
Angus Gratton
01696afc34 esp32c3: Add new esp_sleep_is_valid_wakeup_gpio() function 2020-12-24 13:40:01 +11:00
Jiang Jiang Jian
1fdd83b1da Merge branch 'docs/wifi_wpa2-enterprise' into 'master'
docs:wifi: Add wifi_guide for wpa2_enterprise.

Closes WIFI-987

See merge request espressif/esp-idf!10402
2020-12-23 12:50:46 +08:00
Jiang Jiang Jian
52e66cb143 Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
component_bt/fix spp vfs demo crash when use dynamic memory

See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
David Čermák
8b82c31f59 Merge branch 'bugfix/ppp_deinit_failure' into 'master'
esp_modem: Fixed race condition on exiting PPP mode

Closes IDFGH-4151, IDF-2269, IDFGH-3828, IDFGH-4199, IDFGH-4162, IDFGH-2786, IDFGH-2568, IDFGH-3627, IDFGH-3776, IDFGH-2354, and IDFGH-3705

See merge request espressif/esp-idf!11006
2020-12-22 16:36:23 +08:00
Jiang Jiang Jian
05d48c1ea1 Merge branch 'ajust_espnow_channel_config_range' into 'master'
components/wifi: ajust espnow channel range

Closes IDFGH-4445

See merge request espressif/esp-idf!11656
2020-12-22 15:42:18 +08:00
David Cermak
55d41c3377 esp_modem: Fixed race condition on exiting PPP mode
esp_modem_stop_ppp() stops both ppp netif and switches the modem back to
command mode. IF these two actions are not synchronised, we might
experience issues of
* active PPP session trying to send/receive uart-data
* command mode already active before modem switched to it
both resulting in crashes.
Fixed by introducing the transition mode and running these actions in sequence
* set esp-modem to transition mode
* enter command mode, wait for the reply or re-sync
* close the PPP netif
* wait until the netif closes
Other fixes include ignoring certain events if modem component not ready
or not in appropriate mode:
* ignoring all UART events comming from DTE with no DCE attached
* ignore pattern detection in PPP mode

Closes https://github.com/espressif/esp-idf/issues/6013
Closes https://github.com/espressif/esp-idf/issues/5737
Closes https://github.com/espressif/esp-idf/issues/6024
Closes https://github.com/espressif/esp-idf/issues/6058
Closes https://github.com/espressif/esp-idf/issues/5563
Closes https://github.com/espressif/esp-idf/issues/5695
Closes https://github.com/espressif/esp-idf/issues/5633
Closes https://github.com/espressif/esp-idf/issues/4482
Related https://github.com/espressif/esp-idf/pull/4849
Related https://github.com/espressif/esp-idf/pull/4653
2020-12-21 16:38:20 +01:00
lly
a18304224d ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files 2020-12-21 09:08:25 +00:00
Jiang Jiang Jian
0c853a547e Merge branch 'feature/nimble_bt_wifi_coex_example' into 'master'
NimBLE: example running BLE prph & ICMP echo reply simultaneously.

Closes BT-1125

See merge request espressif/esp-idf!11094
2020-12-20 22:43:06 +08:00
Ivan Grokhotkov
41cd344c6b Merge branch 'feature/example_use_cpp_thread' into 'master'
cxx: improve experimental cxx examples

See merge request espressif/esp-idf!11638
2020-12-17 22:02:00 +08:00
aditi_lonkar
cd85c79d30 docs:wifi: Add wifi_guide for wpa2_enterprise.
Closes https://github.com/espressif/esp-idf/issues/2698
2020-12-17 10:41:41 +05:30
dongyou
65513824a7 ajust espnow channel range
Close https://github.com/espressif/esp-idf/issues/6276
2020-12-17 10:58:49 +08:00
Ivan Grokhotkov
792dc6ebb8 Merge branch 'feature/linux_target' into 'master'
build system: Add Linux target

Closes IDF-2145

See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
Jakob Hasse
5b15f37458 fix[cxx]: improve experimental cxx examples
* use std::this_thread::sleep_for instead of
  FreeRTOS sleep functions
* adjusted/added lincense headers in examples
2020-12-16 10:10:20 +08:00
Jakob Hasse
52093fa4ef linux: added linux target
* add toolchain file
* add linux to preview targets
* add stub for dfu number in cmake
* excluded unity runner per default
* Added esp_attr.h and esp_partition.h linux stubs
* component.cmake check list for emptyness
* added switch for linux in unity cmake file
* Added Linux host example app
2020-12-14 18:53:14 +08:00
morris
138c1e278f ir_protocol: fix ir example timeout issue
More detail see https://esp32.com/viewtopic.php?f=25&t=18204
2020-12-14 12:03:53 +08:00
Jakob Hasse
8282b0f9ea esp_timer: added C++ wrapper for esp_timer
Closes IDF-1074
2020-12-14 11:17:56 +08:00
Ivan Grokhotkov
b0150615df Merge branch 'test/disable_twai_example_ci' into 'master'
Temporarily disable TWAI network example test

See merge request espressif/esp-idf!11560
2020-12-13 04:15:21 +08:00
Angus Gratton
7472d76db0 Merge branch 'bugfix/after_ligth_sleep_esp_timer_forms_one_event' into 'master'
esp_timer: Add an option skip_unhandled_events

See merge request espressif/esp-idf!10969
2020-12-11 06:04:58 +08:00
Darian Leung
9b34f1c49c twai: Temporarily disable network example test
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:17:44 +08:00
liqigan
478cef9b75 fix spp vfs demo crash when use dynamic memory 2020-12-09 19:46:43 +08:00
KonstantinKondrashov
aa96c9a4d8 esp_timer: Add an option to skip unhandled events for periodic timers
- Added an option to skip unhandled events for periodic timers. Useful for light sleep.
- Added doc about this case
- Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events.
- Fixed for esp_timer_dump() if name of timer is NULL
- Refactored timer_process_alarm()
- Added the delete function after using in UTs
2020-12-09 17:19:19 +08:00
lly
b77563abb0 ble_mesh: Replace zephyr integer types with C99 types [Zephyr] 2020-12-08 15:13:04 +08:00
Chinmay Chhajed
ecfceaf7b9 NimBLE: example running BLE prph & ICMP echo reply simultaneously.
This commit adds an example in NimBLE where esp32 runs a peripheral as
well as a ping request to configured IP address. This example uses
nimble host stack.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-12-07 11:29:49 +05:30