Browse Source

core: Fix chibios user compile options

Compile options can be defined in project Makefile such as UDEFS, UADEFS, UINCDIR, ULIBDIR and ULIBS.
tags/v2.9
tmk 8 years ago
parent
commit
1d9c939f38
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      tmk_core/tool/chibios/chibios.mk

+ 5
- 5
tmk_core/tool/chibios/chibios.mk View File



# List all user C define here, like -D_DEBUG=1 # List all user C define here, like -D_DEBUG=1
## Select which interfaces to include here! ## Select which interfaces to include here!
UDEFS = $(OPT_DEFS)
UDEFS += $(OPT_DEFS)


# Define ASM defines here # Define ASM defines here
UADEFS = $(OPT_DEFS)
UADEFS += $(OPT_DEFS)
# bootloader definitions may be used in the startup .s file # bootloader definitions may be used in the startup .s file
ifneq ("$(wildcard $(TARGET_DIR)/bootloader_defs.h)","") ifneq ("$(wildcard $(TARGET_DIR)/bootloader_defs.h)","")
UADEFS += -include $(TARGET_DIR)/bootloader_defs.h UADEFS += -include $(TARGET_DIR)/bootloader_defs.h
endif endif


# List all user directories here # List all user directories here
UINCDIR =
#UINCDIR =


# List the user directory to look for the libraries here # List the user directory to look for the libraries here
ULIBDIR =
#ULIBDIR =


# List all user libraries here # List all user libraries here
ULIBS =
#ULIBS =


# #
# End of user defines # End of user defines

Loading…
Cancel
Save