Marius Vikhammer
fcafa0de5d
test(ulp): added larger delay in ULP FSM I_WR_REG instruction test
...
Test is flakey, could possibly be due to the ULP occasionally needing
a bit more time to start up.
2025-11-17 16:23:41 +08:00
Marius Vikhammer
5173e81565
ci(ulp): reset board between ulp-fsm tests
2025-10-24 11:33:22 +08:00
Konstantin Kondrashov
bcdb428aa1
fix(ulp_riscv): Fix a delay function to handle small delays correctly
...
Fixed ulp_riscv_delay_cycles function
Closes https://github.com/espressif/esp-idf/issues/16891
2025-09-16 10:43:35 +03:00
Meet Patel
1b5138e37e
refactor(ulp_riscv): Modify ulp i2c read/write functions to return error code
...
Updated the i2c read/write APIs ulp_riscv_i2c_master_read_from_device
and ulp_riscv_i2c_master_write_to_device in ulp_riscv component to
return error codes back to the application
Closes https://github.com/espressif/esp-idf/issues/15904
2025-09-15 10:35:20 +05:30
Meet Patel
032e141150
refactor(ulp_riscv): Modify ESP_EARLY_LOG to ESP_LOG and move it outside critical section
...
Moved the error logs outside critical section for i2c communication errors
like READ fail, WRITE fail etc. in the ulp_riscv_i2c component
Also changed the error log API from ESP_EARLY_LOG to ESP_LOG, so we can support
tag based filtering and enabling/disabling of logs
Closes https://github.com/espressif/esp-idf/issues/17425
2025-09-15 10:35:20 +05:30
Marius Vikhammer
ea68500941
Merge branch 'bugfix/lp_core_array_bounds_p4_v5.4' into 'release/v5.4'
...
fix(lp_core): fixed array-bound warning when compiling on P4 with -Os (v5.4)
See merge request espressif/esp-idf!41614
2025-09-01 10:52:46 +08:00
Marius Vikhammer
7c90e1c6b4
fix(lp_core): fixed array-bound warning when compiling on P4 with -Os
...
Closes https://github.com/espressif/esp-idf/issues/17054
2025-08-29 13:17:53 +08:00
Marius Vikhammer
74b003cfa1
ci(ulp): fixed default config not running in CI
2025-08-29 09:56:45 +08:00
Samuel Obuch
6ce0ed4a2e
fix(lp_core): dont reset lp cpu with debug attached
2025-08-04 09:52:20 +02:00
Sudeep Mohanty
6b75576db2
change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status
...
This commit updates the LP I2C and LP UART drivers to use the raw
interrupt status without enabling the interrupts.
2025-05-19 10:33:21 +02:00
wuzhenghui
33aca83c63
change(ci): remove esp32c5 from readme since esp32c5 skipped CI build
2025-04-25 17:13:27 +08:00
Konstantin Kondrashov
93750520fe
fix(ulp): Fix accumulation of wakeup cause bits in ULP
...
Closes https://github.com/espressif/esp-idf/issues/15794
2025-04-18 15:52:28 +03:00
gaoxu
b227da9b2b
ci(adc): enable P4 ADC test and correct ADC performance thresh
2025-04-01 15:05:36 +08:00
Marius Vikhammer
4354c3080a
Merge branch 'fix/lp_uart_flush_wait_for_idle_v5.4' into 'release/v5.4'
...
fix(lp_uart): Update the `lp_core_uart_tx_flush()` API to wait for UART Tx idle state (v5.4)
See merge request espressif/esp-idf!37473
2025-04-01 14:55:18 +08:00
Song Ruo Jing
e774dbfd0f
fix(uart): LP UART does not have the pre-divider for its clock source
...
Closes https://github.com/espressif/esp-idf/issues/15427
2025-03-10 15:29:09 +08:00
Sudeep Mohanty
528b1b3c37
fix(lp_uart): Update the lp_core_uart_tx_flush() API to wait for Tx idle
...
This commit updates the lp_core_uart_tx_flush() API to wait for the Tx line
to become idle, therefore confirming that all bytes are sent out.
Closes https://github.com/espressif/esp-idf/issues/15433
2025-03-04 08:52:22 +01:00
wuzhenghui
8e6ec50bcc
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
2025-02-21 09:50:42 +08:00
Sudeep Mohanty
1e5308211d
fix(lp_uart): Fixed flaky LP UART unit tests
...
This commit fixes some flaky LP UART multi device tests. It also adds
code to put the HP core to light sleep for few tests.
2025-02-17 10:29:04 +01:00
Marek Fiala
b37383f75b
feat(tools): Enforce utf-8 encoding with open() function
2025-01-10 13:52:58 +08:00
Omar Chebib
ab4fa65d0d
fix(ulp): fix ULP RISC-V interrupt handler corrupting the stack
...
* Closes https://github.com/espressif/esp-idf/issues/14930
2024-11-27 11:43:15 +08:00
morris
fe3bb073f9
Merge branch 'refactor/i2c_ll_trm_sync_v5.4' into 'release/v5.4'
...
refactor(i2c): rename some LL functions according to TRM descriptions (v5.4)
See merge request espressif/esp-idf!35107
2024-11-25 10:30:02 +08:00
Armando
37d8e97a9d
doc(lp_vad): lp vad programming guide
2024-11-22 10:46:43 +08:00
morris
85e86626ff
refactor(i2c): rename some LL functions according to TRM descriptions
2024-11-22 10:14:22 +08:00
Marius Vikhammer
2a2f0fd6f1
Merge branch 'bugfix/p4_ld_newlib_api' into 'master'
...
fix(lp_core): updated lp rom newlib API addresses
See merge request espressif/esp-idf!34412
2024-10-28 10:24:57 +08:00
Marius Vikhammer
8406735635
fix(lp_core): updated lp rom newlib API addresses
2024-10-24 10:45:55 +08:00
Marius Vikhammer
1f1954378e
Merge branch 'feature/lp_core_gpio_wakeup' into 'master'
...
feat(lp_core): added support for LP-IO as LP-core wakeup source
Closes IDF-10200
See merge request espressif/esp-idf!31828
2024-10-18 09:32:49 +08:00
Armando
56af6b5fc4
test(sleep): vad wakeup hp core test
2024-10-16 17:27:27 +08:00
Armando
60c005d1dc
test(vad): vad wakeup test
2024-10-16 17:27:27 +08:00
Armando
1792aba1dc
feat(vad): lp vad driver and wakeup feature
2024-10-16 17:27:27 +08:00
Marius Vikhammer
b4c501374f
feat(lp_core): added support for LP-IO as LP-core wakeup source
2024-10-16 09:34:20 +08:00
morris
39d6f35594
refactor(lp_core): unify LL functions of ETM wake up lp system
2024-09-26 11:48:15 +08:00
Liu Xiao Yu
e051b921b8
Merge branch 'feat/lp_spinlock' into 'master'
...
feat(ulp): implement inter-hp-lp-cpu spinlock/critical section
Closes IDF-10206
See merge request espressif/esp-idf!32775
2024-09-20 17:09:50 +08:00
Marius Vikhammer
564d777018
Merge branch 'feature/lp_core_40_mhz' into 'master'
...
feat(system): support choosing xtal as rtc-fast clock src on P4 and C5
Closes IDF-10203
See merge request espressif/esp-idf!32450
2024-09-20 10:57:15 +08:00
Xiaoyu Liu
446528d40f
feat(ulp): implement ulp lp core spinlock
2024-09-20 10:22:45 +08:00
Marius Vikhammer
00eb97725b
feat(system): support choosing xtal as rtc-fast clock src on P4 and C5
...
With xtal as rtc-fast clock source the LP-Core can run at twice the default
clock frequency. 40 MHz as opposed to 20 MHz.
2024-09-19 17:30:44 +08:00
Sudeep Mohanty
3c65f1b654
fix(lp_uart): Added lp_uart flush feature
...
This commit adds the lp_core_uart_flush() API to flush the LP UART Tx
FIFO. This API is automatically called once the program returns from the
main function().
Closes https://github.com/espressif/esp-idf/issues/14530
2024-09-19 09:36:04 +02:00
Wu Zheng Hui
6abe40e590
Merge branch 'feature/optimize_esp32p4_active_power_eco1' into 'master'
...
feat(system): Optimize esp32p4 active state power consumption
Closes PM-103 and IDF-7688
See merge request espressif/esp-idf!32950
2024-09-11 23:15:29 +08:00
wuzhenghui
c41d432397
fix(ulp): fix uart driver delete order in lp uart test case
2024-09-11 10:53:00 +08:00
wuzhenghui
05e74480f5
feat(esp_system): gate some clock by default to optmize esp32p4 active power
2024-09-11 10:53:00 +08:00
Sudeep Mohanty
594880dae4
test(lp_adc): Added LP Core unit tests for testing LP ADC
...
Added a unit test to verify that LP ADC1 works and can be read from the
LP Core.
2024-09-10 08:45:11 +02:00
Sudeep Mohanty
1e5efd7fa7
feat(lp_adc): Added support to read LP ADC from the LP core
...
This commit adds APIs to initialize and configure the LP ADC from the HP
core and also adds APIs to read the raw and converted ADC values from the LP core.
2024-09-10 08:45:11 +02:00
Alexey Gerenkov
625c437412
feat(ulp): Add LP core debugging support
2024-09-03 18:28:14 +03:00
Xiaoyu Liu
b853ed7aff
fix(ulp): remove redefinition and unify gpio enum in ulp
2024-08-27 10:56:37 +08:00
Marius Vikhammer
5b85871151
fix(ulp): fixed ulp apps not compiling on windows
2024-08-20 13:04:46 +08:00
Sudeep Mohanty
cbb2c4be60
Merge branch 'contrib/github_pr_14329' into 'master'
...
fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h (GitHub PR)
Closes IDFGH-13423
See merge request espressif/esp-idf!32689
2024-08-14 05:06:02 +08:00
Marius Vikhammer
fe5b8bb445
fix(ulp): fixed that the .elf ext was not set by default for custom cmake proj
2024-08-12 10:31:24 +08:00
andylinpersonal
0dbb6d94ec
fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h
...
This commit adds the missing extern `C` guards the ulp_lp_core_print.h
header file.
Closes https://github.com/espressif/esp-idf/pull/14329
2024-08-08 23:23:08 +08:00
Xiaoyu Liu
1216dd1abd
change(ulp): bu lp i2c on esp32c5
2024-08-01 14:48:31 +08:00
Marius Vikhammer
41dd1a351b
Merge branch 'feat/cmake_plugin_ulp' into 'master'
...
feat(lp-core): allow custom cmake for ULP project
Closes IDF-10551
See merge request espressif/esp-idf!31919
2024-07-31 09:31:57 +08:00
Marius Vikhammer
b6208df463
feat(lp-core): allow custom cmakefile project file for ULP project
2024-07-30 12:30:54 +08:00