Li Shuai
eaa6ab4dab
light sleep: add system light sleep example support
2021-01-20 22:17:24 +08:00
Aditya Patwardhan
a02be97fda
nvs_flash: Modify the default NVS initialization API with internal nvs encryption
...
handling (only when nvs encryption is enabled)
* NVS Encryption will now be turned on by default with flash encryption
* Updated the flash encryption example to shocase NVS encryption
along with information on how to configure and use NVS encryption
* Updated respective test case
* Added two partition tables for NVS encryption
i) Table 1- Single factory app, no OTA, encrypted NVS
ii) Table 2- Factory app, Two OTA, encrypted NVS
2021-01-20 11:12:14 +00:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08: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
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
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00:00
fuzhibo
d91e64cea4
driver(gpio): fix gpio can't wakeup light sleep
2020-05-12 07:15:13 +00:00
Ivan Grokhotkov
d82b60905f
Merge branch 'feature/jtag_examples' into 'master'
...
Add JTAG related example tests
Closes IDF-1147
See merge request espressif/esp-idf!8393
2020-05-05 21:40:38 +08:00
Mahavir Jain
ce2a99dc23
Merge branch 'bugfix/fix_ci_exception' into 'master'
...
Fix broken pipe exception in CI for OTA examples
See merge request espressif/esp-idf!8519
2020-05-05 18:08:42 +08:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00
Shubham Kulkarni
b1e29232ea
example_test.py: Override SimpleHTTPRequestHandler to catch broken pipe exception
2020-05-05 14:07:51 +05:30
Ivan Grokhotkov
466998d487
examples/console: add note about Ctrl+C
2020-04-29 23:46:58 +02:00
Ivan Grokhotkov
19f6da99ed
examples/console: match prompt to the target name
2020-04-29 23:44:46 +02:00
Ivan Grokhotkov
ece41b04e3
console: make empty line behavior run-time configurable
2020-04-29 23:44:46 +02:00
Michael 'ASAP' Weinrich
8a2413b5c0
Added filtering blank lines from history
2020-04-29 23:44:46 +02:00
MadnessASAP
8680394167
Break the input loop on error or EOF
2020-04-29 23:44:46 +02:00
Roland Dobai
e1dc92b60b
Add system example tests
2020-04-28 14:52:15 +02:00
Krzysztof Budzynski
e1ab4b6711
Merge branch 'bugfix/uart_echo_readme' into 'master'
...
example: Remove duplicate commands and invalid serial port information
Closes IDFGH-3022
See merge request espressif/esp-idf!8295
2020-04-11 01:52:01 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
Roland Dobai
6adb1a0609
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-08 13:17:48 +02:00
Ivan Grokhotkov
651dbe48e7
Merge branch 'feature/gcovr' into 'master'
...
app_trace: Add coverage generations by gcovr
Closes IDF-780
See merge request espressif/esp-idf!8168
2020-04-08 15:57:08 +08:00
Anton Maklakov
fa3131b870
Merge branch 'bugfix/bash_bin_env' into 'master'
...
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Closes IDFGH-708
See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02:00
fuzhibo
baa7898e35
driver(adc/dac): fix adc dac driver for esp32s2
...
1. update register file about adc; 2. fix adc driver; 3. add UT for adc/dac;
See merge request espressif/esp-idf!7776
2020-04-01 12:41:51 +08:00
Roland Dobai
26695df5c8
app_trace: Add coverage generation by gcovr
2020-03-30 13:34:06 +02:00
Angus Gratton
2415531f44
Merge branch 'refactor/esp_event_examples_new_interface' into 'master'
...
Examples: esp event examples use new register API
See merge request espressif/esp-idf!7928
2020-03-27 18:05:45 +08:00
fuzhibo
340563f479
Driver(touch): fix touch sensor driver for esp32s2.
...
1.update touch sensor driver for esp32s2;
2.update unit test for touch sensor;
3.update register files about touch sensor;
2020-03-25 22:45:57 +08:00
Jakob Hasse
1cf2312734
Examples: some examples use new event register API
...
* getting started - station
* softap
* iperf
* fast scan
* Power save
2020-03-25 10:36:47 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
Angus Gratton
b4d97a8076
Merge branch 'feature/add_heap_info_per_task_example' into 'master'
...
Add Task Heap Tracking example
See merge request espressif/esp-idf!7750
2020-03-23 14:07:00 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Shubham Kulkarni
6e09056c25
example: Add Heap Task Tracking example
2020-03-19 15:07:41 +05:30
Ivan Grokhotkov
454293159d
Merge branch 'docs/update_esp32s2_oocd_target_name' into 'master'
...
Updates OpenOCD commands
See merge request espressif/esp-idf!7906
2020-03-17 01:15:10 +08:00
Alexey Gerenkov
7ee7a6d7bb
docs: Updates OpenOCD command names
2020-03-16 19:06:47 +03:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Renz Bagaporo
7dbd77cefc
examples: split source files for one of the ulp examples
2020-03-03 16:56:14 +08:00
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
Jakob Hasse
31edd48b43
C++: Moved all C++ examples to own folder
...
* moved C++ examples to a new cxx folder in
examples
* added experimental C++ component
* added ESPException class to the C++ experimental
component
* added test cases for ESPException and
corresponding test macros
2020-02-18 12:48:57 +08:00
Renz Christian Bagaporo
bb639bb91d
ulp: use quotes when specifying files for embedding ulp binaries
2020-02-18 00:12:56 +00:00
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30
Ivan Grokhotkov
50466a5e4f
Merge branch 'bugfix/esp32s2_ldscripts' into 'master'
...
esp32s2: LD script fixes/improvements and re-enable SystemView examples
Closes IDF-1357, IDF-1354, and IDF-1346
See merge request espressif/esp-idf!7431
2020-02-05 02:09:29 +08:00
David Cermak
3f10c4af06
OTA: enable example builds for esp32s2 target
...
Closes IDF-1035
2020-01-29 15:20:42 +01:00
Ivan Grokhotkov
4145ca591f
examples: re-enable SystemView examples for esp32s2
...
Closes IDF-1357
2020-01-24 10:48:38 +01:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
KonstantinKondrashov
b49a657448
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
2020-01-15 11:02:27 +00:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Angus Gratton
30372f5a4f
Merge branch 'docs/esp_netif_programmer_manual' into 'master'
...
esp netif: formal fixes (docs and c++ sentinels again)
Closes IDFGH-2265
See merge request espressif/esp-idf!6819
2019-12-18 13:12:36 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
David Cermak
bbbdcbfe4c
esp_netif: update netsuite test example to use I/O driver configuration
...
closes https://github.com/espressif/esp-idf/issues/4403
2019-12-16 19:38:01 +00:00
Ivan Grokhotkov
522cef42ab
examples: re-enable console example for esp32s2beta
2019-12-12 14:34:15 +01:00
Ivan Grokhotkov
9859d8867d
Merge branch 'feature/sysview_json_traces' into 'master'
...
Support for converting SystemView traces to JSON format
See merge request espressif/esp-idf!5674
2019-12-09 22:46:13 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Alexey Gerenkov
b81e537b7f
apptrace: Extends SystemView heap & log example to run many allocator/freer tasks
2019-12-04 18:04:11 +03:00
houwenxiang
e4230d11ca
bugfix(UART): fix uart driver spinlock misused bug
...
1. fix uart driver spinlock misused bug
2. add uart driver ut test case
3. undo the change in light_sleep_example_main.c
2019-12-03 16:06:31 +08:00
Fu Zhi Bo
3a468a1ffd
Refactor the touch sensor driver
2019-11-27 20:08:44 +08:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
Dmitry
845b2d1cfe
Jumps change back to jumpr. because example supports esp32 only.
2019-11-22 09:03:23 +03:00
Dmitry
1518c410bc
A switch between esp32 and esp32s2betta added to the ULP build process.
...
The new bin utils will have extension esp32s2ulp-elf, and they have to be placed to the bin directory.
2019-11-22 09:03:13 +03:00
Angus Gratton
0e0994092e
Merge branch 'feature/esp32s2beta_fix_rtc_peripheral_driver' into 'master'
...
Driver: fix touch driver and deep sleep example
See merge request espressif/esp-idf!6476
2019-11-22 11:39:41 +08:00
Ivan Grokhotkov
477e66103c
Merge branch 'feature/esp32s2beta_apptrace_port' into 'master'
...
esp32s2: Adds apptrace support
Closes IDF-510 and IDF-1032
See merge request espressif/esp-idf!5610
2019-11-22 05:33:35 +08:00
Ivan Grokhotkov
8ff801766a
Merge branch 'docs/update_oocd_config_on_cmd_line' into 'master'
...
Updates OpenOCD configuration file names in documentation
See merge request espressif/esp-idf!6226
2019-11-22 05:32:35 +08:00
Ivan Grokhotkov
910f49942e
examples: fix test function name in cpp_rtti example
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
d0e1edcd53
examples: add 2 CI build/test configurations for system/console
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
871ea650f6
examples: fix sdkconfig warnings
2019-11-21 15:36:06 +01:00
fuzhibo
246242dbd5
driver: fix sens_struct.h
;
...
driver: fix timer wakeup dsleep;
example: fix EXT1 wakeup dsleep;
example: fix touch pad wakeup dsleep;
2019-11-21 20:31:34 +08:00
chenjianqiang
9f9da9ec96
feat(timer): refator timer group driver
...
1. add hal and low-level layer for timer group
2. add callback functions to handle interrupt
3. add timer deinit function
4. add timer spinlock take function
2019-11-21 14:14:19 +08:00
fuzhibo
0c2bf7c8bc
rtcio: add hal for driver
2019-11-21 10:40:49 +08:00
Angus Gratton
e510e1779d
Merge branch 'bugfix/gcov_in_components' into 'master'
...
Fixes libgcov and libapp_trace cross dependency linking issue
Closes IDF-834
See merge request espressif/esp-idf!6250
2019-11-21 07:09:04 +08:00
Alexey Gerenkov
1626f827d3
docs: Updates OpenOCD configuration file names
2019-11-18 13:33:32 +03:00
Alexey Gerenkov
30ff7198b8
apptrace: Renames Kconfig options
2019-11-13 15:24:01 +03:00
David Cermak
6e0d274f58
esp_netif: example init code fixed to assert only variables, not
...
function calls so it won't be skipped if compiled without asserts
2019-11-13 12:36:25 +01:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00
Alexey Gerenkov
5b83b198c6
gcov: Fixes libgcov and libapp_trace cross dependency linking issue
...
Closes IDF-834
2019-11-12 18:42:08 +03:00
Alexey Gerenkov
02e084e2b5
examples: Collects coverage info in component
2019-11-12 18:42:02 +03:00
Ivan Grokhotkov
18c9e306c2
examples/system: add C++ RTTI example
2019-11-06 15:30:44 +01:00
Angus Gratton
ffdb57e04d
Merge branch 'bugfix/http_client_message_complete_callback_invocation' into 'master'
...
Fix issue in http client regarding `message_complete` callback invocation
Closes IDFGH-2040
See merge request espressif/esp-idf!6413
2019-11-05 12:02:10 +08:00
Angus Gratton
8b48a8e72e
Merge branch 'feature/efuse_example' into 'master'
...
examples: Add an example efuse API usage and the group writing mode
Closes IDF-773
See merge request espressif/esp-idf!5810
2019-11-05 10:13:21 +08:00
Angus Gratton
c5ef1cae04
Merge branch 'feature/perfmon' into 'master'
...
Performance monitor component
See merge request espressif/esp-idf!4705
2019-11-04 18:25:14 +08:00
Mahavir Jain
e1a6846ac3
examples/ota: disable WiFi power save mode for optimal performance
2019-11-04 12:15:19 +05:30
Mahavir Jain
917a406c0a
Logging improvements in OTA example and component
2019-11-04 12:15:19 +05:30
Mahavir Jain
de9549936d
examples: fix handle passed to esp_https_ota_is_complete_data_received
2019-11-04 12:15:19 +05:30
Renz Christian Bagaporo
f356d54365
esp_event: revert changes in !5702
2019-11-03 16:19:30 +08:00
KonstantinKondrashov
d7fa288a6c
examples: Add an example efuse API usage
...
Added: read, write operations for the common and custom efuse tables.
Writing is possible only for CONFIG_EFUSE_VIRTUAL.
Closes: IDF-773
2019-10-30 15:43:40 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
suda-morris
fa32a4bd93
ping: refactor with new esp_ping_xxx APIs
...
This refactor is only for backwards compatible.
2019-10-22 04:38:09 +00:00
Andro Nooh
a77e69c408
lwip: add icmp echo example
...
It piggybacks on the console example to add ping support and CLI.
Merges https://github.com/espressif/esp-idf/pull/4093
2019-10-22 04:38:09 +00:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
suda-morris
81e88764d5
console: fix wrong param passed to esp_err_to_name
2019-10-14 19:49:19 +08:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Darian Leung
de682a13b1
examples: Update system examples README
...
The following commit updates the first half of the the system
example README files. Some other changes were also made:
* Updated base_mac_address example
* Moved contents in GCOV README to GCOV docs
* Some *main.c file names updated
* Updated example README template
2019-08-28 16:19:40 +08:00
Angus Gratton
a21ca2270a
Merge branch 'feature/deep_sleep_fast_wake' into 'master'
...
bootloader: Reduce the time spent in image validation when waking from deep sleep
See merge request espressif/esp-idf!5140
2019-08-28 08:54:28 +08:00
Dmitry
a0730fec2a
Performance monitor component. The component contains APIs, example and
...
documentation.
2019-08-23 11:20:12 +03:00
KonstantinKondrashov
83db8d402b
examples: Add the fast wakeup option for deep sleep examples
...
The CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is enabled
by default for the following examples:
- system/deep_sleep,
- system/ulp,
- system/ulp_adc.
2019-08-21 11:44:37 +00:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Hrudaynath Dhabe
53e7beb95b
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-08-15 21:10:00 +08:00
Angus Gratton
ee6b1399aa
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'
...
exclude rom headers in examples
Closes IDF-557
See merge request espressif/esp-idf!5051
2019-08-15 10:50:01 +08:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
Michael (XIAO Xufeng)
264ffbeb14
timer_group: use the LL
2019-08-09 13:46:31 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
fuzhibo
572084821b
add Comment for touchpad
2019-08-07 11:39:17 +08:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Anton Maklakov
75c0066f93
Fix remaining -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Ivan Grokhotkov
3c63f49591
examples: remove non-existent options from sdkconfig.defaults
2019-07-29 04:57:38 +02:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Alexey Gerenkov
2926cd09a2
gcov_example: Adds cmake target to generate report
...
Closes IDF-727
2019-07-05 12:44:35 +00:00
suda-morris
90c4827bd2
add esp_eth component
2019-06-26 10:19:23 +08:00
Jitin George
a2b5a93881
example/simple_ota_example: Fix python formatting and KConfig
2019-06-25 23:41:33 +00:00
Jitin George
83a4e4656f
example/simple_ota_example: Add support for skipping OTA server certificate CN field
2019-06-25 23:41:33 +00:00
Jitin George
9fa23bc599
example/simple_ota_example: Add example test
2019-06-25 23:41:33 +00:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
suda-morris
3f7a571c90
fix errors when ci testing for esp32
2019-06-19 15:31:47 +08:00
suda-morris
d156f0fc0f
replace strncpy with strlcpy in wifi examples for safety's sake
2019-06-17 11:25:50 +08:00
Angus Gratton
78b7b137ad
Merge branch 'feature/otatool_parttool_python_api' into 'master'
...
otatool, parttool Python API
See merge request idf/esp-idf!5077
2019-06-13 10:31:29 +08:00
Renz Christian Bagaporo
7f7a9272f0
examples: create example for both Python and CLI otatool interfaces
2019-06-11 13:17:14 +08:00
MartinValik
5268960235
Added support for NVS iterators
...
Closes https://github.com/espressif/esp-idf/issues/129
2019-06-10 16:42:39 +02:00
Ivan Grokhotkov
4b0b2c6fda
Merge branch 'feature/action_specific_flags' into 'master'
...
idf.py: add support for action specific options
Closes IDF-501, IDFGH-1276, and IDFGH-1275
See merge request idf/esp-idf!5029
2019-06-07 00:44:09 +08:00
David Cermak
684514b3d6
ci: added standard set of network suite for lwip as a part of weekend test
2019-06-04 08:27:53 +02:00
Sergei Silnov
20156f9702
idf.py: Add support for action specific options
...
Changes argument parsing mechanism from argparse to a new one, that provides better support for extensions and options that are only applicable to specific subcommands,
Breaking changes:
1. All global options should go before subcommands, i.e. `idf.py build -C ~/some/project` will not work anymore, only `idf.py -C ~/some/project build` is acceptable
2. To provide multiple values to an option like `--define-cache-entry` it's necessary to repeat option many times, i.e. `idf.py -D entry1 entry2 entry3` will not work, right way is: `idf.py -D entry1 -D entry2 -D entry3`
At the moment there are 3 options like this: `--define-cache-entry` in base list and `--test-components` and `--test-exclude-components` in the unit test extensions
3. Drops `defconfig` and `bootloader-clean` subcommands
Closes https://github.com/espressif/esp-idf/issues/3570
Closes https://github.com/espressif/esp-idf/issues/3571
2019-06-03 13:07:02 +02:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
Angus Gratton
02f2e63662
Merge branch 'feature/use_cmake_function_call_for_embedding_ulp' into 'master'
...
Use function call for embedding ULP binaries
See merge request idf/esp-idf!4242
2019-05-27 13:14:09 +08:00
suda-morris
1886d8d4ef
update ota examples to support both Wi-Fi and Ethernet
2019-05-22 17:56:10 +08:00
GOPTIONS\pfrost
897bb55482
nvs: Append _t to nvs_handle & nvs_open_mode types
...
Merges https://github.com/espressif/esp-idf/pull/3239/
2019-05-22 02:53:28 +00:00
Renz Christian Bagaporo
443850b1a8
example: update ulp example to use cmake function
2019-05-21 20:00:06 +08:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
6c0a7a66f3
Rename Kconfig options (components/app_trace)
2019-05-21 09:32:55 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
c5000c83d2
Rename Kconfig options (root)
2019-05-21 09:09:01 +02:00
Renz Christian Bagaporo
d214bb912f
examples: update with build system changes
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
c6dc47b3e2
cmake: build system changes
2019-05-13 19:57:39 +08:00
Angus Gratton
b6a24bbd25
Merge branch 'feature/esp-https-ota-basic-auth' into 'master'
...
esp_https_ota: component refactoring, bugfixes and feature additions
See merge request idf/esp-idf!4245
2019-05-10 12:39:14 +08:00
Shivani Tipnis
893c1d82f7
nvs_console: Fix type comparison
...
Closes https://github.com/espressif/esp-idf/issues/3320
2019-05-02 15:31:57 +05:30
Jitin George
64e3ab364e
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component
2019-05-02 12:29:29 +05:30
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
Ivan Grokhotkov
11355c4162
examples/system: use esp_event library to handle events
2019-04-11 12:32:03 +08:00
Ivan Grokhotkov
e37b0ad648
esp_event: move trailing semicolons out of defines
2019-04-11 12:04:58 +08:00
Alexey Gerenkov
296c9549a4
sys_view: Adds heap & log tracing example
2019-04-01 19:31:45 +03:00
Alexey Gerenkov
5ef3a64c00
sys_view: Adds heap tracing API
2019-04-01 19:31:27 +03:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
106dc05903
Merge branch 'feature/specify_includes_belonging_esp32' into 'master'
...
move esp32 chip specific includes to esp32/xxx.h
See merge request idf/esp-idf!4534
2019-03-21 18:34:08 +08:00
Angus Gratton
112c54e043
Merge branch 'doc/ota_readme_cert_cn' into 'master'
...
ota example: Mention the certificate needs CN set correctly
See merge request idf/esp-idf!4441
2019-03-21 09:26:12 +08:00
morris
956c25dedd
move esp32 chip specific includes to esp32/xxx.h
2019-03-18 17:14:05 +08:00
Ivan Grokhotkov
945bd36884
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-13 20:32:37 +08:00
Angus Gratton
8d62b0d173
ota example: Mention the certificate needs CN set correctly
2019-03-08 18:32:55 +11:00
morris
378f8f72f0
console: fix wrong timeout settiing in join command
...
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds
2. Don't clear the CONNECTED_BIT when connected to AP.
2019-03-06 18:25:10 +08:00
Angus Gratton
48d3a5804d
Merge branch 'bugfix/simple_ota_example' into 'master'
...
bugfix(simple_ota_example): Compatible with V3.1 and V3.2,because the NVS format is different
See merge request idf/esp-idf!3983
2019-03-05 13:05:53 +08:00
Darian Leung
3e25d441a5
freertos: Add real time stats example
...
The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.
2019-02-26 14:34:53 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Ivan Grokhotkov
df71c733df
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'
...
cleanup app_trace_to_host example
See merge request idf/esp-idf!4160
2019-02-15 17:06:57 +08:00
Konstantin Kondrashov
e916cf52a3
bootloader: Add support of anti-rollback
...
Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.
Closes: TW26335
2019-02-14 18:51:43 +08:00
Renz Christian Bagaporo
86c4950d2f
examples: fix specified location for event loop example test
2019-02-14 14:06:04 +08:00
Renz Christian Bagaporo
a0310e35d7
example: fix expected logging output order for esp_event example
2019-02-14 14:06:04 +08:00
Jeroen Domburg
72cca0f2a3
Proper README.md for himem example
2019-02-12 19:36:06 +08:00
morris
ed84bcee7b
cleanup app_trace_to_host example
...
1. Cleanup the README of app_trace_to_host example based on the template.
2. Remove unused header files in the example.
3. Fix typos in public header file.
2019-01-31 21:28:52 +08:00
Mahavir Jain
b912d0fa9d
esp_https_ota: add support for configurable ota buffer size
...
Closes https://github.com/espressif/esp-idf/issues/2998
2019-01-30 18:11:09 +05:30
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +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
He Yin Ling
86cc434ff1
test: get bin path from dut.app.flash_files
instead of dut.download_config
2019-01-03 09:57:47 +08:00
InfiniteYuan1
0fa31d3e31
bugfix(simple_ota): Compatible with V3.1 and V3.2
2018-12-18 14:41:12 +08:00
Konstantin Kondrashov
cf6b79581b
example: Add a support of an app rollback
2018-12-11 11:58:42 +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
Roland Dobai
57c54f96f1
examples: Fix Python coding style
2018-12-06 09:34:33 +01:00
Ivan Grokhotkov
94f2dd27d4
examples/console: don’t use raw string literals in C code
...
Raw string literals are a C++ feature, and GCC supports them for C as
an extension. Clang doesn’t support them.
Ref LLVM-11
2018-12-06 16:14: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
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
Renz Christian Bagaporo
b926764385
examples: add otatool and parttool examples
2018-11-28 17:28:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
90f5432f2a
examples: generic cmake support examples
2018-11-27 13:59:26 +08:00
Alexey Gerenkov
3139b2d533
example: Adds SystemView tracing example app
2018-11-20 04:09:39 +00:00
Ivan Grokhotkov
a5adfd0169
examples: add unit testing example
2018-11-19 12:36:31 +08:00
Renz Christian Bagaporo
5a83347bec
event: Implement event loop library
2018-10-26 13:14:19 +08:00
David Cermak
9784df1c3a
asio: examples renamed to have consistent binary names when build in make and CMake
2018-10-17 15:00:26 +02:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
morris
7bc36d23e1
ethernet: add iperf example to test real bandwidth
...
1. Add command for Ethernet based on console component.
2. Make cmd_system and iperf a component that can be referenced by other examples
3. Add "version" command to cmd_system.c
4. Clean up the README.md in all ethernet examples[TW#26525]
2018-10-08 09:51:17 +08:00
Alexey Gerenkov
f0c15e749a
gcov: use GCC API to control GCOV data dumps
2018-09-20 18:53:14 +08:00
Angus Gratton
c15d3c1ffc
examples: Copy ca_cert.pem into both example project dirs
...
Keeps projects all-in-one under a single directory.
2018-09-19 14:38:19 +10:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
514487e9a1
Merge branch 'feature/light_sleep_example' into 'master'
...
examples: add light sleep example
See merge request idf/esp-idf!3179
2018-09-13 09:00:59 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Ivan Grokhotkov
82b8db196f
examples: add light sleep example
2018-09-10 17:10:43 +08:00
krzychb
15c10b3cbe
Added missing CMakeLists.txt file to satisfy CI checks
2018-09-09 21:32:57 +02: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
Ivan Grokhotkov
8893438f08
Merge branch 'feature/cpp_exceptions_example' into 'master'
...
examples: add C++ exception handling example
See merge request idf/esp-idf!3178
2018-09-07 10:34:18 +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
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Ivan Grokhotkov
31e969aded
examples/console: add light sleep command
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
cb2876ff4e
examples: add C++ exception handling example
2018-09-04 21:00:14 +08:00
Konstantin Kondrashov
dbad72e6b5
examples/ulp: Add using esp_deep_sleep_disable_rom_logging
2018-09-04 18:21:34 +08:00