Skip to content

Commit

Permalink
Bug fix : syshealth_hal functions now compiles for specified platform
Browse files Browse the repository at this point in the history
  • Loading branch information
satishgn committed Oct 27, 2014
1 parent 05e5441 commit 2e1a3c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/product-id.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ endif
STM32_DEVICE_LC = $(shell echo $(STM32_DEVICE) | tr A-Z a-z)

ifdef STM32_DEVICE
# needed for conditional compilation of syshealth_hal.h
CFLAGS += -DSTM32_DEVICE
# needed for conditional compilation of some stm32 specific files
CFLAGS += -D$(STM32_DEVICE)
endif

Expand Down

0 comments on commit 2e1a3c0

Please sign in to comment.