Skip to content

Commit

Permalink
Fix esp-idf v5.3 compilation error with esp32p4
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo authored Jul 26, 2024
1 parent e9b623e commit 6cef279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lgfx/v1/platforms/esp32/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Original Source:
#if defined ( CONFIG_IDF_TARGET_ESP32P4 )
#define DMA_OUT_PERI_SEL_CH0_REG AXI_DMA_OUT_PERI_SEL_CH0_REG
#define DMA_IN_PERI_SEL_CH0_REG AXI_DMA_IN_PERI_SEL_CH0_REG
#define GDMA AXI_DMA // this is probably wrong
#else
// S3とC3で同じレジスタに異なる定義名がついているため、ここで統一;
#if !defined (DMA_OUT_PERI_SEL_CH0_REG)
Expand Down

0 comments on commit 6cef279

Please sign in to comment.