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

Merge pull request #10023 from mikeller/add_debug_build_to_cicd

Added STM32F4DISCOVERY_DEBUG target and added it to pre-push.
This commit is contained in:
Michael Keller 2020-07-30 00:26:34 +12:00
parent 93d9a3dead
commit e885b86524
3 changed files with 7 additions and 1 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

@ -23,8 +23,14 @@
#define TARGET_BOARD_IDENTIFIER "SDF4" #define TARGET_BOARD_IDENTIFIER "SDF4"
#define USBD_PRODUCT_STRING "STM32F4DISCOVERY" #define USBD_PRODUCT_STRING "STM32F4DISCOVERY"
// These features are in here to get coverage in CI builds
#define USE_SPI_TRANSACTION #define USE_SPI_TRANSACTION
#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