mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
* fix led strip for h7 (#12890) * fix led strip for h7 * account for cloud build custom defines * remove unused code * Fix per review --------- Co-authored-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
This commit is contained in:
parent
c8e6124300
commit
96ffb3aa3d
4 changed files with 12 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -78,7 +78,6 @@
|
|||
#define USE_SDCARD_SDIO
|
||||
#endif
|
||||
|
||||
|
||||
#define USE_VCP
|
||||
|
||||
#define USE_SOFTSERIAL1
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue