Skip to content

Commit

Permalink
Fix build for CF1 and fix make target to display gcc defines
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Feb 8, 2016
1 parent 3bab819 commit 3294255
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ trace:

#Print preprocessor #defines
prep:
@$(CC) -dD
@$(CC) $(CFLAGS) -dM -E - < /dev/null

check_submodules:
@$(PYTHON2) tools/make/check-for-submodules.py
Expand Down
9 changes: 8 additions & 1 deletion modules/src/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@

#include "crtp.h"

#include "stm32fxxx.h"
#ifdef STM32F40_41xxx
#include "stm32f4xx.h"
#else
#include "stm32f10x.h"
#ifndef SCB_ICSR_VECTACTIVE_Msk
#define SCB_ICSR_VECTACTIVE_Msk 0x1FFUL
#endif
#endif

CRTPPacket messageToPrint;
xSemaphoreHandle synch = NULL;
Expand Down

0 comments on commit 3294255

Please sign in to comment.