Commit 5e15bf93 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

Make sure wrc.a gets rebuilt from scratch every time we link (+ fix undefined…

Make sure wrc.a gets rebuilt from scratch every time we link (+ fix undefined symbol error on fresh checkout)
parent 080f8742
......@@ -173,6 +173,7 @@ $(OUTPUT).elf: $(LDS-y) $(AUTOCONF) gitmodules $(OUTPUT).a config.o pconfig.o sd
./save_size.sh $(SIZE) $@
$(OUTPUT).a: $(OBJS)
rm -f wrc.a
ar rc $@ $(OBJS)
OBJCOPY-TARGET-$(CONFIG_LM32) = -O elf32-lm32 -B lm32
......
......@@ -28,15 +28,13 @@
#include "dev/ad7888.h"
#include "dev/ertm15_rf_distr.h"
extern struct gpio_device gpio_aux;
static const struct gpio_pin pin_lo_ctrl_ser = { &board.gpio_aux, 39 };
static const struct gpio_pin pin_lo_ctrl_updtclk = { &board.gpio_aux, 40 };
static const struct gpio_pin pin_lo_ctrl_shftclk = { &board.gpio_aux, 41 };
static const struct gpio_pin pin_lo_ctrl_ser = { &gpio_aux, 39 };
static const struct gpio_pin pin_lo_ctrl_updtclk = { &gpio_aux, 40 };
static const struct gpio_pin pin_lo_ctrl_shftclk = { &gpio_aux, 41 };
static const struct gpio_pin pin_ref_ctrl_ser = { &gpio_aux, 42 };
static const struct gpio_pin pin_ref_ctrl_updtclk = { &gpio_aux, 43 };
static const struct gpio_pin pin_ref_ctrl_shftclk = { &gpio_aux, 44 };
static const struct gpio_pin pin_ref_ctrl_ser = { &board.gpio_aux, 42 };
static const struct gpio_pin pin_ref_ctrl_updtclk = { &board.gpio_aux, 43 };
static const struct gpio_pin pin_ref_ctrl_shftclk = { &board.gpio_aux, 44 };
static struct gpio_device gpio_rfsw_ref;
static struct gpio_device gpio_rfsw_lo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment