efm32: Split efm32/lg into /lg and /common.

Somewhat replaces some earlier work done by hg/lg, but much more
complete, so we kept it as is, because it's bringing in even more parts
after this.

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
kbob
2016-01-26 07:19:03 -08:00
committed by Karl Palsson
parent 6675be5326
commit 5160d7996c
51 changed files with 5858 additions and 5056 deletions

View File

@@ -47,7 +47,7 @@ void timer_stop(uint32_t timer)
void timer_set_clock_prescaler(uint32_t timer, uint32_t presc)
{
TIMER_CTRL(timer) = (TIMER_CTRL(timer) & ~TIMER_CTRL_PRESC_MASK)
| presc;
| TIMER_CTRL_PRESC(presc);
}
/**

View File

@@ -40,7 +40,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs
OBJS = cmu.o gpio_common_hglg.o timer_common_hglg.o
OBJS = cmu.o gpio_common.o timer_common.o
OBJS += usb.o usb_control.o usb_standard.o usb_msc.o \
usb_dwc_common.o usb_efm32hg.o

View File

@@ -40,8 +40,12 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs
OBJS =
OBJS = gpio_common_hglg.o timer_common_hglg.o cmu.o prs.o adc.o dma.o dac.o
OBJS += usb.o usb_control.o usb_standard.o usb_efm32lg.o
OBJS = gpio_common.o cmu_common.o prs_common.o
OBJS += adc_common.o dma_common.o timer_common.o
OBJS += dac_common.o
OBJS += usb.o usb_control.o usb_standard.o
OBJS += usb_efm32.o
VPATH += ../../usb:../:../../cm3:../common