Fixed some makefile and set default BOARD to JAWBREAKER (instead of JELLYBEAN).
This commit is contained in:
@ -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
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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];
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user