1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

Limit STM32F411 to use 32 leds only. (#13249)

* Add USE_LIMITED_LED_STRIP_OUTPUTS to limit certain MCUs to use maximum 32 outputs

* Fixes per review from Steve

* Use target.h gate
This commit is contained in:
Mark Haslinghuis 2024-02-27 16:13:23 +01:00 committed by GitHub
parent 37d27ad3e3
commit 47f3c31f54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,4 +80,8 @@
#define USE_PID_DENOM_CHECK
#ifdef USE_LED_STRIP_64
#error USE_LED_STRIP_64 is not supported for this MCU, please use USE_LED_STRIP_32
#endif
#define FLASH_PAGE_SIZE ((uint32_t)0x4000) // 16K sectors