Skip to content

Commit

Permalink
Name compiled firmware based on board, not MCU arch.
Browse files Browse the repository at this point in the history
  • Loading branch information
peplin committed Jun 25, 2013
1 parent 312dac2 commit ef036f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ ifndef PLATFORM
PLATFORM = CHIPKIT
endif

OBJDIR = build/$(PLATFORM)
TARGET = $(BASE_TARGET)-$(PLATFORM)

CROSSPLATFORM_C_SRCS = $(wildcard *.c)
CROSSPLATFORM_C_SRCS += $(wildcard can/*.c)
CROSSPLATFORM_C_SRCS += $(wildcard interface/*.c)
Expand Down
2 changes: 0 additions & 2 deletions src/platform/lpc17xx/lpc17xx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ifndef JTAG_INTERFACE
JTAG_INTERFACE = olimex-arm-usb-ocd
endif

OBJDIR = build/lpc17xx
OPENOCD_CONF_BASE = ../conf/openocd
TARGET = $(BASE_TARGET)-lpc17xx
LIBS_PATH = libs
CMSIS_PATH = ./$(LIBS_PATH)/CDL/CMSISv2p00_LPC17xx
DRIVER_PATH = ./$(LIBS_PATH)/CDL/LPC17xxLib
Expand Down
2 changes: 0 additions & 2 deletions src/platform/pic32/pic32.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
BOARD_TAG = mega_pic32
TARGET = $(BASE_TARGET)-pic32

ARDUINO_LIBS = chipKITUSBDevice chipKITUSBDevice/utility cJSON emqueue
ifdef NETWORK
Expand Down Expand Up @@ -43,7 +42,6 @@ endif

NO_CORE_MAIN_FUNCTION = 1
SKIP_SUFFIX_CHECK = 1
OBJDIR = build/pic32

UART_BAUDRATE = 115200

Expand Down

0 comments on commit ef036f2

Please sign in to comment.