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

Added STM32F4DISCOVERY_DEBUG target and added it to pre-push.

This commit is contained in:
mikeller 2020-07-17 02:11:22 +12:00
parent 899cae197c
commit c128f33a85
3 changed files with 6 additions and 2 deletions

View file

@ -108,7 +108,7 @@ FEATURE_CUT_LEVEL_SUPPLIED := $(FEATURE_CUT_LEVEL)
FEATURE_CUT_LEVEL = FEATURE_CUT_LEVEL =
# The list of targets to build for 'pre-push' # The list of targets to build for 'pre-push'
PRE_PUSH_TARGET_LIST ?= STM32F405 STM32F411 STM32F7X2 STM32F745 NUCLEOH743 SITL test-representative PRE_PUSH_TARGET_LIST ?= STM32F405 STM32F411 STM32F7X2 STM32F745 NUCLEOH743 SITL STM32F4DISCOVERY_DEBUG test-representative
include $(ROOT)/make/targets.mk include $(ROOT)/make/targets.mk

View file

@ -24,10 +24,14 @@
#define USBD_PRODUCT_STRING "STM32F4DISCOVERY" #define USBD_PRODUCT_STRING "STM32F4DISCOVERY"
// These features are in here to get coverage in CI builds // These features are in here to get coverage in CI builds
#define USE_SPI_TRANSACTION #define USE_SPI_TRANSACTION
#define USE_STACK_CHECK #define USE_STACK_CHECK
#if defined(STM32F4DISCOVERY_DEBUG)
// Used to test DEBUG builds in CICD
#define DEBUG
#endif
//LEDs //LEDs
#define LED0_PIN PD12 #define LED0_PIN PD12
#define LED1_PIN PD13 #define LED1_PIN PD13