Commit Graph

322 Commits

Author SHA1 Message Date
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
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
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
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
Shubham Kulkarni
4874f52d96 Update advanced_https_ota_example and native_ota_example to use esp_ota_abort in case of error 2020-12-03 14:49:55 +05:30
Angus Gratton
893a42e72c Merge branch 'bugfix/ci_example_test_check_performance_exception' into 'master'
CI: remove fake binary size check in example test

Closes IDFCI-255, IDFCI-256, and IDFCI-257

See merge request espressif/esp-idf!11356
2020-11-25 20:36:08 +08:00
He Yin Ling
a908174c06 test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
Michael (XIAO Xufeng)
af992c26bc Merge branch 'bugfix/fix_x32k_startup_slow_bug' into 'master'
bugfix: Fix xtal 32k not oscillate or oscillate too slowly issue for esp32

See merge request espressif/esp-idf!10519
2020-11-24 17:37:29 +08:00
chaijie
a48b5246cc ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2020-11-23 19:38:11 +08:00
Chen Yu Dong
454edcc0a8 ci: all jobs use python3 by default 2020-11-19 03:27:58 +00:00
Shubham Kulkarni
cda61a87da Update OTA example to demonstate anti_rollback feature
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00
Angus Gratton
66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Shubham Kulkarni
76860cc939 example_test.py: In ota example_test, open file in binary mode to avoid UnicodeDecodeError 2020-10-10 06:18:30 +00:00
Ivan Grokhotkov
5925d21346 Merge branch 'feature/power_consumption_graphs' into 'master'
Power consumption graphs

Closes IDF-208

See merge request espressif/esp-idf!10476
2020-09-20 21:16:29 +08:00
Martin Valik
815d9ec6bd Power consumption graphs were added to ulp and wifi power save examples
Closes IDF-208
2020-09-17 13:20:09 +02:00
Shubham Kulkarni
b930f7a96d simple_ota_example: Add example test with flash encryption enabled 2020-09-14 13:47:39 +00:00
Roland Dobai
6358f3fb8a CI: Fix regex in ulp_adc example test 2020-09-11 10:45:41 +02:00
David Čermák
6f7ae1d751 Merge branch 'bugfix/fix_netsuite_tx_wrap' into 'master'
CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes

See merge request espressif/esp-idf!10344
2020-09-11 02:15:56 +08:00
David Cermak
59471c9f3f CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes
esp-wifi introcuded wifi tx optimization in !9147 . Update needed in netsuite to pass the tx data using  function
2020-09-10 11:52:01 +02:00
Ivan Grokhotkov
b6467257b9 Merge branch 'feature/cmock_component' into 'master'
cmock as component replacing unity

See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Mahavir Jain
33d0024034 esp_https_ota: change erase to incremental during flash write 2020-09-04 12:05:06 +05:30
Jakob Hasse
20c068ef3b cmock: added cmock as component
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
Shubham Kulkarni
78356d1336 advanced_https_ota_example: Demonstrate use of init_complete_callback to set custom headers 2020-08-29 09:05:52 +00:00
Shubham Kulkarni
7d3618a86c Update OTA README to mention advanced_https_ota example and add reference to API documentation of esp_https_ota component
Closes: https://github.com/espressif/esp-idf/issues/5487
2020-08-29 09:05:52 +00:00
Roland Dobai
6a73c74d71 Follow-up improvements for the gcov example test 2020-08-24 08:29:03 +00:00
Renz Bagaporo
b30522f701 esp32, esp32s2: move sleep modes code to esp_system 2020-08-17 19:09:23 +08:00
Fu Hanxi
19ad15a1b4 modify example tests. delete unused arguments 2020-08-04 13:27:16 +08:00
fuzhibo
1568b6913d driver(touch): fix touch sensor driver redundancy 2020-07-27 03:37:29 +00:00
Alexey Gerenkov
0e3c7918e4 examples: Fixes 'apptrace_to_host' to work with updated OpenOCD tracing command 2020-07-22 06:49:27 +00:00
Felipe Neves
b6dba84323 ulp: added support to building code for riscv ULP coprocessor 2020-07-15 15:28:49 -03:00
houwenxiang
8e00522cd7 vfs: support vfs uart set line endings with specified uart number 2020-07-10 11:15:09 +08:00
Mahavir Jain
5341688c7e Merge branch 'feature/add_status_code_check' into 'master'
esp_https_ota: Add check for HTTP error codes

Closes IDFGH-3593

See merge request espressif/esp-idf!9486
2020-07-08 13:12:46 +08:00
Shubham Kulkarni
60fcf1bae6 Increase receive timeout in sdkconfig.ci to fix CI failures 2020-07-08 04:03:26 +00:00
Marius Vikhammer
a80cff924b docs: fix broken links in example READMEs 2020-07-08 10:39:33 +08:00
morris
a4d0033c03 esp_rom: extract common GPIO apis into esp_rom_gpio.h 2020-07-07 11:40:19 +08:00
Roland Dobai
b9eb7cb7f0 tools: Fix IDF Monitor so it will wait for the device to reconnect 2020-06-29 09:18:05 +02:00
Ivan Grokhotkov
3e7506ccda examples/console: error out if built with USB CDC enabled 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
b767e6191d examples/console: add check for CONFIG_ESP_CONSOLE_UART_NUM 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
9548aea3e4 examples: add console_usb example for USB CDC 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
dafc6676ae examples/console: allow not registering sleep related commands 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
cf155161c4 Merge branch 'feature/higher_level_com_gdb' into 'master'
CI: Use higher-level interaction with GDB in example tests and test apps

Closes IDF-1622

See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
Mahavir Jain
c533674120 simple_ota_example: add SPIRAM enabled configuration
This commit adds one example test case for OTA with SPIRAM
enabled configuration. Additionally it also keeps
`SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY` enabled to catch any issues
of sort "cache disabled but cached region accessed".

https://github.com/espressif/esp-idf/issues/5354
2020-06-12 05:45:02 +00:00
Fu Hanxi
bde4b1b350 ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 2020-06-11 14:22:05 +08:00
Shubham Kulkarni
c287ca1363 example_test.py: Update OTA example tests to make it compatible with python3 2020-06-09 11:58:35 +00:00
Roland Dobai
493c852b73 CI: Use higher-level interaction with GDB in example tests and test apps 2020-06-05 14:58:34 +00:00
Renz Bagaporo
e24c8eada3 examples: additional changes to app_trace example README for esp32s2 2020-06-01 17:04:12 +08:00
Renz Bagaporo
666ee00ebe examples: update app_trace pins for esp32s2 2020-06-01 17:04:12 +08:00
Renz Bagaporo
7c09cb1739 examples: update app_trace example relevant paths in README 2020-06-01 17:04:12 +08:00
Michael (XIAO Xufeng)
94ce4836ae Merge branch 'bugfix/fix_gpio_wakeup_light_sleep' into 'master'
driver(gpio): fix gpio can't wakeup light sleep

Closes IDF-1361

See merge request espressif/esp-idf!8522
2020-05-14 11:45:40 +08:00