Skip to content

Commit

Permalink
Merge pull request #10023 from mikeller/add_debug_build_to_cicd
Browse files Browse the repository at this point in the history
Added STM32F4DISCOVERY_DEBUG target and added it to pre-push.
  • Loading branch information
mikeller committed Aug 16, 2020
1 parent a51ff11 commit e833ac6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ FEATURE_CUT_LEVEL_SUPPLIED := $(FEATURE_CUT_LEVEL)
FEATURE_CUT_LEVEL =

# 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

Expand Down
Empty file.
6 changes: 6 additions & 0 deletions src/main/target/STM32F4DISCOVERY/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
#define TARGET_BOARD_IDENTIFIER "SDF4"
#define USBD_PRODUCT_STRING "STM32F4DISCOVERY"

// These features are in here to get coverage in CI builds
#define USE_SPI_TRANSACTION

#if defined(STM32F4DISCOVERY_DEBUG)
// Used to test DEBUG builds in CICD
#define DEBUG
#endif

//LEDs
#define LED0_PIN PD12
#define LED1_PIN PD13
Expand Down

0 comments on commit e833ac6

Please sign in to comment.