Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
daab641
i2s_out: one line of i2s_out_dma_buffer() DEBUG
SpComb Oct 28, 2025
8c647d5
i2s_out: unset dma eof desc next loop to fix OUT_DSCR_ERR interrupt
SpComb Oct 28, 2025
6c1c9a8
i2s_out: use I2S_OUT_TOTAL_EOF_INT
SpComb Oct 28, 2025
5f64620
i2s_out: simplify i2s_out_dma_buffer(), use eof isr to detect free dm…
SpComb Oct 28, 2025
79539df
i2s_out: rename dma rx -> out
SpComb Oct 28, 2025
1ce2f8f
i2s_out: rename dma eof -> end
SpComb Oct 28, 2025
3eece4c
i2s_out: refactor i2s_out_dma_desc/next()
SpComb Oct 28, 2025
4c08a50
leds: optional i2s interface setup() for async operation
SpComb Oct 28, 2025
b9fb20f
main: leds setup_interface
SpComb Oct 28, 2025
ed1dce4
fixup! i2s_out: rename dma rx -> out
SpComb Oct 28, 2025
20c7b5a
i2s_out: implement async start() mode
SpComb Oct 28, 2025
a1231cb
main: fix i2s_data_copies ordering
SpComb Oct 28, 2025
8481445
main: USER_ALERT_ERROR_LEDS on leds_setup() errors
SpComb Oct 28, 2025
9192858
logging: optional ISR WARN
SpComb Oct 28, 2025
f2b20aa
i2s_out: cleanup i2s_out_intr_setup() DEBUG logging
SpComb Oct 28, 2025
6e955e7
i2s_out: i2s_out_dma_wait() -> DEBUG
SpComb Oct 28, 2025
0adf94e
logging: extra TRACE level
SpComb Oct 28, 2025
07397a4
i2s_out: dma TRACE logging
SpComb Oct 28, 2025
13c510f
leds: bump TEST_FRAME_RATE -> 30
SpComb Oct 28, 2025
be8e43b
i2s_out: fix goto error -> locking
SpComb Oct 28, 2025
0b0e52c
i2s_out: timeouts
SpComb Oct 28, 2025
d1e3840
i2s_out: enforce setup
SpComb Oct 28, 2025
bd38edb
leds_interface_i2s->options
SpComb Oct 28, 2025
f679c1f
main: reset leds interface on update_leds() errors
SpComb Oct 28, 2025
67c62d3
i2s_out: do not set I2S_OUT_EVENT_GROUP_BIT_DMA_EOF event bit on I2S_…
SpComb Oct 28, 2025
6da9cad
i2s_out: workaround unreliable I2S_OUT_TOTAL_EOF_INT
SpComb Oct 28, 2025
1814229
main: bump LEDS_I2S_TIMEOUT -> 5000ms to survive config save -> flash…
SpComb Oct 28, 2025
99053e5
i2s_out: be more defensive about dma_write_desc->owner in wait/next()
SpComb May 23, 2026
445f134
i2s_out: fix comments
SpComb May 23, 2026
68ec2b2
main: drop LEDS_I2S_INTERFACE_TIMEOUT to 1s
SpComb May 23, 2026
51014fd
i2s_out: use IRAM ISR to keep it enabled during cache writes
SpComb May 23, 2026
712f61f
i2s_out: TODO/XXX
SpComb May 23, 2026
b9fe553
logging: ISR_ERROR
SpComb May 23, 2026
6d0ec75
i2s_out: LOG_ISR_ERROR on OUT_DSCR_ERR, unknown eof_desc
SpComb May 23, 2026
4300a32
i2s_out: the I2S_OUT_TOTAL_EOF interrupt is too unreliable, stick to …
SpComb May 23, 2026
59d8014
i2s_out: rename I2S_OUT_EVENT_GROUP_BIT_DMA_DONE
SpComb May 23, 2026
42ca510
i2s_out: simplify i2s_out_dma_wait() condition, fix deadlock on dma_e…
SpComb May 23, 2026
ef37dba
i2s_out: include dma state in flush timeout error
SpComb May 23, 2026
4e20ff5
i2s_out: avoid setting dma_write_desc->next at dma_start(), it is onl…
SpComb May 23, 2026
7c642cb
i2s_out: ensure dma_end_desc->eof=1 in dma_start()
SpComb May 23, 2026
18e197b
main: enable leds interface_setup by default
SpComb May 23, 2026
52ee9bf
logging: use DRAM_STR for ISR logging (IRAM-safe)
SpComb May 23, 2026
9fdecab
logging: fix DEBUG -> WARN -> ERROR
SpComb May 23, 2026
0150130
usb_pd_sink: cleanup DEBUG
SpComb May 23, 2026
bed642c
i2s_out: simplify dma_end_desc case
SpComb May 23, 2026
625878d
i2s_out: refactor xEventGroupSetBitsFromISR() usage to a single call
SpComb May 23, 2026
666c068
i2s_out: log xEventGroupSetBitsFromISR() failures
SpComb May 23, 2026
6e9c3f9
i2s_out: split intr_iram for linker iram/dram, including logging
SpComb May 23, 2026
95b7036
logging: drop DRAM_STR for LOG_FORMAT, require use of linker script f…
SpComb May 23, 2026
8ecd78c
LOG_ISR_ERROR on xEventGroupSetBitsFromISR failure
SpComb May 23, 2026
00375a2
i2s_out: replace DMA_DONE event group bit with task notification
SpComb May 23, 2026
89f8812
i2s_out: replace DMA_EOF event group bit with task notification
SpComb May 23, 2026
76b6ad8
i2s_out: replace I2S_DONE event group bit with task notification
SpComb May 23, 2026
ff0b875
i2s_out: remove event_group on esp32
SpComb May 23, 2026
dd68982
i2s_out: refactor intr state set
SpComb Jun 5, 2026
4205fbf
i2s_out: fix missed first eof desc
SpComb Jun 5, 2026
2139345
i2s_out: rename i2s_data_buf/desc/count
SpComb Jun 5, 2026
eef3748
i2s_out: simplified dma_out_desc using next
SpComb Jun 5, 2026
9f2183d
i2s_out: dma wait/flush debug log
SpComb Jun 5, 2026
0632d9b
i2s_out: fix dma end len
SpComb Jun 5, 2026
41d951a
i2s_out: fix NULL deref on multiple EOF ISRs
SpComb Jun 5, 2026
0912628
leds: hard reset i2s on tx errors without start/flush or timeout
SpComb Jun 5, 2026
2af5561
i2s_out: move repeat to setup() to work in async mode, commit all des…
SpComb Jun 5, 2026
391cdda
i2s_out: assert
SpComb Jun 5, 2026
e552a9b
i2s_out: fix dma repeat desc len on start
SpComb Jun 5, 2026
c197ada
main: state vs config on leds reset
SpComb Jun 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion components/atx_psu/atx_psu.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define ERROR

#include <atx_psu.h>

#include <logging.h>
Expand Down Expand Up @@ -61,7 +63,7 @@ static IRAM_ATTR void atx_psu_gpio_interrupt(gpio_pins_t pins, void *arg)
LOG_ISR_DEBUG("pins=" GPIO_PINS_FMT, GPIO_PINS_ARGS(pins));

if (!xEventGroupSetBitsFromISR(atx_psu->events, ATX_PSU_EVENTS_INTR_BIT, &xHigherPriorityTaskWoken)) {
LOG_ISR_WARN("xEventGroupSetBitsFromISR");
LOG_ISR_ERROR("xEventGroupSetBitsFromISR");
}

#if CONFIG_IDF_TARGET_ESP8266
Expand Down
1 change: 1 addition & 0 deletions components/i2s_out/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ idf_component_register(
SRC_DIRS . ${IDF_TARGET}
INCLUDE_DIRS "include"
PRIV_REQUIRES logging
LDFRAGMENTS ${IDF_TARGET}.lf
)

target_compile_options(${COMPONENT_LIB} PRIVATE -O2)
4 changes: 4 additions & 0 deletions components/i2s_out/esp32.lf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[mapping:i2s_out]
archive: i2s_out.a
entries:
intr_iram (noflash)
Loading
Loading