Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix led strip for h7 (#12890) #12976

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/main/drivers/light_ws2811strip.c
Expand Up @@ -59,8 +59,6 @@ DMA_RW_AXI __attribute__((aligned(32))) uint32_t ledStripDMABuffer[WS2811_DMA_BU
#else
#if defined(STM32F7)
FAST_DATA_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
#elif defined(STM32H7)
DMA_RAM uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
#else
uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
#endif
Expand Down
5 changes: 4 additions & 1 deletion src/main/target/STM32H723/target.h
Expand Up @@ -78,7 +78,6 @@
#define USE_SDCARD_SDIO
#endif


#define USE_VCP

#define USE_SOFTSERIAL1
Expand All @@ -92,6 +91,10 @@

#define USE_ADC

#if defined(USE_LED_STRIP) && !defined(USE_LEDSTRIP_CACHE_MGMT)
#define USE_LEDSTRIP_CACHE_MGMT
#endif

#if !defined(USE_EXST)
#define USE_CUSTOM_DEFAULTS
#endif
4 changes: 4 additions & 0 deletions src/main/target/STM32H730/target.h
Expand Up @@ -103,6 +103,10 @@

#define USE_ADC

#if defined(USE_LED_STRIP) && !defined(USE_LEDSTRIP_CACHE_MGMT)
#define USE_LEDSTRIP_CACHE_MGMT
#endif

// Provide a default so that this target builds on the build server.
#if !defined(CONFIG_IN_RAM) && !defined(CONFIG_IN_SDCARD) && !defined(CONFIG_IN_EXTERNAL_FLASH)
#define CONFIG_IN_RAM
Expand Down
4 changes: 4 additions & 0 deletions src/main/target/STM32H750/target.h
Expand Up @@ -110,6 +110,10 @@

#define USE_ADC

#if defined(USE_LED_STRIP) && !defined(USE_LEDSTRIP_CACHE_MGMT)
#define USE_LEDSTRIP_CACHE_MGMT
#endif

// Provide a default so that this target builds on the build server.
#if !defined(CONFIG_IN_RAM) && !defined(CONFIG_IN_SDCARD) && !defined(CONFIG_IN_EXTERNAL_FLASH)
#define CONFIG_IN_RAM
Expand Down