Commit Graph
12 Commits
Author SHA1 Message Date
Yuan Yu e263cd2cfe docs(twai): Update twai_node_transmit function's note 2025-08-25 11:05:52 +08:00
Yuan Yu 37e23a113c fix(twai): Enhance ISR handling for TX queue operations 2025-08-25 11:05:52 +08:00
Yuan Yu 4e5401ec8c Merge branch 'features/twai_ll_parse_frame' into 'master'
refactor(twai): Separate frame header and data parsing logic for Classic TWAI

See merge request espressif/esp-idf!41203
2025-08-22 18:58:14 +08:00
Yuan Yu 6fe547114d refactor(twai): Optimize the TWAI frame parsing function and separate frame header and data parsing logic 2025-08-21 14:45:46 +08:00
Yuan Yu 0563c8608a Merge branch 'bugfix/twai_utils_down' into 'master'
fix(twai): fix the twai_utils's pytest to turn canbus down

Closes IDFCI-3079

See merge request espressif/esp-idf!41238
2025-08-14 14:48:04 +08:00
Yuan Yu c386170aad fix(twai): make sure that can bus is shut down properly 2025-08-14 11:43:09 +08:00
Yuan Yu c4de1ae390 Merge branch 'features/twai_utils_example' into 'master'
feat(twai/example): Adds a TWAI utility example like can-utils.

Closes IDF-6093

See merge request espressif/esp-idf!39387
2025-08-13 19:25:08 +08:00
Yuan Yu 9a95e2719c docs(twai): update example description for TWAI utilities 2025-08-13 16:31:35 +08:00
Yuan Yu f1da574ae5 feat(twai): add TWAI utility commands and configuration
- Introduced TWAI utility commands for sending, dumping, and managing TWAI frames.
- Added configuration options for TWAI GPIO pins and support for TWAI-FD.
- Created necessary CMake and Kconfig files for building the TWAI utilities.

This enhancement provides a comprehensive interface for TWAI operations.
2025-08-13 16:31:35 +08:00
Yuan Yu 18091976ec fix(hal): Wrap LL macros with atomic env in do-while for control safety
- Standardize all LL macros using atomic env variables with `do { ... } while (0)`
- Prevent potential macro misuse in control flow constructs (e.g., if/else)
- Affected targets: esp32, esp32c2, esp32c5, esp32s3, esp32p4, etc.
- Affected modules include: LCD, I2S, TIMER, and others
2025-05-22 14:42:11 +08:00
Yuan Yu 3d842bcee7 test(twai): with malloc comes from PSRAM by default 2025-05-19 17:12:39 +08:00
Yuan Yu 9a109ca17c fix(peripherals): Correct typo in periph_inttrput_t
Corrected the typo in the type name from 'periph_inttrput_t' to 'periph_interrupt_t'.
2025-05-15 18:40:57 +08:00