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