Commit Graph

726 Commits

Author SHA1 Message Date
Ivan Grokhotkov
ef9e89062a
console: add log_level command to the example
This allows calling esp_log_level_set function from the console.
Together with CONFIG_LOG_MAXIMUM_LEVEL option, this allows enabling
logs from different tags at run time.
2022-07-15 14:51:05 +02:00
Ivan Grokhotkov
0abf886284
console: support ESP32-C2 in the 'version' command 2022-07-15 14:51:04 +02:00
Armando
5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +08:00
Chen Yudong
d54e1e8379 CI: make sure that reading of the ipv4 address has finished 2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7 CI: Improve common test methods
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
472ac26712 CI: update test cases to use different environment variables
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Chen Yudong
9575f03b8d CI: fix ip address checker and trace log 2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be common_components: add wifi connect console commands 2022-07-15 01:16:27 +08:00
Fu Hanxi
c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Fu Hanxi
f4a1f56c08 ci: remove unsupported test markers 2022-07-14 08:26:01 +08:00
Jiang Jiang Jian
ceb58a6c41 Merge branch 'ci/optimize_binary_size_for_ota_examples' into 'master'
ci: Optimize binary size for OTA examples

See merge request espressif/esp-idf!18914
2022-07-13 15:44:06 +08:00
Jiang Jiang Jian
76e77b90ed Merge branch 'ci/add_nightly_run_rules_for_jobs' into 'master'
CI: add specific job rules

Closes IDF-5474

See merge request espressif/esp-idf!18950
2022-07-12 11:01:56 +08:00
Harshit Malpani
aee57fc895 ci: Optimize binary size for OTA examples 2022-07-11 15:28:48 +05:30
Jiang Jiang Jian
86deb8c0f5 Merge branch 'bugfix/remove_ulp_tsens' into 'master'
ulp: remove ESP32 ULP TSENS references

Closes IDF-1485

See merge request espressif/esp-idf!18883
2022-07-11 16:31:43 +08:00
Chen Yudong
69e15827c9 CI: add specific job rules 2022-07-11 12:32:30 +08:00
Marius Vikhammer
6cc871d793 Merge branch 'feature/ulp_riscv_adc' into 'master'
ulp-riscv: add support for using ADC as well as an example show-casing it.

Closes IDFGH-7564 and IDF-1714

See merge request espressif/esp-idf!18767
2022-07-11 12:30:31 +08:00
Marius Vikhammer
e8b5096f52 ulp-riscv: add support for using ADC as well as an example show-casing it. 2022-07-11 09:31:22 +08:00
Jiang Jiang Jian
21a5f9713d Merge branch 'bugfix/fix_pytest_esp_timer_with_freertos_smp' into 'master'
freertos-smp: fix pytest_esp_timer test with FreeRTOS SMP enabled

Closes IDF-5373

See merge request espressif/esp-idf!18700
2022-07-10 15:52:46 +08:00
Marius Vikhammer
3d61c6d7d7 ulp: remove ESP32 ULP TSENS references
Due to poor accuracy the ESP32 ULP TSENS instructions is not recommend for use.
We keep the instruction itself to support users which are already using it,
but should remove it from examples and docs to avoid encouring any new usage of it.
2022-07-05 17:37:13 +08:00
Harshit Malpani
8dd59c948f Increase timeout in advanced OTA example test 2022-07-05 14:31:43 +05:30
Harshit Malpani
f9c25c65e1 Fix OTA example test to fix CI failures
Using `try finally` block to terminate thread
2022-07-05 14:31:43 +05:30
Sudeep Mohanty
acf3c1dd22 freertos-smp: fix pytest_esp_timer test with FreeRTOS SMP enabled
This commit adjusts the threshold for one-shot timer callback time.
2022-07-04 15:44:50 +02:00
Marius Vikhammer
4720607229 Merge branch 'bugfix/c2_mac_address' into 'master'
mac addr: fix wrong offset being used for C2 BT mac address

Closes IDF-5046

See merge request espressif/esp-idf!18717
2022-07-04 14:04:13 +08:00
Shubham Kulkarni
c13efdbc44 Merge branch 'bugfix/mark_ota_test_as_xfail' into 'master'
Mark OTA tests as xfail

See merge request espressif/esp-idf!18797
2022-07-04 12:26:42 +08:00
Harshit Malpani
573dd0187d Mark OTA tests as xfail 2022-07-01 11:45:50 +05:30
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Marius Vikhammer
4ffb15916e mac addr: fix wrong offset being used for C2 BT mac address 2022-06-28 15:30:24 +08:00
Harshit Malpani
ad1567e132 ci: fix ota anti rollback example test 2022-06-28 11:37:15 +05:30
Marius Vikhammer
c6260e66e5 system: re-enable esp_event, real_time_stats and pthread examples and test for C2 2022-06-23 02:05:46 +00:00
Harshit Malpani
a777ea6dc2 Update sdkconfig file for partial download to increase emac_rx task stack size 2022-06-16 09:03:49 +00:00
Marius Vikhammer
405ced6a83 Merge branch 'feature/s3_ulp_fsm' into 'master'
ulp-fsm: support ulp-fsm example on S3

See merge request espressif/esp-idf!18473
2022-06-16 10:30:42 +08:00
Armando (Dou Yiwen)
0b80546f8e Merge branch 'feature/new_esp_psram_component' into 'master'
esp_psram: new esp psram component

Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192

See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Armando
38e5043ae8 esp_psram: new psram component 2022-06-14 15:44:27 +08:00
Marius Vikhammer
797358f953 ulp-fsm: support ulp-fsm example on S3 2022-06-13 13:58:29 +08:00
Michael (XIAO Xufeng)
069ef38ff6 Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
This reverts commit a84faa3cef.
2022-06-13 01:51:12 +08:00
Marius Vikhammer
6e79cc69f9 re-enable riscv ulp gpio support and examples
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
Harshit Malpani
e83f801462 Update examples README to include esp32c2 as supported device. 2022-06-03 15:31:05 +05:30
Michael (XIAO Xufeng)
4e231f9dac ci: partially enable pytest for esp32c2 2022-06-02 15:07:53 +08:00
Michael (XIAO Xufeng)
f7be540222 ci: partially enable example build for esp32c2 2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Mahavir Jain
8e9bb00781 Merge branch 'bugfix/mark_ota_test_as_flaky' into 'master'
ota_example: Mark tests as flaky

See merge request espressif/esp-idf!18311
2022-05-31 13:15:11 +08:00
Jakob Hasse
97c149f73d Merge branch 'refactor/nvs_iterator_api' into 'master'
NVS: New interface for iterator functions

Closes IDFGH-6149

See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Anton Maklakov
1f5bb083b9 examples, timer: use llabs() 64-bit argument 2022-05-30 14:48:12 +07:00
Harshit Malpani
48bbfaeeba ota_example: Mark tests as flaky 2022-05-30 11:13:05 +05:30
Jakob Hasse
ad184e979a refactor (nvs)!: New interface for iterator functions
Closes https://github.com/espressif/esp-idf/issues/7826

* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
  return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
  parameters, instead of returning an new iterator.

Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
radim.karnis
3e08f355b6 tools: Use esptool v4 2022-05-26 13:59:50 +00:00
Mahavir Jain
5607018f28 Merge branch 'feature/ota_examples_pytest_migration' into 'master'
Migrate OTA example test to pytest framework

Closes IDFCI-1146

See merge request espressif/esp-idf!17767
2022-05-24 14:28:15 +08:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Harshit Malpani
448b98d3bc Update relative link for example test in README.md 2022-05-23 13:11:22 +05:30
Harshit Malpani
25f02efaa1 Migrate OTA example test to pytest framework 2022-05-23 13:11:21 +05:30
Darian Leung
7c02bde904 esp_system: Update task watchdog unit tests and example
This commit does the following:

- Update existing unit tests that use the TWDT to call the new
  esp_task_wdt_init() API
- Add a set of dedicate TWDT unit tests
- Updates the TWDT example
2022-05-13 18:01:28 +08:00
Ondrej Kosta
1a20b10fd3 Examples: common source for GPIO range in Kconfigs defined 2022-05-12 09:33:40 +02:00
morris
47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
morris
722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
morris
e7295c3577 gptimer: added enable/disable functions 2022-05-06 18:18:39 +08:00
Ivan Grokhotkov
dad4ac5251
examples: console: add a readme with an overview of examples 2022-05-04 11:34:07 +02:00
Ivan Grokhotkov
3390d2a2d1
examples: support USB_CDC and USB_SERIAL_JTAG in basic console example
Related to https://github.com/espressif/esp-idf/issues/8738
Related to https://github.com/espressif/esp-idf/issues/8879

Doesn’t implement USB_CDC (over USB_OTG peripheral) for ESP32-S3 yet;
this only works on ESP32-S2 for now. On ESP32-S3 it is now possible to
use USB_SERIAL_JTAG console.
2022-05-04 11:34:06 +02:00
Ivan Grokhotkov
11c67d175f
examples: console: move duplicated cmd_wifi files into a new component 2022-05-04 11:34:06 +02:00
Ivan Grokhotkov
32360cc1a3
examples: move console_usb example to console directory 2022-05-04 11:34:06 +02:00
Laukik Hase
1a7eac2d69
docs: Add section for server verification (esp_https_ota)
- Updated OTA example README
2022-04-29 09:50:06 +05:30
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
Marius Vikhammer
45c1d1cba2 Merge branch 'feature/move_target_kconfig_2' into 'master'
system: move kconfig options out of target component

See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
morris
373d9b3dbc Merge branch 'feature/default_clk_for_gptimer' into 'master'
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)

Closes IDF-4894

See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
Konstantin Kondrashov
04bcc17dcc Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday

See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
KonstantinKondrashov
1e0eef52d3 esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
Matus Fabo
24268d47a2 change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
Mahavir Jain
021f545f0d examples: add dependency on cert bundle configuration
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-04-06 05:10:43 +00:00
Shubham Kulkarni
779bcc8614 native_ota_example: Rename example_test.py to pytest_native_ota.py
Add type annotations
2022-03-28 03:51:21 +00:00
Shubham Kulkarni
68c246990c native_ota_example: Change example_test to use pytest framework 2022-03-28 03:51:21 +00:00
Shubham Kulkarni
3e3cde2f9f advanced_https_ota/example_test.py: Update redirect URL test to include two redirects 2022-03-24 06:23:17 +00:00
morris
08a4cff6d5 Merge branch 'bugfix/disable_touch_sleep_s3' into 'master'
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3

Closes IDF-4810

See merge request espressif/esp-idf!17562
2022-03-24 10:22:31 +08:00
Michael (XIAO Xufeng)
a84faa3cef touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
This is not supported yet.
2022-03-24 03:00:47 +08:00
Harshit Malpani
cca208f71a Check FW version at start of ota for encrypted binary 2022-03-23 11:09:48 +05:30
Marius Vikhammer
0cd07d907e CI: disable S3 sleep related example tests 2022-03-21 11:56:01 +08:00
Ivan Grokhotkov
2f9d47c708 Merge branch 'feature/gdbstub_rt_multicore' into 'master'
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)

See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Marius Vikhammer
263771a744 Merge branch 'bugfix/adjust_deepsleep_example_limit' into 'master'
ci: increase acceptence limits for deep sleep example test

See merge request espressif/esp-idf!17501
2022-03-16 16:48:10 +08:00
Michael (XIAO Xufeng)
5a2f672d5a Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
example/deep_sleep: add example of EXT0 and using internal pullups

Closes IDF-4657 and IDFGH-6711

See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Marius Vikhammer
a9a82b8b5e ci: increase acceptence limits for deep sleep example test 2022-03-16 11:23:32 +08:00
Michael (XIAO Xufeng)
fcd396a37e example/deep_sleep: add example of EXT0 and using internal pullups 2022-03-15 22:34:34 +08:00
Marius Vikhammer
ca3c056ac9 kconfig: replace deprecated options with new values 2022-03-15 16:28:53 +08:00
Marius Vikhammer
8a9ab63ecb Merge branch 'feature/system_tests_pytest_embedded' into 'master'
CI: migrated system example tests to pytest-embedded framework

Closes IDFCI-1134

See merge request espressif/esp-idf!17401
2022-03-15 09:08:31 +08:00
Mahavir Jain
c5d982b235 Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images

See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Marius Vikhammer
9918bbeb63 CI: migrated system example tests to pytest-embedded framework 2022-03-14 16:32:44 +08:00
Mahavir Jain
b57fc93585 Merge branch 'bugfix/use_decrypt_user_ctx' into 'master'
example: use decrypt_user_ctx in decryption callback

See merge request espressif/esp-idf!17460
2022-03-14 13:39:23 +08:00
Harshit Malpani
c813de50ec example: use decrypt_user_ctx in decryption callback 2022-03-11 18:05:40 +05:30
Harshit Malpani
de2f915092 esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images 2022-03-11 16:52:08 +05:30
Chen Yudong
4dc74c9c42 CI: rename some tests to avoid duplicated test names 2022-03-11 18:38:41 +08:00
Mahavir Jain
61c68b7f4d Merge branch 'contrib/github_pr_8544' into 'master'
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)

Closes IDFGH-6924

See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +08:00
MacDue
e47419374c esp_https_ota: add user_ctx to decrypt_cb
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
Mahavir Jain
4cdf2459f0 Merge branch 'contrib/github_pr_8535' into 'master'
Upgrade esp_encrypted_img version in pre-encrypted OTA example (GitHub PR)

Closes IDFGH-6915

See merge request espressif/esp-idf!17432
2022-03-10 14:46:37 +08:00
MacDue
f17a3491e5 examples/pre_encrypted_ota: update to esp_encrypted_img 2.x.x 2022-03-09 16:30:22 +00:00
MacDue
615e44f430 examples/pre_encrypted_ota: readme tweaks and link to component manager 2022-03-09 16:29:39 +00:00
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
songruojing
c8c137f2b7 esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Marius Vikhammer
8901941064 ulp: add driver dependecy for ULP riscv gpio interrupt example 2022-03-03 11:17:34 +08:00
Marius Vikhammer
706a14884f Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor

Closes IDFGH-6589

See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
Dmitry
a8c3fe56c8 This commit add to GDBstup:
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Marius Vikhammer
c974a000d7 ULP: Add example of using GPIO to wakeup the ULP-RISCV processor 2022-02-28 14:15:25 +08:00
Sudeep Mohanty
4d8a0cce29 ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-02-22 12:25:57 +05:30
Mahavir Jain
fbc9c729b2 esp_https_ota: rename config option for more clarity 2022-02-17 10:54:06 +05:30
Harshit Malpani
5a6dbaa487 feature: Pre Encrypted Binary for OTA updates
This feature enables using encrypted binaries for OTA updates

Closes https://github.com/espressif/esp-idf/issues/6172
2022-02-17 10:48:41 +05:30
Mahavir Jain
8400ff8607 examples/simple_ota: use certificate bundle in default configuration
- This allows to easily test example with different public servers
- Flash footprint impact is limited due to selection of only most common
certs from bundle.
2022-02-14 12:43:42 +05:30
Mahavir Jain
fbe4457a71
examples/ota: fix README for instructions on hosting image on github.com server
Ref: https://esp32.com/viewtopic.php?f=13&t=26076
2022-02-14 12:43:27 +05:30
Marius Vikhammer
5ef585b1b9 Merge branch 'feature/remove_frc2_timer' into 'master'
esp_timer: remove legacy ESP32 FRC timer implementation

Closes IDF-3805

See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Jiang Jiang Jian
f807b711c4 Merge branch 'test/modify_example_advanced_ota_checker' into 'master'
modify advanced ota checker line for nimble and bluedroid

Closes IDFCI-852

See merge request espressif/esp-idf!17082
2022-02-11 03:18:11 +00:00
Marius Vikhammer
edb76f14d6 esp_timer: remove legacy ESP32 FRC timer implementation. 2022-02-10 15:17:49 +08:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Lu Ai Jun
75abbcdcdd modify advanced ota checker line for nimble and bluedroid 2022-02-09 18:40:03 +08:00
Mahavir Jain
4c6d72ba90 Merge branch 'bugfix/esp32c3_sysview_examples_build_error' into 'master'
riscv: fix portSTACK_GROWTH redefinition error

See merge request espressif/esp-idf!17011
2022-02-05 05:43:05 +00:00
Michael (XIAO Xufeng)
c1b30491dd Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
UART: add uart wakeup event for esp32c3 and esp32s3

Closes IDF-3416

See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
Erhan Kurubas
e40cd91065 heap: use HEAP_TRACING_STACK_DEPTH default value for riscv 2022-02-03 14:55:49 +01:00
Erhan Kurubas
88889e2f88 esp32c3: fix portSTACK_GROWTH redefinition error 2022-02-03 14:55:49 +01:00
Anton Maklakov
7cdd151612 Merge branch 'bugfix/nocommon' into 'master'
enable and fix warnings on common symbols

Closes IDFGH-3055 and IDF-3013

See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
Sudeep Mohanty
2fc9bd61bf ulp: refactor ulp component
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.

This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Ivan Grokhotkov
7dac0abdff examples: advanced_https_ota: make some globals static 2022-01-27 11:00:09 +07:00
laokaiyao
c4cfb654d2 uart: support light sleep on esp32s3 2022-01-25 17:43:02 +08:00
Chen Wu
35941de800 debug: esp32c3 uart1 wakeup 2022-01-25 17:43:02 +08:00
Chen Yi Qun
29229ce32f simple test for uart wakeup 2022-01-25 17:43:02 +08:00
Fu Hanxi
90f8d27985 ci: use pytest-embedded 0.5.1 2022-01-24 15:55:00 +08:00
Armando (Dou Yiwen)
7967a317d6 Merge branch 'feature/add_flash_suspend_example' into 'master'
system: add an example showing how to run non-iram ISR when operating Flash

Closes IDF-4501

See merge request espressif/esp-idf!16658
2022-01-24 07:40:00 +00:00
Armando
a36e5188e9 system: add an example showing how to run non-iram ISR when operating Flash 2022-01-21 15:20:37 +08:00
Marius Vikhammer
cbe23087fc Merge branch 'feature/ulp_stop' into 'master'
ULP: add functions for stopping/restarting the ulp-riscv

Closes IDFGH-6588

See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
Marius Vikhammer
ff6f927b5f ULP: add functions for stopping/restarting the ulp-riscv
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Sudeep Mohanty
2ed15d8b1e ulp: Added ULP RISC-V support for esp32s3
This commit adds support for ULP RISC-V for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Mahavir Jain
b149ff8dda Merge branch 'bugfix/http_auto_redirect' into 'master'
esp_http_client: Added event for HTTP redirection

Closes IDFGH-6371

See merge request espressif/esp-idf!16753
2022-01-16 05:59:21 +00:00
Mahavir Jain
833f8bf6fb Merge branch 'bugfix/check_chip_id_at_start_ota' into 'master'
esp_https_ota: fix for checking chip id at start of OTA

Closes IDF-1724

See merge request espressif/esp-idf!16739
2022-01-14 04:14:01 +00:00
Harshit Malpani
c0b796532b esp_https_ota: fix for checking chip id at start of OTA 2022-01-13 15:20:26 +05:30
Harshit Malpani
1095ab0697 ci: re-enable s3 build for few examples 2022-01-12 17:46:42 +05:30
Laukik Hase
ca84d2d6c9 esp_http_client: Added event for HTTP redirect
- Allows users to manually intercept and process the HTTP redirection
 when disable_auto_redirect (from the esp_http_client handle) is set to true

Closes https://github.com/espressif/esp-idf/issues/8029
2022-01-12 11:40:32 +05:30
Ivan Grokhotkov
3edc4bbf4a perfmon: re-enable example for ESP32-S3, remove warning from the docs
Includes minor fix for formatting of code blocks in the example readme
2022-01-11 08:28:51 +01:00
morris
6bf3af7c8e examples: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
morris
02f6b83f47 app_trace: support gptimer as timestamp source 2022-01-07 14:59:09 +08:00
songruojing
e0bc3a923c esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
Marius Vikhammer
82325f6037 docs: update docs to be able to build with esp8684 2021-12-20 10:32:49 +08:00
Mahavir Jain
b208d832a3 Merge branch 'contrib/github_pr_8041' into 'master'
print Firmware Upgrade URL to help user debug (GitHub PR)

Closes IDFGH-6382

See merge request espressif/esp-idf!16387
2021-12-14 14:59:23 +00:00
Mahavir Jain
0054732991 Fix debug print to handle URL in internal testing scenarios as well 2021-12-14 14:29:02 +05:30
Harshit Malpani
66a8615c18 Fix for advanced_ota_redirect_url example failure in CI 2021-12-13 10:50:43 +05:30
Eric Fontaine
53b0263342
print Firmware Upgrade URL to help user debug 2021-12-08 12:09:42 -05:00
Fu Hanxi
ef685456ab example: use pytest-embedded to replace examples/system/console test scripts 2021-11-30 09:42:12 +08:00
david zuhn
0742790408 console: Console example prints the correct chip model
This commit updates the console example's components so that
the correct chip model name is printed instead of "Unknown"

Closes https://github.com/espressif/esp-idf/pull/7717

[darian@espressif.com: Update chip names, used const char, updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:04:56 +08:00
radim.karnis
5d55d34481 docs: Update references to esptool docs 2021-11-24 10:28:39 +01:00
Harshit Malpani
b93d63b067 Fix 'address already in use' exception in OTA tests
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-11-24 11:32:15 +08:00
Aditya Patwardhan
5d61eea847 efuse_example_test: Fix the example test ( broken due to latest change
in info message)

*Unify the log messages when UART ROM Download mode is kept enabled
2021-11-23 15:21:32 +05:30
Shubham Kulkarni
d959a35e28 advanced_https_ota: Move example tests on ethernet runners
Move BT tests to nightly run
2021-11-19 15:07:31 +05:30
Shubham Kulkarni
91ccac08f8 native_ota_example: Move all example tests to ethernet based runners 2021-11-19 15:07:31 +05:30
Shubham Kulkarni
40a72ef3cf simple_ota_example: Move redundant and failing example_tests to nightly run 2021-11-19 15:07:31 +05:30
Anton Maklakov
a7347cdf1a Merge branch 'feat/add_track_startup_time_to_startup_time_example' into 'master'
feat: Added tracking startup_time example startup times

Closes IDFCI-823

See merge request espressif/esp-idf!14976
2021-11-19 03:08:52 +00:00
KonstantinKondrashov
209702d055 esp_ipc: Update documentation and API descriptions
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
morris
2e008825a9 Merge branch 'feat/rm_makefiles' into 'master'
Build & config: Remove leftover files from the unsupported make build system

Closes IDF-4273 and IDF-2827

See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
Mahavir Jain
1e6d07d80c examples: esp_timer: disable secondary console for S3/C3 that can affect test timing 2021-11-12 17:27:07 +05:30
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Roland Dobai
9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Omar Chebib
0a3cdd4e4f Example: Fix eventfd example test and added a diagram to explain printed values 2021-11-08 14:16:04 +08:00
Alexey Gerenkov
c9bc16e35d docs: Updates apptrace menuconfig options in examples 2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bd1af716fc example/gcov: Adds support for esp32s2, esp32s3, esp32c3 and esp32h2 2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bb9cd84cdc debug_stubs: Refactor and add support for RISCV 2021-11-04 01:33:24 +03:00
KonstantinKondrashov
bf9829df5b efuse example: Fix pre-load SB test for S2, C3 (erase revoke bits) 2021-11-02 15:26:24 +08:00
Aleksei Apaseev
d2745e090f feat: Added tracking startup_time example startup times 2021-10-26 19:41:52 +08:00
morris
e2275b1f63 gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
Ivan Grokhotkov
b46183a539 Merge branch 'feature/esp_timer_example_reenable' into 'master'
examples: esp_timer: enable for all targets

Closes IDF-2022

See merge request espressif/esp-idf!15028
2021-10-18 09:43:17 +00:00
Marek Fiala
ff18a96f7d tools: replace _ with - in idf.py
Closes https://github.com/espressif/esp-idf/issues/5126
2021-10-13 17:30:38 +08:00
Kevin (Lao Kaiyao)
a9faafee3c Merge branch 'feature/touch_sensor_driver_support_for_esp32s3' into 'master'
driver(touch): support touch sensor for esp32s3 platform

Closes IDF-1784 and IDF-3302

See merge request espressif/esp-idf!14102
2021-10-12 05:50:58 +00:00
Jakob Hasse
81e9266204 [examples]: removed hyphens
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
fuzhibo
057b9d61b5 driver(touch): support touch sensor for esp32s3 platform 2021-10-08 10:39:46 +08:00
Ivan Grokhotkov
bfae073454 examples: esp_timer: enable for all targets
The example compiles and works correctly on all supported targets now,
re-enable it in CI.
2021-10-04 16:12:47 +08:00
Zim Kalinowski
e35a87f723 Merge branch 'feature/github-7365-second' into 'master'
Typo fix in cmd_nvs.c

See merge request espressif/esp-idf!15317
2021-10-03 12:49:59 +00:00
Zim Kalinowski
ea7122e3fb Merge branch 'master' into feature/github-7365-second 2021-10-03 18:40:13 +08:00
Zim Kalinowski
002cd296e1 Merge remote-tracking branch 'origin/master' into feature/github-7022 2021-10-03 12:25:39 +08:00
KonstantinKondrashov
709abee65c example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
Fu Hanxi
923e862ed2 ci: temporarily disable s3 build for a few examples 2021-09-16 12:20:11 +08:00
Roland Dobai
e37e877374 CI: Check the number of detected cores of apptrace 2021-09-06 21:52:27 +03:00
morris
aafb628683 Merge branch 'examples/network_folder' into 'master'
examples: Created a new folder structure for generic network examples

Closes IDF-3311

See merge request espressif/esp-idf!14513
2021-08-25 11:45:21 +00:00
Roland Dobai
98a6538877 Merge branch 'feature/gcov_dump_in_thread' into 'master'
gcov dump in a special thread

Closes OCD-216 and IDF-1034

See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Erhan Kurubas
56176b69dd gcov: enable single core tests 2021-08-20 15:00:55 +08:00
Erhan Kurubas
f6f7ab2e7f gcov: readme update for ESP32-S2 2021-08-20 15:00:55 +08:00
Shubham Kulkarni
5eb1570a01 advanced_https_ota_example: Enable debug logs for partial HTTP download test 2021-08-20 09:35:40 +05:30
Jeff Kent
02bc5df476
Typo fix in cmd_nvs.c 2021-08-03 23:51:55 -05:00
Konstantin Kondrashov
4972605b16 esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt 2021-08-03 14:35:29 +08:00
Ondrej Kosta
4ac24549ad examples: create a new folder structure for generic network examples
simple_sniffer was moved from /wifi folder to /network folder

network_tests was moved from /system to /network folder

README's were updated accordingly to reflect new structure
2021-07-26 12:25:19 +02:00
Alexey Gerenkov
a9db7831b0 Merge branch 'bugfix/sysview_timestamp' into 'master'
sysview: fix tiemrgroup as sv timestamp

See merge request espressif/esp-idf!14374
2021-07-21 19:15:45 +00:00
Marius Vikhammer
11ea7c9072 docs: fixed two dead readme links 2021-07-21 15:20:57 +08:00
morris
0c7b43c3b0 sysview: fix tiemrgroup as sv timestamp 2021-07-18 16:13:32 +08:00
Omar Chebib
0fd74a43c8 console: re-use the available REPL console API and improve linenoise
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.

Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Shubham Kulkarni
3398ee2687 OTA examples: Updated server certificate 2021-07-13 13:14:32 +08:00
morris
8887897f54 Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
driver/timer: fixed auto reload problem in default isr callback

Closes IDFGH-5229

See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Marius Vikhammer
71c1da8952 timer group: add timer group and WDT support for ESP32S3
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
Ivan Grokhotkov
d7928bf1db Merge branch 'feature/esp32c3_apptrace' into 'master'
apptrace: refactoring & esp32c3 support

See merge request espressif/esp-idf!11702
2021-06-28 06:00:24 +00:00
laokaiyao
1138be502e driver/timer: only re-enable alarm in callback when auto reload is true
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
Marius Vikhammer
386739595f RISCV-ULP: Add DS18B20 1wire RISCV-ULP example 2021-06-25 11:26:39 +08:00
Alexey Gerenkov
821869d98d apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
Konstantin Kondrashov
f339b3fc96 efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Marius Vikhammer
b1aa9269fd docs: updated link to partition table docs 2021-06-04 10:14:53 +08:00
Shubham Kulkarni
ab9e5d3ea4 advanced_https_ota: Remove check for CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK for validating image.
Image should be validated even if CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is enabled
2021-06-02 11:19:30 +00:00
a2800276
bdea007a37 Update README.md
Made some grammatical corrections and improved reading flow.

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Closes: https://github.com/espressif/esp-idf/pull/7050
2021-06-02 11:19:30 +00:00
Ivan Grokhotkov
38d902f544 Merge branch 'feature/gdbstubs_rt' into 'master'
Extension of GDBStub component for handling GDB by serial port at runtime.

See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00