Fixed some makefile and set default BOARD to JAWBREAKER (instead of JELLYBEAN).

This commit is contained in:
TitanMKD
2013-02-10 18:33:01 +01:00
parent e7e4a55af3
commit 13a6b9086e
5 changed files with 9 additions and 4 deletions

View File

@ -25,7 +25,8 @@ BINARY = blinky
SRC = $(BINARY).c \ SRC = $(BINARY).c \
../common/hackrf_core.c \ ../common/hackrf_core.c \
../common/si5351c.c ../common/si5351c.c \
../common/max2837.c
LDSCRIPT = ../common/LPC4330_M4_rom_to_ram.ld LDSCRIPT = ../common/LPC4330_M4_rom_to_ram.ld
include ../common/Makefile_inc.mk include ../common/Makefile_inc.mk

View File

@ -26,7 +26,8 @@
# derived primarily from Makefiles in libopencm3 # derived primarily from Makefiles in libopencm3
BOARD ?= JELLYBEAN #BOARD ?= JELLYBEAN
BOARD ?= JAWBREAKER
HACKRF_OPTS = -D$(BOARD) HACKRF_OPTS = -D$(BOARD)

View File

@ -8,6 +8,7 @@
/* 32 registers, each containing 10 bits of data. */ /* 32 registers, each containing 10 bits of data. */
#define MAX2837_NUM_REGS 32 #define MAX2837_NUM_REGS 32
#define MAX2837_DATA_REGS_MAX_VALUE 1024
/* TODO - these externs will be local to max2837.c ... don't define here? */ /* TODO - these externs will be local to max2837.c ... don't define here? */
extern uint16_t max2837_regs[MAX2837_NUM_REGS]; extern uint16_t max2837_regs[MAX2837_NUM_REGS];

View File

@ -25,7 +25,8 @@ BINARY = sgpio_passthrough
SRC = $(BINARY).c \ SRC = $(BINARY).c \
../common/hackrf_core.c \ ../common/hackrf_core.c \
../common/si5351c.c ../common/si5351c.c \
../common/max2837.c
LDSCRIPT = ../common/LPC4330_M4_rom_to_ram.ld LDSCRIPT = ../common/LPC4330_M4_rom_to_ram.ld
include ../common/Makefile_inc.mk include ../common/Makefile_inc.mk

View File

@ -5,7 +5,8 @@ BINARY = startup_systick_perfo_rom_to_ram
SRC = startup_systick.c \ SRC = startup_systick.c \
perf_mips.c \ perf_mips.c \
../common/hackrf_core.c \ ../common/hackrf_core.c \
../common/si5351c.c ../common/si5351c.c \
../common/max2837.c
LDSCRIPT = ../common/LPC4330_M4_rom_to_ram.ld LDSCRIPT = ../common/LPC4330_M4_rom_to_ram.ld
include ../common/Makefile_inc.mk include ../common/Makefile_inc.mk