Darian Leung
a51813d9d9
refactor(soc): SOC_USB_PERIPH_NUM option
...
This commit refactors SOC_USB_PERIPH_NUM as follows:
- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-14 18:48:01 +08:00
Armando (Dou Yiwen)
0c81f41e16
Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
...
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
Armando
d3be2541de
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
...
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Marius Vikhammer
95703297a6
Merge branch 'ci/psram_config_fix' into 'master'
...
ci: fix warnings for invalid kconfig option
See merge request espressif/esp-idf!23250
2023-11-02 13:44:04 +08:00
Jiang Jiang Jian
6e0a8434a7
Merge branch 'bt/add_host_only_mode' into 'master'
...
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller
See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
Sudeep Mohanty
9e6e0a5677
Merge branch 'task/update_readme_for_ulp_riscv_examples' into 'master'
...
docs(ulp_riscv): Updated ulp_riscv example README files to update GPIO configuration
See merge request espressif/esp-idf!26782
2023-11-01 20:32:50 +08:00
Marius Vikhammer
77bb19c49e
ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults
2023-11-01 01:14:00 +00:00
Sudeep Mohanty
c6c03d39f8
docs(ulp_riscv): Updated ulp_riscv example README files to update GPIO configuration
...
This commit updates the README files for the ULP RISC-V I2C and Touch
sensor examples to mention the GPIO configuration needed to run the
examples.
2023-10-31 10:04:08 +01:00
Darian Leung
b878125bae
change(freertos): Update real_time_stats example to use configRUN_TIME_COUNTER_TYPE
...
This commit updates the real_time_stats example to use the configurable
configRUN_TIME_COUNTER_TYPE. The CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 is
enabled by the example by default to demonstrate its usage.
Note: Also cleaned up redundant configs in sdkconfig.ci
2023-10-31 15:44:37 +08:00
Jin Cheng
fc174f5811
feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller
2023-10-30 00:52:26 +00:00
Marius Vikhammer
4ea0538a88
Merge branch 'ci/system_example_test_reduction' into 'master'
...
ci: reduce the number of system examples built/tested in regular pipelines
See merge request espressif/esp-idf!26519
2023-10-26 10:36:18 +08:00
Fu Hanxi
eb37150780
ci: add all nightly run env vars while checking
2023-10-23 09:19:31 +02:00
Marius Vikhammer
4f4f32ecf2
ci(system): restrict number of system examples built in regular pipelines
2023-10-19 10:10:37 +08:00
Guillaume Souchere
63952fe2f6
Merge branch 'feat/make-task-tracking-independant-from-poisoning' into 'master'
...
feat(heap): Dissociate heap poisoning from task tracking functionalities
Closes IDF-8332
See merge request espressif/esp-idf!26311
2023-10-18 20:18:22 +08:00
Guillaume Souchere
7492c862af
feat(heap): Dissociate heap poisoning from task tracking
...
In order to enable CONFIG_HEAP_TASK_TRACKING, some kind
of poisoning had to be enabled (!HEAP_POISONING_DISABLED).
However since those functionalities don't seem to be related
in any way, this commit decouple them by removing
MULTI_HEAP_BLOCK_OWNER from poison_head_t in multi_heap_poisoning.c
and handling the block ownership in heap_caps.c instead.
Note that handling task tracking in multi_heap.c would necessitate
updating the ROM implementation of multi_heap.c as well. For this
reason, the task tracking feature has to be handled in heap_caps.c.
2023-10-18 06:43:22 +02:00
Erhan Kurubas
340262977e
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20230921' into 'master'
...
Feature/update openocd to v0.12.0 esp32 20230921
Closes IDF-7920
See merge request espressif/esp-idf!26316
2023-10-17 16:09:39 +08:00
Mahavir Jain
1501aef1b3
Merge branch 'feature/enable_secure_boot_esp32p4' into 'master'
...
feat(secure_boot): add secure boot support for esp32p4
Closes IDF-7544 and IDF-7745
See merge request espressif/esp-idf!26335
2023-10-16 11:07:14 +08:00
Erhan Kurubas
14a631880c
fix(pytest_gcov): properly extract file path from the gcov output
2023-10-12 11:01:23 +02:00
harshal.patil
ef92f03658
feat(efuses): enable eFuse example test (secure boot) for ESP32-P4
2023-10-12 10:12:54 +05:30
nilesh.kale
44cbb8bb24
fix: fix preencrypted ota failed with pytest server and partial http enabled
2023-10-11 15:22:24 +05:30
Konstantin Kondrashov
c15a2d23c5
Merge branch 'ci/enable_ipc_isr_tests' into 'master'
...
fix(examples): Enable ipc_isr tests on CI
Closes IDF-8273
See merge request espressif/esp-idf!26298
2023-10-10 19:19:23 +08:00
Alexey Lapshin
2585e53d54
Merge branch 'feature/update-toolchain-to-esp-13.1.0_new_newlib' into 'master'
...
Update toolchain to esp-13.2.0_20230919
Closes GCC-250, GCC-322, GCC-324, GCC-327, GCC-330, and IDF-8287
See merge request espressif/esp-idf!25073
2023-10-10 08:18:33 +08:00
Alexey Lapshin
e381041a52
change(app_trace): decrease leaks in test to save ci time
2023-10-09 12:13:02 +04:00
Alexey Lapshin
6f9901817f
fix(app_trace): fix sysview_tracing_heap_log test
2023-10-09 12:13:02 +04:00
gaoxu
bc2a6bd730
feat(uart): spilt LP and HP uart set_baudrate function
2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc
feat(uart): add LP-UART GPIO support
2023-10-08 10:10:02 +08:00
KonstantinKondrashov
ccb90e3d4a
fix(examples): Enable ipc_isr tests on CI
2023-10-03 23:06:17 +08:00
Ivan Grokhotkov
fc4f091e7a
Merge branch 'feature/examples_use_manifest_for_deps' into 'master'
...
feat(examples): add local components via idf_component.yml
See merge request espressif/esp-idf!25228
2023-09-20 20:14:14 +08:00
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
KonstantinKondrashov
7a878bdc50
feat(esp_system): Support IPC_ISR for ESP32P4
2023-09-15 23:38:12 +08:00
liqigan
0df585dc35
feat(bt/bluedroid): Add new version of API for Bluedroid host stack initialization
2023-08-31 12:28:38 +00:00
Armando
712c0c0075
feat(psram): esp32p4 psram device driver support
2023-08-28 14:14:58 +08:00
Armando
6f412393b6
change(ci): add todo to p4 build test enable
2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Chen Yudong
4601d383a1
ci(fix): example test advanced_https_ota_example_bluedroid_gatts
2023-08-23 14:01:12 +08:00
Harshit Malpani
dd6229e5cb
ci: Add ota_example test with TLS 1.3
2023-08-16 11:26:59 +05:30
Lou Tianhao
808a01e656
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-08-09 19:46:25 +08:00
nilesh.kale
99db66676c
fix: Fixed wrong filename in ota example readme
2023-08-08 11:23:45 +05:30
Mahavir Jain
20b10ba914
ci: add secure OTA test for application built without secure padding
...
Covers issue reported in:
https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:40:27 +05:30
Alexey Lapshin
a120ea823e
Merge branch 'contrib/github_pr_11569' into 'master'
...
[GDBStub] kconfig gdbstub runtime should be separate bool (GitHub PR)
Closes IDF-7846 and IDFGH-10309
See merge request espressif/esp-idf!24775
2023-08-02 07:50:47 +08:00
Alexey Lapshin
47e400c296
feature(gdbstub): Move runtime gdbstub out of panic config
...
Closes https://github.com/espressif/esp-idf/pull/11569
2023-08-01 14:28:07 +04:00
Lou Tian Hao
3b14a9d58e
Merge branch 'support/deep_sleep_test_for_esp32h2' into 'master'
...
Support: enable CI test for esp32h2 deep_sleep
Closes IDF-7838
See merge request espressif/esp-idf!25002
2023-08-01 17:37:10 +08:00
Mahavir Jain
53ff7d43db
Merge branch 'ci/fix_test_switch_ota' into 'master'
...
fix(app_update): Fix CI test_switch_ota by increasing deepsleep
See merge request espressif/esp-idf!24801
2023-08-01 16:49:25 +08:00
Ivan Grokhotkov
cfa1896780
Merge branch 'contrib/github_pr_11535' into 'master'
...
Replace deprecated flushregs alias with full gdb command (GitHub PR)
Closes IDFGH-10272
See merge request espressif/esp-idf!24752
2023-07-28 22:40:22 +08:00
Lou Tianhao
34b269fb03
remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep
2023-07-27 12:11:35 +08:00
Lou Tianhao
0d30bbe855
change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2
2023-07-21 20:44:15 +08:00
Lou Tianhao
44cd96b543
change(pm/deepsleep): remove disable rtcio before hold it when ext1 wakeup
2023-07-21 20:44:09 +08:00
KonstantinKondrashov
f07fcbed8d
fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable
2023-07-21 13:58:20 +08:00
Lou Tianhao
a80c8c018c
feat(pm/deepsleep): Support EXT1 wakeup pin select
2023-07-20 11:43:57 +08:00
Lou Tianhao
e70763f9a4
feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep
2023-07-20 11:43:57 +08:00
Daniel Mangum
647e7a2a71
fix: Replace deprecated flushregs alias with full gdb command
...
Usage of `flushregs` in gdb will result in the following warning:
```
Warning: 'flushregs', an alias for the command 'maintenance flush register-cache', is deprecated.
Use 'maintenance flush register-cache'.
```
This patch updates to use the recommend command.
Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/11535
2023-07-13 09:26:47 +02:00
Roland Dobai
a065f0fc9f
Merge branch 'feature/apptrace_visualization' into 'master'
...
Apptrace realtime visualization support
See merge request espressif/esp-idf!22694
2023-07-11 17:33:24 +08:00
Wu Zheng Hui
94613a5904
Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'
...
ci: fix deepsleep wakestub example ci failure
See merge request espressif/esp-idf!24466
2023-07-07 11:38:14 +08:00
wuzhenghui
6713bb9951
ci: increase timeout threshold to solve deepsleep wakestub example ci failure
2023-07-05 11:16:44 +00:00
Jakob Hasse
197e919d74
refactor(examples/console): Warn if secondary console is active
...
Having a secondary serial console is not useful when applications
use a REPL console type, hence we warn for it in examples.
Closes https://github.com/espressif/esp-idf/issues/11731
2023-07-03 13:42:35 +08:00
Alexey Lapshin
f92908ceb1
Merge branch 'fix/segger_sysview_build' into 'master'
...
fix(app_trace): Fix SystemView build
Closes IDF-7661
See merge request espressif/esp-idf!24430
2023-06-30 01:12:07 +08:00
Alexey Lapshin
ef699e70ad
fix(app_trace): Fix SystemView build
2023-06-28 18:28:36 +04:00
Eren Terzioglu
804c12646b
feat(apptrace): Added sensor data visualization example
...
Added example and python script to show how to transfer and visualize sensor data.
2023-06-27 18:32:56 +03:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
2023-06-26 21:05:16 +08:00
Sudeep Mohanty
67552c31da
Merge branch 'feature/lp_uart_on_lp_core' into 'master'
...
lp-core-uart: Added LP UART driver support and printf ability to the LP core
Closes IDF-6831 and IDF-5815
See merge request espressif/esp-idf!23971
2023-06-26 14:40:20 +08:00
Harshit Malpani
b9caa324bc
examples: pre_encrypted_ota: update to newer API from esp_encrypted_img component
...
The members of the esp_decrypt_cfg_t configuration structure have been updated to correctly
reflect that we are using RSA private key member for the decryption purpose. Earlier their names were
incorrect. This old names have been marked as deprecated for IDF 5.2 release. This change can be viewed
at https://github.com/espressif/idf-extra-components/pull/187 and its part of esp_encrypted_img
component version 2.0.4
This commit updated to newer API usage from esp_encrypted_img component v2.0.4 for
pre_encrypted_ota example.
2023-06-23 21:04:41 +05:30
Sudeep Mohanty
38c1759fb4
lp-core-uart: Added support for printf to the LP core
...
This commit adds a minimal logging driver for the LP core. The logging
driver provides a printf function which is built on top of the LP UART
driver. The commit also adds an example to demonstrate how to use print
statements in an LP core program.
2023-06-21 11:16:13 +02:00
Sudeep Mohanty
3638082670
lp-core-uart: Added LP UART support for LP core
...
This commit adds a UART driver for the LP core to interact with the LP
UART. The commit also adds an example to demonstrate the usage of the LP
UART driver.
2023-06-21 11:16:13 +02:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Konstantin Kondrashov
ac188ad074
Merge branch 'bugfix/mac_ext_order_for_c6_h2' into 'master'
...
esp_hw_support: Change the byte order of MAC for IEEE802154 (C6 and H2 chips)
Closes IDF-6809
See merge request espressif/esp-idf!23988
2023-06-13 16:08:13 +08:00
Sudeep Mohanty
ba2daf3c9e
ulp-riscv-touch: Added support for the touch sensor on ULP RISC-V
...
This commit adds a driver for reading the touch sensor from the ULP
RISC-V core during sleep. The commit also adds an example to demonstrate
this feature.
Closes https://github.com/espressif/esp-idf/issues/10480
2023-06-09 08:41:34 +02:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
KonstantinKondrashov
f7dfd1f48e
mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
...
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
esp_efuse_mac_get_default() -> 8 bytes
esp_efuse_mac_get_custom() -> 8 bytes
esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
harshal.patil
0b86bcd35f
efuse: use esp32 qemu target for a efuses example test.
...
The efuses example test with secure boot v2 and flash encryption enabled can be run on the esp32 qemu image.
2023-06-07 18:19:56 +05:30
Marius Vikhammer
9f31c65458
Merge branch 'feature/c6_ulp_gpio' into 'master'
...
ulp: added gpio API for lp core
Closes IDF-6834
See merge request espressif/esp-idf!23766
2023-06-01 09:50:33 +08:00
Marius Vikhammer
93ba9d1cfe
system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary
...
If the efuse description from esptool contained semi-colons it would be interpretted as
a list delimiter in CMake. Summary is now passed as in quotes to escape this behavior.
2023-05-30 10:55:27 +08:00
Marius Vikhammer
dacc51dd2b
ulp/lp-core: added gpio API for lp core as well as an example showcasing it.
2023-05-29 11:13:47 +08:00
Alexey Lapshin
a77f723962
Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
...
esp_gdbstub: implement runtime gdbstub for riscv
Closes IDF-5621
See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
Alexey Lapshin
9322c2b82d
esp_gdbstup: implement runtime gdbstub for riscv
2023-05-19 20:15:58 +08:00
Sudeep Mohanty
ec742abb25
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:27:51 +02:00
Marius Vikhammer
a300b3eb81
ci: fix invalid kconfig options in system test apps
2023-05-09 11:27:55 +08:00
Zim Kalinowski
4ba38c2105
Merge branch 'fix/console-build-error' into 'master'
...
console: Fix building issue when serial JTAG is set
Closes IDFGH-9327
See merge request espressif/esp-idf!23311
2023-05-04 20:15:42 +08:00
Ivan Grokhotkov
0eb2bdf3dc
Merge branch 'contrib/github_pr_11204' into 'master'
...
Fix function signature in flash suspend example (GitHub PR)
Closes IDFGH-9888
See merge request espressif/esp-idf!23254
2023-05-02 17:09:57 +08:00
Harshit Malpani
47740e3da5
Add esp32c6 in supported target for ota examples
2023-04-28 10:57:33 +05:30
Guillaume Souchere
c84f0b25ac
console: Fix building issue when serial JTAG is set
...
Closes https://github.com/espressif/esp-idf/issues/10707
2023-04-27 15:28:23 +08:00
Zim Kalinowski
4a647d08de
Merge branch 'feature/c6_ulp_sleep' into 'master'
...
ulp: added sleep support for lp core
Closes IDF-7012
See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Marius Vikhammer
359b237cc5
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-25 11:51:35 +08:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
1f84f6c6ed
esp32h4: remove esp32h4 target from ci
2023-04-20 15:19:47 +08:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Daniel Mangum
7a19213198
Fix function signature in flash suspend example
...
Fixes misspelling of function signature in the flash suspend example.
Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2023-04-15 21:27:10 -04:00
Ivan Grokhotkov
def9dadf1e
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/9364
2023-04-12 11:17:41 +02:00
Marius Vikhammer
8a5b5610b9
ulp-riscv: enable ULP-RISCV ADC example for esp32s2
...
ADC can now be used from the ULP-RISCV on S2 after the RTC power parameters were
fixed in a624d8d061
Closes https://github.com/espressif/esp-idf/issues/11052
Closes https://github.com/espressif/esp-idf/issues/11040
2023-04-11 13:08:36 +08:00
Ivan Grokhotkov
75d1a050a2
Merge branch 'bugfix/console_examples_reenable' into 'master'
...
examples: re-enable console examples for C2, C6, H2
See merge request espressif/esp-idf!22927
2023-04-10 21:55:32 +08:00
Fu Hanxi
08df42ae06
ci: sdkconfig.ci.xxx.TARGET now have correct config name xxx
2023-04-06 09:18:58 +08:00
Sudeep Mohanty
88e4c06028
ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors
...
The current ULP RISC-V RTC I2C driver got stuck in an infinite loop if
there is a I2C transaction error. This commit amends the driver flow to
abort the read/write operation if met with errors. It also adds a loop
timeout to avoid getting stuck in an infinite loop.The commit also
updates the default bus timing parameters for RTC I2C to be faster.
This commit also adds documentation help to guide users when they meet
with issues while working with the RTC I2C driver on the ULP RISC-V coprocessor.
2023-03-29 13:25:46 +02:00
Jakob Hasse
39087f3157
Merge branch 'contrib/github_pr_11028' into 'master'
...
Bugfix: Fix compile error for ESP32 FSM ULP GPIO Example (GitHub PR)
Closes IDFGH-9687
See merge request espressif/esp-idf!22884
2023-03-27 15:35:47 +08:00
Ivan Grokhotkov
bb3f1fd261
examples: re-enable console examples for C2, C6, H2
...
- Split the sleep-related system commands into a separate file
- Don't compile that file and don't register sleep commands for H2 yet
- Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
2023-03-25 17:41:56 +01:00
Mahavir Jain
f1465c6ad8
Merge branch 'featue/factory_reset_state' into 'master'
...
bootloader_support: Adds API to detect Factory reset has happened
Closes IDFGH-9379
See merge request espressif/esp-idf!22822
2023-03-24 21:32:30 +08:00
Jakob Hasse
9757e62bd1
bugfix: made C code C++ compatible
2023-03-24 11:40:25 +08:00
Kampi
5d9ddd4c1d
bugfix: Change namespace variable to nvs_namespace (C++ compatibility)
...
Closes https://github.com/espressif/esp-idf/pull/11028
2023-03-24 11:39:13 +08:00
Jiang Jiang Jian
5032f834f2
Merge branch 'feature/add_wakeup_cost_info_to_dslp_wakestub_example' into 'master'
...
doc: optimize deep_sleep_wake_stub README
See merge request espressif/esp-idf!22724
2023-03-22 15:59:32 +08:00