Merge branch 'feat/support_twai_on_h21' into 'master'

feat(twai): support twai on esp32h21

Closes IDF-11574 and IDF-11575

See merge request espressif/esp-idf!40888
This commit is contained in:
Chen Ji Chang
2025-08-01 15:35:35 +08:00
15 changed files with 968 additions and 228 deletions

View File

@@ -190,7 +190,7 @@ static inline void twai_ll_set_clock_source(int group_id, twai_clock_source_t cl
{
(void)group_id;
switch (clk_src) {
case TWAI_CLK_SRC_DEFAULT:
case TWAI_CLK_SRC_XTAL:
PCR.twai0_func_clk_conf.twai0_func_clk_sel = 0;
break;
default: