From bcce98da54b047a15ef0abf41e0c7794f29f0439 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 30 Dec 2010 01:52:44 +0100 Subject: [PATCH] Move STM32 examples to examples/stm32 subdir. --- Makefile | 4 ++-- examples/{ => stm32}/Makefile | 0 examples/{ => stm32}/Makefile.include | 2 +- examples/{ => stm32}/lisa-m/Makefile | 0 examples/{ => stm32}/lisa-m/usb_dfu/Makefile | 0 examples/{ => stm32}/lisa-m/usb_dfu/README | 0 examples/{ => stm32}/lisa-m/usb_dfu/usbdfu.c | 0 examples/{ => stm32}/lisa-m/usb_dfu/usbdfu.ld | 0 examples/{ => stm32}/lisa-m/usb_hid/Makefile | 0 examples/{ => stm32}/lisa-m/usb_hid/README | 0 examples/{ => stm32}/lisa-m/usb_hid/usbhid.c | 0 examples/{ => stm32}/lisa-m/usb_hid/usbhid.ld | 0 examples/{ => stm32}/mb525/Makefile | 0 examples/{ => stm32}/mb525/fancyblink/Makefile | 0 examples/{ => stm32}/mb525/fancyblink/README | 0 examples/{ => stm32}/mb525/fancyblink/fancyblink.c | 0 examples/{ => stm32}/mb525/fancyblink/fancyblink.ld | 0 examples/{ => stm32}/mb525/pwmleds/Makefile | 0 examples/{ => stm32}/mb525/pwmleds/README | 0 examples/{ => stm32}/mb525/pwmleds/pwmleds.c | 0 examples/{ => stm32}/mb525/pwmleds/pwmleds.ld | 0 examples/{ => stm32}/obldc/Makefile | 0 examples/{ => stm32}/obldc/can/Makefile | 0 examples/{ => stm32}/obldc/can/can.c | 0 examples/{ => stm32}/obldc/can/can.ld | 0 examples/{ => stm32}/obldc/led/Makefile | 0 examples/{ => stm32}/obldc/led/led.c | 0 examples/{ => stm32}/obldc/led/led.ld | 0 examples/{ => stm32}/obldc/systick/Makefile | 0 examples/{ => stm32}/obldc/systick/systick.c | 0 examples/{ => stm32}/obldc/systick/systick.ld | 0 examples/{ => stm32}/obldc/usart/Makefile | 0 examples/{ => stm32}/obldc/usart/usart.c | 0 examples/{ => stm32}/obldc/usart/usart.ld | 0 examples/{ => stm32}/obldc/usart_irq/Makefile | 0 examples/{ => stm32}/obldc/usart_irq/usart_irq.c | 0 examples/{ => stm32}/obldc/usart_irq/usart_irq.ld | 0 examples/{ => stm32}/other/Makefile | 0 examples/{ => stm32}/other/adc_temperature_sensor/Makefile | 0 examples/{ => stm32}/other/adc_temperature_sensor/README | 0 examples/{ => stm32}/other/adc_temperature_sensor/adc.c | 0 examples/{ => stm32}/other/adc_temperature_sensor/adc.ld | 0 examples/{ => stm32}/other/dma_mem2mem/Makefile | 0 examples/{ => stm32}/other/dma_mem2mem/README | 0 examples/{ => stm32}/other/dma_mem2mem/dma.c | 0 examples/{ => stm32}/other/dma_mem2mem/dma.ld | 0 examples/{ => stm32}/other/dogm128/Makefile | 0 examples/{ => stm32}/other/dogm128/README | 0 examples/{ => stm32}/other/dogm128/dogm128.c | 0 examples/{ => stm32}/other/dogm128/dogm128.h | 0 examples/{ => stm32}/other/dogm128/main.c | 0 examples/{ => stm32}/other/dogm128/main.ld | 0 examples/{ => stm32}/other/i2c_stts75_sensor/Makefile | 0 examples/{ => stm32}/other/i2c_stts75_sensor/README | 0 .../{ => stm32}/other/i2c_stts75_sensor/i2c_stts75_sensor.c | 0 .../{ => stm32}/other/i2c_stts75_sensor/i2c_stts75_sensor.ld | 0 examples/{ => stm32}/other/i2c_stts75_sensor/stts75.c | 0 examples/{ => stm32}/other/i2c_stts75_sensor/stts75.h | 0 examples/{ => stm32}/other/rtc/Makefile | 0 examples/{ => stm32}/other/rtc/README | 0 examples/{ => stm32}/other/rtc/rtc.c | 0 examples/{ => stm32}/other/rtc/rtc.ld | 0 examples/{ => stm32}/other/systick/Makefile | 0 examples/{ => stm32}/other/systick/README | 0 examples/{ => stm32}/other/systick/systick.c | 0 examples/{ => stm32}/other/systick/systick.ld | 0 examples/{ => stm32}/other/timer_interrupt/Makefile | 0 examples/{ => stm32}/other/timer_interrupt/README | 0 examples/{ => stm32}/other/timer_interrupt/timer.c | 0 examples/{ => stm32}/other/timer_interrupt/timer.ld | 0 examples/{ => stm32}/other/usb_cdcacm/Makefile | 0 examples/{ => stm32}/other/usb_cdcacm/README | 0 examples/{ => stm32}/other/usb_cdcacm/cdcacm.c | 0 examples/{ => stm32}/other/usb_cdcacm/cdcacm.ld | 0 examples/{ => stm32}/other/usb_dfu/Makefile | 0 examples/{ => stm32}/other/usb_dfu/README | 0 examples/{ => stm32}/other/usb_dfu/usbdfu.c | 0 examples/{ => stm32}/other/usb_dfu/usbdfu.ld | 0 examples/{ => stm32}/other/usb_hid/Makefile | 0 examples/{ => stm32}/other/usb_hid/README | 0 examples/{ => stm32}/other/usb_hid/usbhid.c | 0 examples/{ => stm32}/other/usb_hid/usbhid.ld | 0 examples/{ => stm32}/stm32-h103/Makefile | 0 examples/{ => stm32}/stm32-h103/fancyblink/Makefile | 0 examples/{ => stm32}/stm32-h103/fancyblink/README | 0 examples/{ => stm32}/stm32-h103/fancyblink/fancyblink.c | 0 examples/{ => stm32}/stm32-h103/fancyblink/fancyblink.ld | 0 examples/{ => stm32}/stm32-h103/miniblink/Makefile | 0 examples/{ => stm32}/stm32-h103/miniblink/README | 0 examples/{ => stm32}/stm32-h103/miniblink/miniblink.c | 0 examples/{ => stm32}/stm32-h103/miniblink/miniblink.ld | 0 examples/{ => stm32}/stm32-h103/spi/Makefile | 0 examples/{ => stm32}/stm32-h103/spi/README | 0 examples/{ => stm32}/stm32-h103/spi/spi.c | 0 examples/{ => stm32}/stm32-h103/spi/spi.ld | 0 examples/{ => stm32}/stm32-h103/usart/Makefile | 0 examples/{ => stm32}/stm32-h103/usart/README | 0 examples/{ => stm32}/stm32-h103/usart/usart.c | 0 examples/{ => stm32}/stm32-h103/usart/usart.ld | 0 examples/{ => stm32}/stm32-h103/usb_cdcacm/Makefile | 0 examples/{ => stm32}/stm32-h103/usb_cdcacm/README | 0 examples/{ => stm32}/stm32-h103/usb_cdcacm/cdcacm.c | 0 examples/{ => stm32}/stm32-h103/usb_cdcacm/cdcacm.ld | 0 examples/{ => stm32}/stm32-h103/usb_dfu/Makefile | 0 examples/{ => stm32}/stm32-h103/usb_dfu/README | 0 examples/{ => stm32}/stm32-h103/usb_dfu/usbdfu.c | 0 examples/{ => stm32}/stm32-h103/usb_dfu/usbdfu.ld | 0 examples/{ => stm32}/stm32-h103/usb_hid/Makefile | 0 examples/{ => stm32}/stm32-h103/usb_hid/README | 0 examples/{ => stm32}/stm32-h103/usb_hid/usbhid.c | 0 examples/{ => stm32}/stm32-h103/usb_hid/usbhid.ld | 0 examples/{ => stm32}/stm32-h103/usb_iap/Makefile | 0 examples/{ => stm32}/stm32-h103/usb_iap/README | 0 examples/{ => stm32}/stm32-h103/usb_iap/usbiap.c | 0 examples/{ => stm32}/stm32-h103/usb_iap/usbiap.ld | 0 115 files changed, 3 insertions(+), 3 deletions(-) rename examples/{ => stm32}/Makefile (100%) rename examples/{ => stm32}/Makefile.include (99%) rename examples/{ => stm32}/lisa-m/Makefile (100%) rename examples/{ => stm32}/lisa-m/usb_dfu/Makefile (100%) rename examples/{ => stm32}/lisa-m/usb_dfu/README (100%) rename examples/{ => stm32}/lisa-m/usb_dfu/usbdfu.c (100%) rename examples/{ => stm32}/lisa-m/usb_dfu/usbdfu.ld (100%) rename examples/{ => stm32}/lisa-m/usb_hid/Makefile (100%) rename examples/{ => stm32}/lisa-m/usb_hid/README (100%) rename examples/{ => stm32}/lisa-m/usb_hid/usbhid.c (100%) rename examples/{ => stm32}/lisa-m/usb_hid/usbhid.ld (100%) rename examples/{ => stm32}/mb525/Makefile (100%) rename examples/{ => stm32}/mb525/fancyblink/Makefile (100%) rename examples/{ => stm32}/mb525/fancyblink/README (100%) rename examples/{ => stm32}/mb525/fancyblink/fancyblink.c (100%) rename examples/{ => stm32}/mb525/fancyblink/fancyblink.ld (100%) rename examples/{ => stm32}/mb525/pwmleds/Makefile (100%) rename examples/{ => stm32}/mb525/pwmleds/README (100%) rename examples/{ => stm32}/mb525/pwmleds/pwmleds.c (100%) rename examples/{ => stm32}/mb525/pwmleds/pwmleds.ld (100%) rename examples/{ => stm32}/obldc/Makefile (100%) rename examples/{ => stm32}/obldc/can/Makefile (100%) rename examples/{ => stm32}/obldc/can/can.c (100%) rename examples/{ => stm32}/obldc/can/can.ld (100%) rename examples/{ => stm32}/obldc/led/Makefile (100%) rename examples/{ => stm32}/obldc/led/led.c (100%) rename examples/{ => stm32}/obldc/led/led.ld (100%) rename examples/{ => stm32}/obldc/systick/Makefile (100%) rename examples/{ => stm32}/obldc/systick/systick.c (100%) rename examples/{ => stm32}/obldc/systick/systick.ld (100%) rename examples/{ => stm32}/obldc/usart/Makefile (100%) rename examples/{ => stm32}/obldc/usart/usart.c (100%) rename examples/{ => stm32}/obldc/usart/usart.ld (100%) rename examples/{ => stm32}/obldc/usart_irq/Makefile (100%) rename examples/{ => stm32}/obldc/usart_irq/usart_irq.c (100%) rename examples/{ => stm32}/obldc/usart_irq/usart_irq.ld (100%) rename examples/{ => stm32}/other/Makefile (100%) rename examples/{ => stm32}/other/adc_temperature_sensor/Makefile (100%) rename examples/{ => stm32}/other/adc_temperature_sensor/README (100%) rename examples/{ => stm32}/other/adc_temperature_sensor/adc.c (100%) rename examples/{ => stm32}/other/adc_temperature_sensor/adc.ld (100%) rename examples/{ => stm32}/other/dma_mem2mem/Makefile (100%) rename examples/{ => stm32}/other/dma_mem2mem/README (100%) rename examples/{ => stm32}/other/dma_mem2mem/dma.c (100%) rename examples/{ => stm32}/other/dma_mem2mem/dma.ld (100%) rename examples/{ => stm32}/other/dogm128/Makefile (100%) rename examples/{ => stm32}/other/dogm128/README (100%) rename examples/{ => stm32}/other/dogm128/dogm128.c (100%) rename examples/{ => stm32}/other/dogm128/dogm128.h (100%) rename examples/{ => stm32}/other/dogm128/main.c (100%) rename examples/{ => stm32}/other/dogm128/main.ld (100%) rename examples/{ => stm32}/other/i2c_stts75_sensor/Makefile (100%) rename examples/{ => stm32}/other/i2c_stts75_sensor/README (100%) rename examples/{ => stm32}/other/i2c_stts75_sensor/i2c_stts75_sensor.c (100%) rename examples/{ => stm32}/other/i2c_stts75_sensor/i2c_stts75_sensor.ld (100%) rename examples/{ => stm32}/other/i2c_stts75_sensor/stts75.c (100%) rename examples/{ => stm32}/other/i2c_stts75_sensor/stts75.h (100%) rename examples/{ => stm32}/other/rtc/Makefile (100%) rename examples/{ => stm32}/other/rtc/README (100%) rename examples/{ => stm32}/other/rtc/rtc.c (100%) rename examples/{ => stm32}/other/rtc/rtc.ld (100%) rename examples/{ => stm32}/other/systick/Makefile (100%) rename examples/{ => stm32}/other/systick/README (100%) rename examples/{ => stm32}/other/systick/systick.c (100%) rename examples/{ => stm32}/other/systick/systick.ld (100%) rename examples/{ => stm32}/other/timer_interrupt/Makefile (100%) rename examples/{ => stm32}/other/timer_interrupt/README (100%) rename examples/{ => stm32}/other/timer_interrupt/timer.c (100%) rename examples/{ => stm32}/other/timer_interrupt/timer.ld (100%) rename examples/{ => stm32}/other/usb_cdcacm/Makefile (100%) rename examples/{ => stm32}/other/usb_cdcacm/README (100%) rename examples/{ => stm32}/other/usb_cdcacm/cdcacm.c (100%) rename examples/{ => stm32}/other/usb_cdcacm/cdcacm.ld (100%) rename examples/{ => stm32}/other/usb_dfu/Makefile (100%) rename examples/{ => stm32}/other/usb_dfu/README (100%) rename examples/{ => stm32}/other/usb_dfu/usbdfu.c (100%) rename examples/{ => stm32}/other/usb_dfu/usbdfu.ld (100%) rename examples/{ => stm32}/other/usb_hid/Makefile (100%) rename examples/{ => stm32}/other/usb_hid/README (100%) rename examples/{ => stm32}/other/usb_hid/usbhid.c (100%) rename examples/{ => stm32}/other/usb_hid/usbhid.ld (100%) rename examples/{ => stm32}/stm32-h103/Makefile (100%) rename examples/{ => stm32}/stm32-h103/fancyblink/Makefile (100%) rename examples/{ => stm32}/stm32-h103/fancyblink/README (100%) rename examples/{ => stm32}/stm32-h103/fancyblink/fancyblink.c (100%) rename examples/{ => stm32}/stm32-h103/fancyblink/fancyblink.ld (100%) rename examples/{ => stm32}/stm32-h103/miniblink/Makefile (100%) rename examples/{ => stm32}/stm32-h103/miniblink/README (100%) rename examples/{ => stm32}/stm32-h103/miniblink/miniblink.c (100%) rename examples/{ => stm32}/stm32-h103/miniblink/miniblink.ld (100%) rename examples/{ => stm32}/stm32-h103/spi/Makefile (100%) rename examples/{ => stm32}/stm32-h103/spi/README (100%) rename examples/{ => stm32}/stm32-h103/spi/spi.c (100%) rename examples/{ => stm32}/stm32-h103/spi/spi.ld (100%) rename examples/{ => stm32}/stm32-h103/usart/Makefile (100%) rename examples/{ => stm32}/stm32-h103/usart/README (100%) rename examples/{ => stm32}/stm32-h103/usart/usart.c (100%) rename examples/{ => stm32}/stm32-h103/usart/usart.ld (100%) rename examples/{ => stm32}/stm32-h103/usb_cdcacm/Makefile (100%) rename examples/{ => stm32}/stm32-h103/usb_cdcacm/README (100%) rename examples/{ => stm32}/stm32-h103/usb_cdcacm/cdcacm.c (100%) rename examples/{ => stm32}/stm32-h103/usb_cdcacm/cdcacm.ld (100%) rename examples/{ => stm32}/stm32-h103/usb_dfu/Makefile (100%) rename examples/{ => stm32}/stm32-h103/usb_dfu/README (100%) rename examples/{ => stm32}/stm32-h103/usb_dfu/usbdfu.c (100%) rename examples/{ => stm32}/stm32-h103/usb_dfu/usbdfu.ld (100%) rename examples/{ => stm32}/stm32-h103/usb_hid/Makefile (100%) rename examples/{ => stm32}/stm32-h103/usb_hid/README (100%) rename examples/{ => stm32}/stm32-h103/usb_hid/usbhid.c (100%) rename examples/{ => stm32}/stm32-h103/usb_hid/usbhid.ld (100%) rename examples/{ => stm32}/stm32-h103/usb_iap/Makefile (100%) rename examples/{ => stm32}/stm32-h103/usb_iap/README (100%) rename examples/{ => stm32}/stm32-h103/usb_iap/usbiap.c (100%) rename examples/{ => stm32}/stm32-h103/usb_iap/usbiap.ld (100%) diff --git a/Makefile b/Makefile index 4f8aded3..1e708e6d 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ lib: examples: lib @printf " BUILD examples\n" - $(Q)$(MAKE) -C examples all + $(Q)$(MAKE) -C examples/stm32 all install: build @printf " INSTALL headers\n" @@ -57,7 +57,7 @@ install: build $(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR) clean: - $(Q)$(MAKE) -C examples clean + $(Q)$(MAKE) -C examples/stm32 clean $(Q)$(MAKE) -C lib clean .PHONY: build lib examples install clean diff --git a/examples/Makefile b/examples/stm32/Makefile similarity index 100% rename from examples/Makefile rename to examples/stm32/Makefile diff --git a/examples/Makefile.include b/examples/stm32/Makefile.include similarity index 99% rename from examples/Makefile.include rename to examples/stm32/Makefile.include index 9677067f..e8034cea 100644 --- a/examples/Makefile.include +++ b/examples/stm32/Makefile.include @@ -25,7 +25,7 @@ OBJCOPY = $(PREFIX)-objcopy OBJDUMP = $(PREFIX)-objdump # Uncomment this line if you want to use the installed (not local) library. # TOOLCHAIN_DIR = `dirname \`which $(CC)\``/../$(PREFIX) -TOOLCHAIN_DIR = ../../.. +TOOLCHAIN_DIR = ../../../.. CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \ -mcpu=cortex-m3 -mthumb LDSCRIPT = $(BINARY).ld diff --git a/examples/lisa-m/Makefile b/examples/stm32/lisa-m/Makefile similarity index 100% rename from examples/lisa-m/Makefile rename to examples/stm32/lisa-m/Makefile diff --git a/examples/lisa-m/usb_dfu/Makefile b/examples/stm32/lisa-m/usb_dfu/Makefile similarity index 100% rename from examples/lisa-m/usb_dfu/Makefile rename to examples/stm32/lisa-m/usb_dfu/Makefile diff --git a/examples/lisa-m/usb_dfu/README b/examples/stm32/lisa-m/usb_dfu/README similarity index 100% rename from examples/lisa-m/usb_dfu/README rename to examples/stm32/lisa-m/usb_dfu/README diff --git a/examples/lisa-m/usb_dfu/usbdfu.c b/examples/stm32/lisa-m/usb_dfu/usbdfu.c similarity index 100% rename from examples/lisa-m/usb_dfu/usbdfu.c rename to examples/stm32/lisa-m/usb_dfu/usbdfu.c diff --git a/examples/lisa-m/usb_dfu/usbdfu.ld b/examples/stm32/lisa-m/usb_dfu/usbdfu.ld similarity index 100% rename from examples/lisa-m/usb_dfu/usbdfu.ld rename to examples/stm32/lisa-m/usb_dfu/usbdfu.ld diff --git a/examples/lisa-m/usb_hid/Makefile b/examples/stm32/lisa-m/usb_hid/Makefile similarity index 100% rename from examples/lisa-m/usb_hid/Makefile rename to examples/stm32/lisa-m/usb_hid/Makefile diff --git a/examples/lisa-m/usb_hid/README b/examples/stm32/lisa-m/usb_hid/README similarity index 100% rename from examples/lisa-m/usb_hid/README rename to examples/stm32/lisa-m/usb_hid/README diff --git a/examples/lisa-m/usb_hid/usbhid.c b/examples/stm32/lisa-m/usb_hid/usbhid.c similarity index 100% rename from examples/lisa-m/usb_hid/usbhid.c rename to examples/stm32/lisa-m/usb_hid/usbhid.c diff --git a/examples/lisa-m/usb_hid/usbhid.ld b/examples/stm32/lisa-m/usb_hid/usbhid.ld similarity index 100% rename from examples/lisa-m/usb_hid/usbhid.ld rename to examples/stm32/lisa-m/usb_hid/usbhid.ld diff --git a/examples/mb525/Makefile b/examples/stm32/mb525/Makefile similarity index 100% rename from examples/mb525/Makefile rename to examples/stm32/mb525/Makefile diff --git a/examples/mb525/fancyblink/Makefile b/examples/stm32/mb525/fancyblink/Makefile similarity index 100% rename from examples/mb525/fancyblink/Makefile rename to examples/stm32/mb525/fancyblink/Makefile diff --git a/examples/mb525/fancyblink/README b/examples/stm32/mb525/fancyblink/README similarity index 100% rename from examples/mb525/fancyblink/README rename to examples/stm32/mb525/fancyblink/README diff --git a/examples/mb525/fancyblink/fancyblink.c b/examples/stm32/mb525/fancyblink/fancyblink.c similarity index 100% rename from examples/mb525/fancyblink/fancyblink.c rename to examples/stm32/mb525/fancyblink/fancyblink.c diff --git a/examples/mb525/fancyblink/fancyblink.ld b/examples/stm32/mb525/fancyblink/fancyblink.ld similarity index 100% rename from examples/mb525/fancyblink/fancyblink.ld rename to examples/stm32/mb525/fancyblink/fancyblink.ld diff --git a/examples/mb525/pwmleds/Makefile b/examples/stm32/mb525/pwmleds/Makefile similarity index 100% rename from examples/mb525/pwmleds/Makefile rename to examples/stm32/mb525/pwmleds/Makefile diff --git a/examples/mb525/pwmleds/README b/examples/stm32/mb525/pwmleds/README similarity index 100% rename from examples/mb525/pwmleds/README rename to examples/stm32/mb525/pwmleds/README diff --git a/examples/mb525/pwmleds/pwmleds.c b/examples/stm32/mb525/pwmleds/pwmleds.c similarity index 100% rename from examples/mb525/pwmleds/pwmleds.c rename to examples/stm32/mb525/pwmleds/pwmleds.c diff --git a/examples/mb525/pwmleds/pwmleds.ld b/examples/stm32/mb525/pwmleds/pwmleds.ld similarity index 100% rename from examples/mb525/pwmleds/pwmleds.ld rename to examples/stm32/mb525/pwmleds/pwmleds.ld diff --git a/examples/obldc/Makefile b/examples/stm32/obldc/Makefile similarity index 100% rename from examples/obldc/Makefile rename to examples/stm32/obldc/Makefile diff --git a/examples/obldc/can/Makefile b/examples/stm32/obldc/can/Makefile similarity index 100% rename from examples/obldc/can/Makefile rename to examples/stm32/obldc/can/Makefile diff --git a/examples/obldc/can/can.c b/examples/stm32/obldc/can/can.c similarity index 100% rename from examples/obldc/can/can.c rename to examples/stm32/obldc/can/can.c diff --git a/examples/obldc/can/can.ld b/examples/stm32/obldc/can/can.ld similarity index 100% rename from examples/obldc/can/can.ld rename to examples/stm32/obldc/can/can.ld diff --git a/examples/obldc/led/Makefile b/examples/stm32/obldc/led/Makefile similarity index 100% rename from examples/obldc/led/Makefile rename to examples/stm32/obldc/led/Makefile diff --git a/examples/obldc/led/led.c b/examples/stm32/obldc/led/led.c similarity index 100% rename from examples/obldc/led/led.c rename to examples/stm32/obldc/led/led.c diff --git a/examples/obldc/led/led.ld b/examples/stm32/obldc/led/led.ld similarity index 100% rename from examples/obldc/led/led.ld rename to examples/stm32/obldc/led/led.ld diff --git a/examples/obldc/systick/Makefile b/examples/stm32/obldc/systick/Makefile similarity index 100% rename from examples/obldc/systick/Makefile rename to examples/stm32/obldc/systick/Makefile diff --git a/examples/obldc/systick/systick.c b/examples/stm32/obldc/systick/systick.c similarity index 100% rename from examples/obldc/systick/systick.c rename to examples/stm32/obldc/systick/systick.c diff --git a/examples/obldc/systick/systick.ld b/examples/stm32/obldc/systick/systick.ld similarity index 100% rename from examples/obldc/systick/systick.ld rename to examples/stm32/obldc/systick/systick.ld diff --git a/examples/obldc/usart/Makefile b/examples/stm32/obldc/usart/Makefile similarity index 100% rename from examples/obldc/usart/Makefile rename to examples/stm32/obldc/usart/Makefile diff --git a/examples/obldc/usart/usart.c b/examples/stm32/obldc/usart/usart.c similarity index 100% rename from examples/obldc/usart/usart.c rename to examples/stm32/obldc/usart/usart.c diff --git a/examples/obldc/usart/usart.ld b/examples/stm32/obldc/usart/usart.ld similarity index 100% rename from examples/obldc/usart/usart.ld rename to examples/stm32/obldc/usart/usart.ld diff --git a/examples/obldc/usart_irq/Makefile b/examples/stm32/obldc/usart_irq/Makefile similarity index 100% rename from examples/obldc/usart_irq/Makefile rename to examples/stm32/obldc/usart_irq/Makefile diff --git a/examples/obldc/usart_irq/usart_irq.c b/examples/stm32/obldc/usart_irq/usart_irq.c similarity index 100% rename from examples/obldc/usart_irq/usart_irq.c rename to examples/stm32/obldc/usart_irq/usart_irq.c diff --git a/examples/obldc/usart_irq/usart_irq.ld b/examples/stm32/obldc/usart_irq/usart_irq.ld similarity index 100% rename from examples/obldc/usart_irq/usart_irq.ld rename to examples/stm32/obldc/usart_irq/usart_irq.ld diff --git a/examples/other/Makefile b/examples/stm32/other/Makefile similarity index 100% rename from examples/other/Makefile rename to examples/stm32/other/Makefile diff --git a/examples/other/adc_temperature_sensor/Makefile b/examples/stm32/other/adc_temperature_sensor/Makefile similarity index 100% rename from examples/other/adc_temperature_sensor/Makefile rename to examples/stm32/other/adc_temperature_sensor/Makefile diff --git a/examples/other/adc_temperature_sensor/README b/examples/stm32/other/adc_temperature_sensor/README similarity index 100% rename from examples/other/adc_temperature_sensor/README rename to examples/stm32/other/adc_temperature_sensor/README diff --git a/examples/other/adc_temperature_sensor/adc.c b/examples/stm32/other/adc_temperature_sensor/adc.c similarity index 100% rename from examples/other/adc_temperature_sensor/adc.c rename to examples/stm32/other/adc_temperature_sensor/adc.c diff --git a/examples/other/adc_temperature_sensor/adc.ld b/examples/stm32/other/adc_temperature_sensor/adc.ld similarity index 100% rename from examples/other/adc_temperature_sensor/adc.ld rename to examples/stm32/other/adc_temperature_sensor/adc.ld diff --git a/examples/other/dma_mem2mem/Makefile b/examples/stm32/other/dma_mem2mem/Makefile similarity index 100% rename from examples/other/dma_mem2mem/Makefile rename to examples/stm32/other/dma_mem2mem/Makefile diff --git a/examples/other/dma_mem2mem/README b/examples/stm32/other/dma_mem2mem/README similarity index 100% rename from examples/other/dma_mem2mem/README rename to examples/stm32/other/dma_mem2mem/README diff --git a/examples/other/dma_mem2mem/dma.c b/examples/stm32/other/dma_mem2mem/dma.c similarity index 100% rename from examples/other/dma_mem2mem/dma.c rename to examples/stm32/other/dma_mem2mem/dma.c diff --git a/examples/other/dma_mem2mem/dma.ld b/examples/stm32/other/dma_mem2mem/dma.ld similarity index 100% rename from examples/other/dma_mem2mem/dma.ld rename to examples/stm32/other/dma_mem2mem/dma.ld diff --git a/examples/other/dogm128/Makefile b/examples/stm32/other/dogm128/Makefile similarity index 100% rename from examples/other/dogm128/Makefile rename to examples/stm32/other/dogm128/Makefile diff --git a/examples/other/dogm128/README b/examples/stm32/other/dogm128/README similarity index 100% rename from examples/other/dogm128/README rename to examples/stm32/other/dogm128/README diff --git a/examples/other/dogm128/dogm128.c b/examples/stm32/other/dogm128/dogm128.c similarity index 100% rename from examples/other/dogm128/dogm128.c rename to examples/stm32/other/dogm128/dogm128.c diff --git a/examples/other/dogm128/dogm128.h b/examples/stm32/other/dogm128/dogm128.h similarity index 100% rename from examples/other/dogm128/dogm128.h rename to examples/stm32/other/dogm128/dogm128.h diff --git a/examples/other/dogm128/main.c b/examples/stm32/other/dogm128/main.c similarity index 100% rename from examples/other/dogm128/main.c rename to examples/stm32/other/dogm128/main.c diff --git a/examples/other/dogm128/main.ld b/examples/stm32/other/dogm128/main.ld similarity index 100% rename from examples/other/dogm128/main.ld rename to examples/stm32/other/dogm128/main.ld diff --git a/examples/other/i2c_stts75_sensor/Makefile b/examples/stm32/other/i2c_stts75_sensor/Makefile similarity index 100% rename from examples/other/i2c_stts75_sensor/Makefile rename to examples/stm32/other/i2c_stts75_sensor/Makefile diff --git a/examples/other/i2c_stts75_sensor/README b/examples/stm32/other/i2c_stts75_sensor/README similarity index 100% rename from examples/other/i2c_stts75_sensor/README rename to examples/stm32/other/i2c_stts75_sensor/README diff --git a/examples/other/i2c_stts75_sensor/i2c_stts75_sensor.c b/examples/stm32/other/i2c_stts75_sensor/i2c_stts75_sensor.c similarity index 100% rename from examples/other/i2c_stts75_sensor/i2c_stts75_sensor.c rename to examples/stm32/other/i2c_stts75_sensor/i2c_stts75_sensor.c diff --git a/examples/other/i2c_stts75_sensor/i2c_stts75_sensor.ld b/examples/stm32/other/i2c_stts75_sensor/i2c_stts75_sensor.ld similarity index 100% rename from examples/other/i2c_stts75_sensor/i2c_stts75_sensor.ld rename to examples/stm32/other/i2c_stts75_sensor/i2c_stts75_sensor.ld diff --git a/examples/other/i2c_stts75_sensor/stts75.c b/examples/stm32/other/i2c_stts75_sensor/stts75.c similarity index 100% rename from examples/other/i2c_stts75_sensor/stts75.c rename to examples/stm32/other/i2c_stts75_sensor/stts75.c diff --git a/examples/other/i2c_stts75_sensor/stts75.h b/examples/stm32/other/i2c_stts75_sensor/stts75.h similarity index 100% rename from examples/other/i2c_stts75_sensor/stts75.h rename to examples/stm32/other/i2c_stts75_sensor/stts75.h diff --git a/examples/other/rtc/Makefile b/examples/stm32/other/rtc/Makefile similarity index 100% rename from examples/other/rtc/Makefile rename to examples/stm32/other/rtc/Makefile diff --git a/examples/other/rtc/README b/examples/stm32/other/rtc/README similarity index 100% rename from examples/other/rtc/README rename to examples/stm32/other/rtc/README diff --git a/examples/other/rtc/rtc.c b/examples/stm32/other/rtc/rtc.c similarity index 100% rename from examples/other/rtc/rtc.c rename to examples/stm32/other/rtc/rtc.c diff --git a/examples/other/rtc/rtc.ld b/examples/stm32/other/rtc/rtc.ld similarity index 100% rename from examples/other/rtc/rtc.ld rename to examples/stm32/other/rtc/rtc.ld diff --git a/examples/other/systick/Makefile b/examples/stm32/other/systick/Makefile similarity index 100% rename from examples/other/systick/Makefile rename to examples/stm32/other/systick/Makefile diff --git a/examples/other/systick/README b/examples/stm32/other/systick/README similarity index 100% rename from examples/other/systick/README rename to examples/stm32/other/systick/README diff --git a/examples/other/systick/systick.c b/examples/stm32/other/systick/systick.c similarity index 100% rename from examples/other/systick/systick.c rename to examples/stm32/other/systick/systick.c diff --git a/examples/other/systick/systick.ld b/examples/stm32/other/systick/systick.ld similarity index 100% rename from examples/other/systick/systick.ld rename to examples/stm32/other/systick/systick.ld diff --git a/examples/other/timer_interrupt/Makefile b/examples/stm32/other/timer_interrupt/Makefile similarity index 100% rename from examples/other/timer_interrupt/Makefile rename to examples/stm32/other/timer_interrupt/Makefile diff --git a/examples/other/timer_interrupt/README b/examples/stm32/other/timer_interrupt/README similarity index 100% rename from examples/other/timer_interrupt/README rename to examples/stm32/other/timer_interrupt/README diff --git a/examples/other/timer_interrupt/timer.c b/examples/stm32/other/timer_interrupt/timer.c similarity index 100% rename from examples/other/timer_interrupt/timer.c rename to examples/stm32/other/timer_interrupt/timer.c diff --git a/examples/other/timer_interrupt/timer.ld b/examples/stm32/other/timer_interrupt/timer.ld similarity index 100% rename from examples/other/timer_interrupt/timer.ld rename to examples/stm32/other/timer_interrupt/timer.ld diff --git a/examples/other/usb_cdcacm/Makefile b/examples/stm32/other/usb_cdcacm/Makefile similarity index 100% rename from examples/other/usb_cdcacm/Makefile rename to examples/stm32/other/usb_cdcacm/Makefile diff --git a/examples/other/usb_cdcacm/README b/examples/stm32/other/usb_cdcacm/README similarity index 100% rename from examples/other/usb_cdcacm/README rename to examples/stm32/other/usb_cdcacm/README diff --git a/examples/other/usb_cdcacm/cdcacm.c b/examples/stm32/other/usb_cdcacm/cdcacm.c similarity index 100% rename from examples/other/usb_cdcacm/cdcacm.c rename to examples/stm32/other/usb_cdcacm/cdcacm.c diff --git a/examples/other/usb_cdcacm/cdcacm.ld b/examples/stm32/other/usb_cdcacm/cdcacm.ld similarity index 100% rename from examples/other/usb_cdcacm/cdcacm.ld rename to examples/stm32/other/usb_cdcacm/cdcacm.ld diff --git a/examples/other/usb_dfu/Makefile b/examples/stm32/other/usb_dfu/Makefile similarity index 100% rename from examples/other/usb_dfu/Makefile rename to examples/stm32/other/usb_dfu/Makefile diff --git a/examples/other/usb_dfu/README b/examples/stm32/other/usb_dfu/README similarity index 100% rename from examples/other/usb_dfu/README rename to examples/stm32/other/usb_dfu/README diff --git a/examples/other/usb_dfu/usbdfu.c b/examples/stm32/other/usb_dfu/usbdfu.c similarity index 100% rename from examples/other/usb_dfu/usbdfu.c rename to examples/stm32/other/usb_dfu/usbdfu.c diff --git a/examples/other/usb_dfu/usbdfu.ld b/examples/stm32/other/usb_dfu/usbdfu.ld similarity index 100% rename from examples/other/usb_dfu/usbdfu.ld rename to examples/stm32/other/usb_dfu/usbdfu.ld diff --git a/examples/other/usb_hid/Makefile b/examples/stm32/other/usb_hid/Makefile similarity index 100% rename from examples/other/usb_hid/Makefile rename to examples/stm32/other/usb_hid/Makefile diff --git a/examples/other/usb_hid/README b/examples/stm32/other/usb_hid/README similarity index 100% rename from examples/other/usb_hid/README rename to examples/stm32/other/usb_hid/README diff --git a/examples/other/usb_hid/usbhid.c b/examples/stm32/other/usb_hid/usbhid.c similarity index 100% rename from examples/other/usb_hid/usbhid.c rename to examples/stm32/other/usb_hid/usbhid.c diff --git a/examples/other/usb_hid/usbhid.ld b/examples/stm32/other/usb_hid/usbhid.ld similarity index 100% rename from examples/other/usb_hid/usbhid.ld rename to examples/stm32/other/usb_hid/usbhid.ld diff --git a/examples/stm32-h103/Makefile b/examples/stm32/stm32-h103/Makefile similarity index 100% rename from examples/stm32-h103/Makefile rename to examples/stm32/stm32-h103/Makefile diff --git a/examples/stm32-h103/fancyblink/Makefile b/examples/stm32/stm32-h103/fancyblink/Makefile similarity index 100% rename from examples/stm32-h103/fancyblink/Makefile rename to examples/stm32/stm32-h103/fancyblink/Makefile diff --git a/examples/stm32-h103/fancyblink/README b/examples/stm32/stm32-h103/fancyblink/README similarity index 100% rename from examples/stm32-h103/fancyblink/README rename to examples/stm32/stm32-h103/fancyblink/README diff --git a/examples/stm32-h103/fancyblink/fancyblink.c b/examples/stm32/stm32-h103/fancyblink/fancyblink.c similarity index 100% rename from examples/stm32-h103/fancyblink/fancyblink.c rename to examples/stm32/stm32-h103/fancyblink/fancyblink.c diff --git a/examples/stm32-h103/fancyblink/fancyblink.ld b/examples/stm32/stm32-h103/fancyblink/fancyblink.ld similarity index 100% rename from examples/stm32-h103/fancyblink/fancyblink.ld rename to examples/stm32/stm32-h103/fancyblink/fancyblink.ld diff --git a/examples/stm32-h103/miniblink/Makefile b/examples/stm32/stm32-h103/miniblink/Makefile similarity index 100% rename from examples/stm32-h103/miniblink/Makefile rename to examples/stm32/stm32-h103/miniblink/Makefile diff --git a/examples/stm32-h103/miniblink/README b/examples/stm32/stm32-h103/miniblink/README similarity index 100% rename from examples/stm32-h103/miniblink/README rename to examples/stm32/stm32-h103/miniblink/README diff --git a/examples/stm32-h103/miniblink/miniblink.c b/examples/stm32/stm32-h103/miniblink/miniblink.c similarity index 100% rename from examples/stm32-h103/miniblink/miniblink.c rename to examples/stm32/stm32-h103/miniblink/miniblink.c diff --git a/examples/stm32-h103/miniblink/miniblink.ld b/examples/stm32/stm32-h103/miniblink/miniblink.ld similarity index 100% rename from examples/stm32-h103/miniblink/miniblink.ld rename to examples/stm32/stm32-h103/miniblink/miniblink.ld diff --git a/examples/stm32-h103/spi/Makefile b/examples/stm32/stm32-h103/spi/Makefile similarity index 100% rename from examples/stm32-h103/spi/Makefile rename to examples/stm32/stm32-h103/spi/Makefile diff --git a/examples/stm32-h103/spi/README b/examples/stm32/stm32-h103/spi/README similarity index 100% rename from examples/stm32-h103/spi/README rename to examples/stm32/stm32-h103/spi/README diff --git a/examples/stm32-h103/spi/spi.c b/examples/stm32/stm32-h103/spi/spi.c similarity index 100% rename from examples/stm32-h103/spi/spi.c rename to examples/stm32/stm32-h103/spi/spi.c diff --git a/examples/stm32-h103/spi/spi.ld b/examples/stm32/stm32-h103/spi/spi.ld similarity index 100% rename from examples/stm32-h103/spi/spi.ld rename to examples/stm32/stm32-h103/spi/spi.ld diff --git a/examples/stm32-h103/usart/Makefile b/examples/stm32/stm32-h103/usart/Makefile similarity index 100% rename from examples/stm32-h103/usart/Makefile rename to examples/stm32/stm32-h103/usart/Makefile diff --git a/examples/stm32-h103/usart/README b/examples/stm32/stm32-h103/usart/README similarity index 100% rename from examples/stm32-h103/usart/README rename to examples/stm32/stm32-h103/usart/README diff --git a/examples/stm32-h103/usart/usart.c b/examples/stm32/stm32-h103/usart/usart.c similarity index 100% rename from examples/stm32-h103/usart/usart.c rename to examples/stm32/stm32-h103/usart/usart.c diff --git a/examples/stm32-h103/usart/usart.ld b/examples/stm32/stm32-h103/usart/usart.ld similarity index 100% rename from examples/stm32-h103/usart/usart.ld rename to examples/stm32/stm32-h103/usart/usart.ld diff --git a/examples/stm32-h103/usb_cdcacm/Makefile b/examples/stm32/stm32-h103/usb_cdcacm/Makefile similarity index 100% rename from examples/stm32-h103/usb_cdcacm/Makefile rename to examples/stm32/stm32-h103/usb_cdcacm/Makefile diff --git a/examples/stm32-h103/usb_cdcacm/README b/examples/stm32/stm32-h103/usb_cdcacm/README similarity index 100% rename from examples/stm32-h103/usb_cdcacm/README rename to examples/stm32/stm32-h103/usb_cdcacm/README diff --git a/examples/stm32-h103/usb_cdcacm/cdcacm.c b/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c similarity index 100% rename from examples/stm32-h103/usb_cdcacm/cdcacm.c rename to examples/stm32/stm32-h103/usb_cdcacm/cdcacm.c diff --git a/examples/stm32-h103/usb_cdcacm/cdcacm.ld b/examples/stm32/stm32-h103/usb_cdcacm/cdcacm.ld similarity index 100% rename from examples/stm32-h103/usb_cdcacm/cdcacm.ld rename to examples/stm32/stm32-h103/usb_cdcacm/cdcacm.ld diff --git a/examples/stm32-h103/usb_dfu/Makefile b/examples/stm32/stm32-h103/usb_dfu/Makefile similarity index 100% rename from examples/stm32-h103/usb_dfu/Makefile rename to examples/stm32/stm32-h103/usb_dfu/Makefile diff --git a/examples/stm32-h103/usb_dfu/README b/examples/stm32/stm32-h103/usb_dfu/README similarity index 100% rename from examples/stm32-h103/usb_dfu/README rename to examples/stm32/stm32-h103/usb_dfu/README diff --git a/examples/stm32-h103/usb_dfu/usbdfu.c b/examples/stm32/stm32-h103/usb_dfu/usbdfu.c similarity index 100% rename from examples/stm32-h103/usb_dfu/usbdfu.c rename to examples/stm32/stm32-h103/usb_dfu/usbdfu.c diff --git a/examples/stm32-h103/usb_dfu/usbdfu.ld b/examples/stm32/stm32-h103/usb_dfu/usbdfu.ld similarity index 100% rename from examples/stm32-h103/usb_dfu/usbdfu.ld rename to examples/stm32/stm32-h103/usb_dfu/usbdfu.ld diff --git a/examples/stm32-h103/usb_hid/Makefile b/examples/stm32/stm32-h103/usb_hid/Makefile similarity index 100% rename from examples/stm32-h103/usb_hid/Makefile rename to examples/stm32/stm32-h103/usb_hid/Makefile diff --git a/examples/stm32-h103/usb_hid/README b/examples/stm32/stm32-h103/usb_hid/README similarity index 100% rename from examples/stm32-h103/usb_hid/README rename to examples/stm32/stm32-h103/usb_hid/README diff --git a/examples/stm32-h103/usb_hid/usbhid.c b/examples/stm32/stm32-h103/usb_hid/usbhid.c similarity index 100% rename from examples/stm32-h103/usb_hid/usbhid.c rename to examples/stm32/stm32-h103/usb_hid/usbhid.c diff --git a/examples/stm32-h103/usb_hid/usbhid.ld b/examples/stm32/stm32-h103/usb_hid/usbhid.ld similarity index 100% rename from examples/stm32-h103/usb_hid/usbhid.ld rename to examples/stm32/stm32-h103/usb_hid/usbhid.ld diff --git a/examples/stm32-h103/usb_iap/Makefile b/examples/stm32/stm32-h103/usb_iap/Makefile similarity index 100% rename from examples/stm32-h103/usb_iap/Makefile rename to examples/stm32/stm32-h103/usb_iap/Makefile diff --git a/examples/stm32-h103/usb_iap/README b/examples/stm32/stm32-h103/usb_iap/README similarity index 100% rename from examples/stm32-h103/usb_iap/README rename to examples/stm32/stm32-h103/usb_iap/README diff --git a/examples/stm32-h103/usb_iap/usbiap.c b/examples/stm32/stm32-h103/usb_iap/usbiap.c similarity index 100% rename from examples/stm32-h103/usb_iap/usbiap.c rename to examples/stm32/stm32-h103/usb_iap/usbiap.c diff --git a/examples/stm32-h103/usb_iap/usbiap.ld b/examples/stm32/stm32-h103/usb_iap/usbiap.ld similarity index 100% rename from examples/stm32-h103/usb_iap/usbiap.ld rename to examples/stm32/stm32-h103/usb_iap/usbiap.ld