aboutsummaryrefslogtreecommitdiff
path: root/examples/efm32
diff options
context:
space:
mode:
authorchrysn2012-09-13 23:41:52 +0200
committerchrysn2012-09-13 23:41:52 +0200
commit50b3c92d7ff7230b1527ba391ace74a876e404f1 (patch)
tree45fb26bec843ddfa586afb1f674d2a5110d20293 /examples/efm32
parent0508f30d2dcd74008e76005c735dc47b7cea5132 (diff)
removed efm32lib examples
they would have needed migration work from efm32lib to emlib, and depend on non-free cmsis anyway.
Diffstat (limited to 'examples/efm32')
-rw-r--r--examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/Makefile26
-rw-r--r--examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/README9
l---------examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_cmu.c1
l---------examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_gpio.c1
-rw-r--r--examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/miniblink.c69
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/Makefile.include29
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/README14
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/Makefile26
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/README9
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_cmu.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_gpio.c1
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/miniblink.c70
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile26
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_acmp.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_adc.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_aes.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_assert.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_burtc.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_cmu.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dac.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dbg.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dma.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_ebi.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_emu.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_gpio.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_i2c.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_int.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lcd.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lesense.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_letimer.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_leuart.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_mpu.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_msc.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_opamp.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_pcnt.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_prs.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rmu.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rtc.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_system.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_timer.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_usart.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_vcmp.c1
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_wdog.c1
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit14
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/test.c115
45 files changed, 0 insertions, 441 deletions
diff --git a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/Makefile b/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/Makefile
deleted file mode 100644
index 0da7462..0000000
--- a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-##
-## This file is part of the libopencm3 project.
-##
-## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
-## Copyright (C) 2012 chrysn <chrysn@fsfe.org>
-##
-## This library is free software: you can redistribute it and/or modify
-## it under the terms of the GNU Lesser General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU Lesser General Public License for more details.
-##
-## You should have received a copy of the GNU Lesser General Public License
-## along with this library. If not, see <http://www.gnu.org/licenses/>.
-##
-
-BINARY = miniblink
-
-OBJS += efm32_gpio.o efm32_cmu.o
-CFLAGS += -I/tmp/EFM32_CMSIS_2.4.1/efm32lib/inc/ -I /tmp/EFM32_CMSIS_2.4.1/CMSIS/CM3/DeviceSupport/EnergyMicro/EFM32/ -DEFM32TG840F32 -I.
-
-include ../Makefile.include
diff --git a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/README b/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/README
deleted file mode 100644
index 49c6d11..0000000
--- a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/README
+++ /dev/null
@@ -1,9 +0,0 @@
-===================================================
-EFM32-TG-STK3300 Examples miniblink-efm32lib README
-===================================================
-
-This is a port of the miniblink example to the efm32lib library.
-
-It's intended for the EFM32-TG-STK3300 eval board. It should blink the user LED
-on the board, just as the original miniblink example does.
-
diff --git a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_cmu.c b/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_cmu.c
deleted file mode 120000
index 168574b..0000000
--- a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_cmu.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_cmu.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_gpio.c b/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_gpio.c
deleted file mode 120000
index 0b2df21..0000000
--- a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/efm32_gpio.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_gpio.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/miniblink.c b/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/miniblink.c
deleted file mode 100644
index 9fa0b23..0000000
--- a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/miniblink.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * This file is part of the libopencm3 project.
- *
- * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
- * Copyright (C) 2012 chrysn <chrysn@fsfe.org>
- *
- * This library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include <efm32_cmu.h>
-#include <efm32_gpio.h>
-
-void led_setup(void);
-void led_toggle(void);
-
-/** @file
- * Minimal example for making the User LED of the EFM32-TG-STK330 eval board blink.
- */
-
-/**
- * Toggle the User LED in an infinite loop, with time between the toggling
- * determined by a busy loop stupidly counting up.
- */
-
-int main(void)
-{
- int x;
-
- led_setup();
-
- while(1) {
- for(x = 0; x < 200000; ++x) asm("mov r0,r0"); /* no-op, prevent compiler from optimizing this away */
- led_toggle();
- };
-}
-
-/**
- * Enable GPIO, and set up port D7 as an output pin.
- */
-
-void led_setup(void)
-{
- // Before GPIO works, according to d0034_efm32tg_reference_manual.pdf
- // note in section 28.3.7, we'll have to enable GPIO in CMU_HFPERCLKEN0
-
- CMU->HFPERCLKEN0 |= _CMU_HFPERCLKEN0_GPIO_MASK;
-
- // The User LED is connected to PD7 to the plus side of the LED
- // according to t0011_efm32_tiny_gecko_stk_user_manual.pdf figures 16.2
- // and 16.3 (called UIF_LED0)
-
- GPIO_PinModeSet(gpioPortD, 7, gpioModePushPull, 0);
-}
-
-void led_toggle(void)
-{
- GPIO_PinOutToggle(gpioPortD, 7);
-}
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/Makefile.include b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/Makefile.include
deleted file mode 100644
index 6e927a6..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/Makefile.include
+++ /dev/null
@@ -1,29 +0,0 @@
-##
-## This file is part of the libopencm3 project.
-##
-## Copyright (C) 2012 chrysn <chrysn@fsfe.org>
-##
-## This library is free software: you can redistribute it and/or modify
-## it under the terms of the GNU Lesser General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU Lesser General Public License for more details.
-##
-## You should have received a copy of the GNU Lesser General Public License
-## along with this library. If not, see <http://www.gnu.org/licenses/>.
-##
-
-MCU = EFM32TG840F32
-FAMILY = GECKO
-
-EACOMMANDER = ~/energymicro/energymicro/eACommander.sh
-
-include $(dir $(lastword $(MAKEFILE_LIST)))../Makefile.include
-
-upload: $(BINARY).bin
- # eacommander is just as nonfree as jlink.sh, but much less of a hasle
- $(EACOMMANDER) --flash $< --verify --mode out --address 0 --reset
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/README b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/README
deleted file mode 100644
index 7360a8c..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/README
+++ /dev/null
@@ -1,14 +0,0 @@
-========================
-EM-32G880F128-H Examples
-========================
-
-Examples in this directory are designed to be run on the OlimexEM-32G880F128-H
-header breakout board, which is based on the EFM32G880F128 MCU.
-
-The board is equipped with two user LEDs, a user button, reset button, power
-supply, 20 pin debug connector and 10 pin UEXT connector (Olimex' open
-versatile microcontroller connector).
-
-The build system is designed to upload programs using the EFM32-TG-STK3300
-board's external Segger debugger, which has to be configured for external
-operation beforehand.
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/Makefile b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/Makefile
deleted file mode 100644
index df8985a..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-##
-## This file is part of the libopencm3 project.
-##
-## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
-## Copyright (C) 2012 chrysn <chrysn@fsfe.org>
-##
-## This library is free software: you can redistribute it and/or modify
-## it under the terms of the GNU Lesser General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU Lesser General Public License for more details.
-##
-## You should have received a copy of the GNU Lesser General Public License
-## along with this library. If not, see <http://www.gnu.org/licenses/>.
-##
-
-BINARY = miniblink
-
-OBJS += efm32_gpio.o efm32_cmu.o
-CFLAGS += -I/tmp/EFM32_CMSIS_2.4.1/efm32lib/inc/ -I /tmp/EFM32_CMSIS_2.4.1/CMSIS/CM3/DeviceSupport/EnergyMicro/EFM32/ -DEFM32G880F128 -I.
-
-include ../Makefile.include
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/README b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/README
deleted file mode 100644
index 2500f4d..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/README
+++ /dev/null
@@ -1,9 +0,0 @@
-====================================================
-EM32-32G880F128-H Examples miniblink-efm32lib README
-====================================================
-
-This is a port of the miniblink example to the efm32lib library.
-
-It's intended for the EM32-32G880F128-H eval board. It should blink LED1 on the
-board, just as the original miniblink example does.
-
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_cmu.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_cmu.c
deleted file mode 120000
index 168574b..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_cmu.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_cmu.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_gpio.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_gpio.c
deleted file mode 120000
index 0b2df21..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/efm32_gpio.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_gpio.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/miniblink.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/miniblink.c
deleted file mode 100644
index 3838c94..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/miniblink.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * This file is part of the libopencm3 project.
- *
- * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
- * Copyright (C) 2012 chrysn <chrysn@fsfe.org>
- *
- * This library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include <efm32_cmu.h>
-#include <efm32_gpio.h>
-
-void led_setup(void);
-void led_toggle(void);
-
-/** @file
- * Minimal example for making the User LED of the olimex EM32-32G880F128-H eval
- * board blink.
- */
-
-/**
- * Toggle the User LED in an infinite loop, with time between the toggling
- * determined by a busy loop stupidly counting up.
- */
-
-int main(void)
-{
- int x;
-
- led_setup();
-
- while(1) {
- for(x = 0; x < 200000; ++x) asm("mov r0,r0"); /* no-op, prevent compiler from optimizing this away */
- led_toggle();
- };
-}
-
-/**
- * Enable GPIO, and set up port E1 as an output pin, and inverted.
- */
-
-void led_setup(void)
-{
- // Before GPIO works, according to d0034_efm32tg_reference_manual.pdf
- // note in section 28.3.7, we'll have to enable GPIO in CMU_HFPERCLKEN0
-
- CMU->HFPERCLKEN0 |= _CMU_HFPERCLKEN0_GPIO_MASK;
-
- // The User LED is connected to PD7 to the plus side of the LED
- // according to t0011_efm32_tiny_gecko_stk_user_manual.pdf figures 16.2
- // and 16.3 (called UIF_LED0)
-
- GPIO_PinModeSet(gpioPortE, 1, gpioModePushPull, 0);
-}
-
-void led_toggle(void)
-{
- GPIO_PinOutToggle(gpioPortE, 1);
-}
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile
deleted file mode 100644
index 181e15a..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-##
-## This file is part of the libopencm3 project.
-##
-## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
-## Copyright (C) 2012 chrysn <chrysn@fsfe.org>
-##
-## This library is free software: you can redistribute it and/or modify
-## it under the terms of the GNU Lesser General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## This library is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU Lesser General Public License for more details.
-##
-## You should have received a copy of the GNU Lesser General Public License
-## along with this library. If not, see <http://www.gnu.org/licenses/>.
-##
-
-BINARY = test
-
-OBJS += core_cm3.o $(patsubst %.c,%.o,$(wildcard efm32_*.c))
-CFLAGS += -I/tmp/EFM32_CMSIS_2.4.1/efm32lib/inc/ -I /tmp/EFM32_CMSIS_2.4.1/CMSIS/CM3/DeviceSupport/EnergyMicro/EFM32/ -DEFM32G880F128 -I.
-
-include ../Makefile.include
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_acmp.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_acmp.c
deleted file mode 120000
index 1e1fcef..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_acmp.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_acmp.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_adc.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_adc.c
deleted file mode 120000
index 00fca91..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_adc.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_adc.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_aes.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_aes.c
deleted file mode 120000
index 5048a82..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_aes.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_aes.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_assert.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_assert.c
deleted file mode 120000
index d5de54d..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_assert.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_assert.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_burtc.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_burtc.c
deleted file mode 120000
index 8a73bbd..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_burtc.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_burtc.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_cmu.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_cmu.c
deleted file mode 120000
index 168574b..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_cmu.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_cmu.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dac.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dac.c
deleted file mode 120000
index 7e12e03..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dac.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_dac.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dbg.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dbg.c
deleted file mode 120000
index 1e0b9ae..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dbg.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_dbg.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dma.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dma.c
deleted file mode 120000
index c72b91c..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_dma.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_dma.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_ebi.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_ebi.c
deleted file mode 120000
index c9d26bb..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_ebi.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_ebi.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_emu.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_emu.c
deleted file mode 120000
index 7a8b76e..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_emu.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_emu.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_gpio.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_gpio.c
deleted file mode 120000
index 0b2df21..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_gpio.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_gpio.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_i2c.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_i2c.c
deleted file mode 120000
index 681adc3..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_i2c.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_i2c.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_int.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_int.c
deleted file mode 120000
index 176d6cf..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_int.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_int.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lcd.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lcd.c
deleted file mode 120000
index 4d6026b..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lcd.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_lcd.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lesense.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lesense.c
deleted file mode 120000
index 8c7ea28..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_lesense.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_lesense.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_letimer.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_letimer.c
deleted file mode 120000
index aa5eca6..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_letimer.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_letimer.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_leuart.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_leuart.c
deleted file mode 120000
index 64b3a57..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_leuart.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_leuart.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_mpu.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_mpu.c
deleted file mode 120000
index 141dcfb..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_mpu.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_mpu.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_msc.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_msc.c
deleted file mode 120000
index c1f750e..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_msc.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_msc.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_opamp.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_opamp.c
deleted file mode 120000
index b6a558b..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_opamp.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_opamp.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_pcnt.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_pcnt.c
deleted file mode 120000
index 2df78bd..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_pcnt.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_pcnt.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_prs.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_prs.c
deleted file mode 120000
index 15b98fe..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_prs.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_prs.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rmu.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rmu.c
deleted file mode 120000
index 242f40d..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rmu.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_rmu.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rtc.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rtc.c
deleted file mode 120000
index 9ec9a46..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_rtc.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_rtc.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_system.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_system.c
deleted file mode 120000
index 74114f4..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_system.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_system.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_timer.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_timer.c
deleted file mode 120000
index b81acaa..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_timer.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_timer.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_usart.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_usart.c
deleted file mode 120000
index 7c78c2c..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_usart.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_usart.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_vcmp.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_vcmp.c
deleted file mode 120000
index e3b6650..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_vcmp.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_vcmp.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_wdog.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_wdog.c
deleted file mode 120000
index 12c48f1..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/efm32_wdog.c
+++ /dev/null
@@ -1 +0,0 @@
-/tmp/EFM32_CMSIS_2.4.1/efm32lib/src/efm32_wdog.c \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
deleted file mode 100644
index 7ccaa72..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
+++ /dev/null
@@ -1,14 +0,0 @@
-# gets set when loading the file, without this i get the "Remote 'g' packet
-# reply is too long" errors
-set arm abi AAPCS
-
-target remote localhost:2331
-monitor speed auto
-# this seems to be less about the architecture and more about how to
-# communicate with gdb. "set endian big" works just as well.
-monitor endian little
-
-# sometimes this doesn't work, then the gdbserver has to be restarted
-monitor reset
-monitor go
-monitor halt
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/test.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/test.c
deleted file mode 100644
index 02954bb..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/test.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * This file is part of the libopencm3 project.
- *
- * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
- * Copyright (C) 2012 chrysn <chrysn@fsfe.org>
- *
- * This library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include <efm32_acmp.h>
-#include <efm32_adc.h>
-#include <efm32_aes.h>
-#include <efm32_assert.h>
-#include <efm32_bitband.h>
-#include <efm32_burtc.h>
-#include <efm32_chip.h>
-#include <efm32_cmu.h>
-#include <efm32_common.h>
-#include <efm32_dac.h>
-#include <efm32_dbg.h>
-#include <efm32_dma.h>
-#include <efm32_ebi.h>
-#include <efm32_emu.h>
-#include <efm32_gpio.h>
-#include <efm32_i2c.h>
-#include <efm32_int.h>
-#include <efm32_lcd.h>
-#include <efm32_lesense.h>
-#include <efm32_letimer.h>
-#include <efm32_leuart.h>
-#include <efm32_mpu.h>
-#include <efm32_msc.h>
-#include <efm32_opamp.h>
-#include <efm32_pcnt.h>
-#include <efm32_prs.h>
-#include <efm32_rmu.h>
-#include <efm32_rtc.h>
-#include <efm32_system.h>
-#include <efm32_timer.h>
-#include <efm32_usart.h>
-#include <efm32_vcmp.h>
-#include <efm32_version.h>
-#include <efm32_wdog.h>
-
-#include <stdio.h>
-
-void setup(void);
-void led_toggle(void);
-bool button_is_pressed(void);
-void debug(int a);
-
-#define LOG_SIZE 1024
-volatile char logbuffer[LOG_SIZE];
-
-int main(void)
-{
- int x;
- int n_pressed = 0;
-
- setup();
-
- while(1) {
- if (button_is_pressed())
- {
- for(x = 0; x < 200000; ++x) asm("mov r0,r0"); /* no-op, prevent compiler from optimizing this away */
- n_pressed += 1;
- debug(n_pressed);
- }
- led_toggle();
- };
-}
-
-void debug(int a)
-{
- snprintf(logbuffer, LOG_SIZE, "Data %d.\n", a);
-}
-
-void setup(void)
-{
- // Before GPIO works, according to d0034_efm32tg_reference_manual.pdf
- // note in section 28.3.7, we'll have to enable GPIO in CMU_HFPERCLKEN0
-
- CMU->HFPERCLKEN0 |= _CMU_HFPERCLKEN0_GPIO_MASK;
-
- GPIO_PinModeSet(gpioPortE, 1, gpioModePushPull, 0);
- GPIO_PinModeSet(gpioPortE, 2, gpioModePushPull, 0);
-
- GPIO_PinModeSet(gpioPortE, 0, gpioModeInputPull, 1); /* pull up */
-
- // Counter-blink the other user LED
-
- GPIO_PinOutToggle(gpioPortE, 2);
-}
-
-void led_toggle(void)
-{
- GPIO_PinOutToggle(gpioPortE, 1);
- GPIO_PinOutToggle(gpioPortE, 2);
-}
-
-bool button_is_pressed(void)
-{
- return !GPIO_PinInGet(gpioPortE, 0);
-}