aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorStephen Caudle2011-10-31 00:16:37 -0400
committerStephen Caudle2011-10-31 00:16:37 -0400
commit580d25a84baaa160b0afdc096e9aa1e8ca1c2d2b (patch)
treed3df10cb7a99745eafabe15a0ec286dc9923b4e8 /examples
parent68d2e0d1e3c587e18eef6a6ef9c40b3549b2f9e7 (diff)
Move STM32 example projects in family specific folders
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32/f1/Makefile.include (renamed from examples/stm32f1/Makefile.include)6
-rw-r--r--examples/stm32/f1/lisa-m/fancyblink/Makefile (renamed from examples/stm32f1/lisa-m/fancyblink/Makefile)0
-rw-r--r--examples/stm32/f1/lisa-m/fancyblink/fancyblink.c (renamed from examples/stm32f1/lisa-m/fancyblink/fancyblink.c)0
-rw-r--r--examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld (renamed from examples/stm32f1/lisa-m/fancyblink/fancyblink.ld)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_dfu/Makefile (renamed from examples/stm32f1/lisa-m/usb_dfu/Makefile)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_dfu/README (renamed from examples/stm32f1/lisa-m/usb_dfu/README)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_dfu/usbdfu.c (renamed from examples/stm32f1/lisa-m/usb_dfu/usbdfu.c)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld (renamed from examples/stm32f1/lisa-m/usb_dfu/usbdfu.ld)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_hid/Makefile (renamed from examples/stm32f1/lisa-m/usb_hid/Makefile)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_hid/README (renamed from examples/stm32f1/lisa-m/usb_hid/README)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_hid/usbhid.c (renamed from examples/stm32f1/lisa-m/usb_hid/usbhid.c)0
-rw-r--r--examples/stm32/f1/lisa-m/usb_hid/usbhid.ld (renamed from examples/stm32f1/lisa-m/usb_hid/usbhid.ld)0
-rw-r--r--examples/stm32/f1/mb525/fancyblink/Makefile (renamed from examples/stm32f1/mb525/fancyblink/Makefile)0
-rw-r--r--examples/stm32/f1/mb525/fancyblink/README (renamed from examples/stm32f1/mb525/fancyblink/README)0
-rw-r--r--examples/stm32/f1/mb525/fancyblink/fancyblink.c (renamed from examples/stm32f1/mb525/fancyblink/fancyblink.c)0
-rw-r--r--examples/stm32/f1/mb525/fancyblink/fancyblink.ld (renamed from examples/stm32f1/mb525/fancyblink/fancyblink.ld)0
-rw-r--r--examples/stm32/f1/mb525/pwmleds/Makefile (renamed from examples/stm32f1/mb525/pwmleds/Makefile)0
-rw-r--r--examples/stm32/f1/mb525/pwmleds/README (renamed from examples/stm32f1/mb525/pwmleds/README)0
-rw-r--r--examples/stm32/f1/mb525/pwmleds/pwmleds.c (renamed from examples/stm32f1/mb525/pwmleds/pwmleds.c)0
-rw-r--r--examples/stm32/f1/mb525/pwmleds/pwmleds.ld (renamed from examples/stm32f1/mb525/pwmleds/pwmleds.ld)0
-rw-r--r--examples/stm32/f1/obldc/can/Makefile (renamed from examples/stm32f1/obldc/can/Makefile)0
-rw-r--r--examples/stm32/f1/obldc/can/can.c (renamed from examples/stm32f1/obldc/can/can.c)0
-rw-r--r--examples/stm32/f1/obldc/can/can.ld (renamed from examples/stm32f1/obldc/can/can.ld)0
-rw-r--r--examples/stm32/f1/obldc/led/Makefile (renamed from examples/stm32f1/obldc/led/Makefile)0
-rw-r--r--examples/stm32/f1/obldc/led/led.c (renamed from examples/stm32f1/obldc/led/led.c)0
-rw-r--r--examples/stm32/f1/obldc/led/led.ld (renamed from examples/stm32f1/obldc/led/led.ld)0
-rw-r--r--examples/stm32/f1/obldc/pwmleds/Makefile (renamed from examples/stm32f1/obldc/pwmleds/Makefile)0
-rw-r--r--examples/stm32/f1/obldc/pwmleds/pwmleds.c (renamed from examples/stm32f1/obldc/pwmleds/pwmleds.c)0
-rw-r--r--examples/stm32/f1/obldc/pwmleds/pwmleds.ld (renamed from examples/stm32f1/obldc/pwmleds/pwmleds.ld)0
-rw-r--r--examples/stm32/f1/obldc/systick/Makefile (renamed from examples/stm32f1/obldc/systick/Makefile)0
-rw-r--r--examples/stm32/f1/obldc/systick/systick.c (renamed from examples/stm32f1/obldc/systick/systick.c)0
-rw-r--r--examples/stm32/f1/obldc/systick/systick.ld (renamed from examples/stm32f1/obldc/systick/systick.ld)0
-rw-r--r--examples/stm32/f1/obldc/usart/Makefile (renamed from examples/stm32f1/obldc/usart/Makefile)0
-rw-r--r--examples/stm32/f1/obldc/usart/usart.c (renamed from examples/stm32f1/obldc/usart/usart.c)0
-rw-r--r--examples/stm32/f1/obldc/usart/usart.ld (renamed from examples/stm32f1/obldc/usart/usart.ld)0
-rw-r--r--examples/stm32/f1/obldc/usart_irq/Makefile (renamed from examples/stm32f1/obldc/usart_irq/Makefile)0
-rw-r--r--examples/stm32/f1/obldc/usart_irq/usart_irq.c (renamed from examples/stm32f1/obldc/usart_irq/usart_irq.c)0
-rw-r--r--examples/stm32/f1/obldc/usart_irq/usart_irq.ld (renamed from examples/stm32f1/obldc/usart_irq/usart_irq.ld)0
-rw-r--r--examples/stm32/f1/other/adc_temperature_sensor/Makefile (renamed from examples/stm32f1/other/adc_temperature_sensor/Makefile)0
-rw-r--r--examples/stm32/f1/other/adc_temperature_sensor/README (renamed from examples/stm32f1/other/adc_temperature_sensor/README)0
-rw-r--r--examples/stm32/f1/other/adc_temperature_sensor/adc.c (renamed from examples/stm32f1/other/adc_temperature_sensor/adc.c)0
-rw-r--r--examples/stm32/f1/other/adc_temperature_sensor/adc.ld (renamed from examples/stm32f1/other/adc_temperature_sensor/adc.ld)0
-rw-r--r--examples/stm32/f1/other/dma_mem2mem/Makefile (renamed from examples/stm32f1/other/dma_mem2mem/Makefile)0
-rw-r--r--examples/stm32/f1/other/dma_mem2mem/README (renamed from examples/stm32f1/other/dma_mem2mem/README)0
-rw-r--r--examples/stm32/f1/other/dma_mem2mem/dma.c (renamed from examples/stm32f1/other/dma_mem2mem/dma.c)0
-rw-r--r--examples/stm32/f1/other/dma_mem2mem/dma.ld (renamed from examples/stm32f1/other/dma_mem2mem/dma.ld)0
-rw-r--r--examples/stm32/f1/other/dogm128/Makefile (renamed from examples/stm32f1/other/dogm128/Makefile)0
-rw-r--r--examples/stm32/f1/other/dogm128/README (renamed from examples/stm32f1/other/dogm128/README)0
-rw-r--r--examples/stm32/f1/other/dogm128/dogm128.c (renamed from examples/stm32f1/other/dogm128/dogm128.c)0
-rw-r--r--examples/stm32/f1/other/dogm128/dogm128.h (renamed from examples/stm32f1/other/dogm128/dogm128.h)0
-rw-r--r--examples/stm32/f1/other/dogm128/main.c (renamed from examples/stm32f1/other/dogm128/main.c)0
-rw-r--r--examples/stm32/f1/other/dogm128/main.ld (renamed from examples/stm32f1/other/dogm128/main.ld)0
-rw-r--r--examples/stm32/f1/other/i2c_stts75_sensor/Makefile (renamed from examples/stm32f1/other/i2c_stts75_sensor/Makefile)0
-rw-r--r--examples/stm32/f1/other/i2c_stts75_sensor/README (renamed from examples/stm32f1/other/i2c_stts75_sensor/README)0
-rw-r--r--examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c (renamed from examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c)0
-rw-r--r--examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld (renamed from examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld)0
-rw-r--r--examples/stm32/f1/other/i2c_stts75_sensor/stts75.c (renamed from examples/stm32f1/other/i2c_stts75_sensor/stts75.c)0
-rw-r--r--examples/stm32/f1/other/i2c_stts75_sensor/stts75.h (renamed from examples/stm32f1/other/i2c_stts75_sensor/stts75.h)0
-rw-r--r--examples/stm32/f1/other/rtc/Makefile (renamed from examples/stm32f1/other/rtc/Makefile)0
-rw-r--r--examples/stm32/f1/other/rtc/README (renamed from examples/stm32f1/other/rtc/README)0
-rw-r--r--examples/stm32/f1/other/rtc/rtc.c (renamed from examples/stm32f1/other/rtc/rtc.c)0
-rw-r--r--examples/stm32/f1/other/rtc/rtc.ld (renamed from examples/stm32f1/other/rtc/rtc.ld)0
-rw-r--r--examples/stm32/f1/other/systick/Makefile (renamed from examples/stm32f1/other/systick/Makefile)0
-rw-r--r--examples/stm32/f1/other/systick/README (renamed from examples/stm32f1/other/systick/README)0
-rw-r--r--examples/stm32/f1/other/systick/systick.c (renamed from examples/stm32f1/other/systick/systick.c)0
-rw-r--r--examples/stm32/f1/other/systick/systick.ld (renamed from examples/stm32f1/other/systick/systick.ld)0
-rw-r--r--examples/stm32/f1/other/timer_interrupt/Makefile (renamed from examples/stm32f1/other/timer_interrupt/Makefile)0
-rw-r--r--examples/stm32/f1/other/timer_interrupt/README (renamed from examples/stm32f1/other/timer_interrupt/README)0
-rw-r--r--examples/stm32/f1/other/timer_interrupt/timer.c (renamed from examples/stm32f1/other/timer_interrupt/timer.c)0
-rw-r--r--examples/stm32/f1/other/timer_interrupt/timer.ld (renamed from examples/stm32f1/other/timer_interrupt/timer.ld)0
-rw-r--r--examples/stm32/f1/other/usb_cdcacm/Makefile (renamed from examples/stm32f1/other/usb_cdcacm/Makefile)0
-rw-r--r--examples/stm32/f1/other/usb_cdcacm/README (renamed from examples/stm32f1/other/usb_cdcacm/README)0
-rw-r--r--examples/stm32/f1/other/usb_cdcacm/cdcacm.c (renamed from examples/stm32f1/other/usb_cdcacm/cdcacm.c)0
-rw-r--r--examples/stm32/f1/other/usb_cdcacm/cdcacm.ld (renamed from examples/stm32f1/other/usb_cdcacm/cdcacm.ld)0
-rw-r--r--examples/stm32/f1/other/usb_dfu/Makefile (renamed from examples/stm32f1/other/usb_dfu/Makefile)0
-rw-r--r--examples/stm32/f1/other/usb_dfu/README (renamed from examples/stm32f1/other/usb_dfu/README)0
-rw-r--r--examples/stm32/f1/other/usb_dfu/usbdfu.c (renamed from examples/stm32f1/other/usb_dfu/usbdfu.c)0
-rw-r--r--examples/stm32/f1/other/usb_dfu/usbdfu.ld (renamed from examples/stm32f1/other/usb_dfu/usbdfu.ld)0
-rw-r--r--examples/stm32/f1/other/usb_hid/Makefile (renamed from examples/stm32f1/other/usb_hid/Makefile)0
-rw-r--r--examples/stm32/f1/other/usb_hid/README (renamed from examples/stm32f1/other/usb_hid/README)0
-rw-r--r--examples/stm32/f1/other/usb_hid/usbhid.c (renamed from examples/stm32f1/other/usb_hid/usbhid.c)0
-rw-r--r--examples/stm32/f1/other/usb_hid/usbhid.ld (renamed from examples/stm32f1/other/usb_hid/usbhid.ld)0
-rw-r--r--examples/stm32/f1/stm32-discovery/button/Makefile (renamed from examples/stm32f1/stm32-discovery/button/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-discovery/button/README (renamed from examples/stm32f1/stm32-discovery/button/README)0
-rw-r--r--examples/stm32/f1/stm32-discovery/button/button.c (renamed from examples/stm32f1/stm32-discovery/button/button.c)0
-rw-r--r--examples/stm32/f1/stm32-discovery/button/button.ld (renamed from examples/stm32f1/stm32-discovery/button/button.ld)0
-rw-r--r--examples/stm32/f1/stm32-discovery/fancyblink/Makefile (renamed from examples/stm32f1/stm32-discovery/fancyblink/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-discovery/fancyblink/README (renamed from examples/stm32f1/stm32-discovery/fancyblink/README)0
-rw-r--r--examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.c (renamed from examples/stm32f1/stm32-discovery/fancyblink/fancyblink.c)0
-rw-r--r--examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.ld (renamed from examples/stm32f1/stm32-discovery/fancyblink/fancyblink.ld)0
-rw-r--r--examples/stm32/f1/stm32-discovery/miniblink/Makefile (renamed from examples/stm32f1/stm32-discovery/miniblink/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-discovery/miniblink/README (renamed from examples/stm32f1/stm32-discovery/miniblink/README)0
-rw-r--r--examples/stm32/f1/stm32-discovery/miniblink/miniblink.c (renamed from examples/stm32f1/stm32-discovery/miniblink/miniblink.c)0
-rw-r--r--examples/stm32/f1/stm32-discovery/miniblink/miniblink.ld (renamed from examples/stm32f1/stm32-discovery/miniblink/miniblink.ld)0
-rw-r--r--examples/stm32/f1/stm32-discovery/rtc/Makefile (renamed from examples/stm32f1/stm32-discovery/rtc/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-discovery/rtc/README (renamed from examples/stm32f1/stm32-discovery/rtc/README)0
-rw-r--r--examples/stm32/f1/stm32-discovery/rtc/rtc.c (renamed from examples/stm32f1/stm32-discovery/rtc/rtc.c)0
-rw-r--r--examples/stm32/f1/stm32-discovery/rtc/rtc.ld (renamed from examples/stm32f1/stm32-discovery/rtc/rtc.ld)0
-rw-r--r--examples/stm32/f1/stm32-discovery/usart/Makefile (renamed from examples/stm32f1/stm32-discovery/usart/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-discovery/usart/README (renamed from examples/stm32f1/stm32-discovery/usart/README)0
-rw-r--r--examples/stm32/f1/stm32-discovery/usart/usart.c (renamed from examples/stm32f1/stm32-discovery/usart/usart.c)0
-rw-r--r--examples/stm32/f1/stm32-discovery/usart/usart.ld (renamed from examples/stm32f1/stm32-discovery/usart/usart.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/button/Makefile (renamed from examples/stm32f1/stm32-h103/button/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/button/button.c (renamed from examples/stm32f1/stm32-h103/button/button.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/button/button.ld (renamed from examples/stm32f1/stm32-h103/button/button.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/exti_both/Makefile (renamed from examples/stm32f1/stm32-h103/exti_both/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/exti_both/exti_both.c (renamed from examples/stm32f1/stm32-h103/exti_both/exti_both.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/exti_both/exti_both.ld (renamed from examples/stm32f1/stm32-h103/exti_both/exti_both.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/exti_rising_falling/Makefile (renamed from examples/stm32f1/stm32-h103/exti_rising_falling/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/exti_rising_falling/exti_rising_falling.c (renamed from examples/stm32f1/stm32-h103/exti_rising_falling/exti_rising_falling.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/exti_rising_falling/exti_rising_falling.ld (renamed from examples/stm32f1/stm32-h103/exti_rising_falling/exti_rising_falling.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/fancyblink/Makefile (renamed from examples/stm32f1/stm32-h103/fancyblink/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/fancyblink/README (renamed from examples/stm32f1/stm32-h103/fancyblink/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/fancyblink/fancyblink.c (renamed from examples/stm32f1/stm32-h103/fancyblink/fancyblink.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/fancyblink/fancyblink.ld (renamed from examples/stm32f1/stm32-h103/fancyblink/fancyblink.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/led_stripe/Makefile (renamed from examples/stm32f1/stm32-h103/led_stripe/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/led_stripe/led_stripe.c (renamed from examples/stm32f1/stm32-h103/led_stripe/led_stripe.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/led_stripe/led_stripe.ld (renamed from examples/stm32f1/stm32-h103/led_stripe/led_stripe.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/miniblink/Makefile (renamed from examples/stm32f1/stm32-h103/miniblink/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/miniblink/README (renamed from examples/stm32f1/stm32-h103/miniblink/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/miniblink/miniblink.c (renamed from examples/stm32f1/stm32-h103/miniblink/miniblink.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/miniblink/miniblink.ld (renamed from examples/stm32f1/stm32-h103/miniblink/miniblink.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/pwm_6step/Makefile (renamed from examples/stm32f1/stm32-h103/pwm_6step/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c (renamed from examples/stm32f1/stm32-h103/pwm_6step/pwm_6step.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.ld (renamed from examples/stm32f1/stm32-h103/pwm_6step/pwm_6step.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/spi/Makefile (renamed from examples/stm32f1/stm32-h103/spi/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/spi/README (renamed from examples/stm32f1/stm32-h103/spi/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/spi/spi.c (renamed from examples/stm32f1/stm32-h103/spi/spi.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/spi/spi.ld (renamed from examples/stm32f1/stm32-h103/spi/spi.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/timer/Makefile (renamed from examples/stm32f1/stm32-h103/timer/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/timer/timer.c (renamed from examples/stm32f1/stm32-h103/timer/timer.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/timer/timer.ld (renamed from examples/stm32f1/stm32-h103/timer/timer.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/traceswo/Makefile (renamed from examples/stm32f1/stm32-h103/traceswo/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/traceswo/README (renamed from examples/stm32f1/stm32-h103/traceswo/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/traceswo/traceswo.c (renamed from examples/stm32f1/stm32-h103/traceswo/traceswo.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/traceswo/traceswo.ld (renamed from examples/stm32f1/stm32-h103/traceswo/traceswo.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart/Makefile (renamed from examples/stm32f1/stm32-h103/usart/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart/README (renamed from examples/stm32f1/stm32-h103/usart/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart/usart.c (renamed from examples/stm32f1/stm32-h103/usart/usart.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart/usart.ld (renamed from examples/stm32f1/stm32-h103/usart/usart.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_irq/Makefile (renamed from examples/stm32f1/stm32-h103/usart_irq/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_irq/usart_irq.c (renamed from examples/stm32f1/stm32-h103/usart_irq/usart_irq.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_irq/usart_irq.ld (renamed from examples/stm32f1/stm32-h103/usart_irq/usart_irq.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_irq_printf/Makefile (renamed from examples/stm32f1/stm32-h103/usart_irq_printf/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_irq_printf/usart_irq_printf.c (renamed from examples/stm32f1/stm32-h103/usart_irq_printf/usart_irq_printf.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_irq_printf/usart_irq_printf.ld (renamed from examples/stm32f1/stm32-h103/usart_irq_printf/usart_irq_printf.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_printf/Makefile (renamed from examples/stm32f1/stm32-h103/usart_printf/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_printf/usart_printf.c (renamed from examples/stm32f1/stm32-h103/usart_printf/usart_printf.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usart_printf/usart_printf.ld (renamed from examples/stm32f1/stm32-h103/usart_printf/usart_printf.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_cdcacm/Makefile (renamed from examples/stm32f1/stm32-h103/usb_cdcacm/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_cdcacm/README (renamed from examples/stm32f1/stm32-h103/usb_cdcacm/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_cdcacm/cdcacm.c (renamed from examples/stm32f1/stm32-h103/usb_cdcacm/cdcacm.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_cdcacm/cdcacm.ld (renamed from examples/stm32f1/stm32-h103/usb_cdcacm/cdcacm.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_dfu/Makefile (renamed from examples/stm32f1/stm32-h103/usb_dfu/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_dfu/README (renamed from examples/stm32f1/stm32-h103/usb_dfu/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.c (renamed from examples/stm32f1/stm32-h103/usb_dfu/usbdfu.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.ld (renamed from examples/stm32f1/stm32-h103/usb_dfu/usbdfu.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_hid/Makefile (renamed from examples/stm32f1/stm32-h103/usb_hid/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_hid/README (renamed from examples/stm32f1/stm32-h103/usb_hid/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_hid/usbhid.c (renamed from examples/stm32f1/stm32-h103/usb_hid/usbhid.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_hid/usbhid.ld (renamed from examples/stm32f1/stm32-h103/usb_hid/usbhid.ld)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_iap/Makefile (renamed from examples/stm32f1/stm32-h103/usb_iap/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_iap/README (renamed from examples/stm32f1/stm32-h103/usb_iap/README)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_iap/usbiap.c (renamed from examples/stm32f1/stm32-h103/usb_iap/usbiap.c)0
-rw-r--r--examples/stm32/f1/stm32-h103/usb_iap/usbiap.ld (renamed from examples/stm32f1/stm32-h103/usb_iap/usbiap.ld)0
-rw-r--r--examples/stm32/f1/stm32-h107/fancyblink/Makefile (renamed from examples/stm32f1/stm32-h107/fancyblink/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h107/fancyblink/README (renamed from examples/stm32f1/stm32-h107/fancyblink/README)0
-rw-r--r--examples/stm32/f1/stm32-h107/fancyblink/fancyblink.c (renamed from examples/stm32f1/stm32-h107/fancyblink/fancyblink.c)0
-rw-r--r--examples/stm32/f1/stm32-h107/fancyblink/fancyblink.ld (renamed from examples/stm32f1/stm32-h107/fancyblink/fancyblink.ld)0
-rw-r--r--examples/stm32/f1/stm32-h107/usb_simple/Makefile (renamed from examples/stm32f1/stm32-h107/usb_simple/Makefile)0
-rw-r--r--examples/stm32/f1/stm32-h107/usb_simple/README (renamed from examples/stm32f1/stm32-h107/usb_simple/README)0
-rw-r--r--examples/stm32/f1/stm32-h107/usb_simple/usb_simple.c (renamed from examples/stm32f1/stm32-h107/usb_simple/usb_simple.c)0
-rw-r--r--examples/stm32/f1/stm32-h107/usb_simple/usb_simple.ld (renamed from examples/stm32f1/stm32-h107/usb_simple/usb_simple.ld)0
-rw-r--r--examples/stm32/f2/Makefile.include (renamed from examples/stm32f2/Makefile.include)6
-rw-r--r--examples/stm32/f2/jobygps/jobygps.cfg (renamed from examples/stm32f2/jobygps/jobygps.cfg)0
-rw-r--r--examples/stm32/f2/jobygps/miniblink/Makefile (renamed from examples/stm32f2/jobygps/miniblink/Makefile)0
-rw-r--r--examples/stm32/f2/jobygps/miniblink/README (renamed from examples/stm32f2/jobygps/miniblink/README)0
-rw-r--r--examples/stm32/f2/jobygps/miniblink/miniblink.c (renamed from examples/stm32f2/jobygps/miniblink/miniblink.c)0
-rw-r--r--examples/stm32/f2/jobygps/miniblink/miniblink.ld (renamed from examples/stm32f2/jobygps/miniblink/miniblink.ld)0
-rw-r--r--examples/stm32/f2/jobygps/spi_test/Makefile (renamed from examples/stm32f2/jobygps/spi_test/Makefile)0
-rw-r--r--examples/stm32/f2/jobygps/spi_test/spi_test.c (renamed from examples/stm32f2/jobygps/spi_test/spi_test.c)2
-rw-r--r--examples/stm32/f2/jobygps/spi_test/spi_test.ld (renamed from examples/stm32f2/jobygps/spi_test/spi_test.ld)0
-rw-r--r--examples/stm32/f2/jobygps/usart_printf/Makefile (renamed from examples/stm32f2/jobygps/usart_printf/Makefile)0
-rw-r--r--examples/stm32/f2/jobygps/usart_printf/usart_printf.c (renamed from examples/stm32f2/jobygps/usart_printf/usart_printf.c)2
-rw-r--r--examples/stm32/f2/jobygps/usart_printf/usart_printf.ld (renamed from examples/stm32f2/jobygps/usart_printf/usart_printf.ld)0
185 files changed, 8 insertions, 8 deletions
diff --git a/examples/stm32f1/Makefile.include b/examples/stm32/f1/Makefile.include
index 8420cc8..cf8644f 100644
--- a/examples/stm32f1/Makefile.include
+++ b/examples/stm32/f1/Makefile.include
@@ -27,11 +27,11 @@ OBJDUMP = $(PREFIX)-objdump
GDB = $(PREFIX)-gdb
# Uncomment this line if you want to use the installed (not local) library.
#TOOLCHAIN_DIR := $(shell dirname `which $(CC)`)/../$(PREFIX)
-TOOLCHAIN_DIR = ../../../..
+TOOLCHAIN_DIR = ../../../../..
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
-fno-common -mcpu=cortex-m3 -mthumb -msoft-float -MD -DSTM32F1
LDSCRIPT = $(BINARY).ld
-LDFLAGS += -lc -lnosys -L$(TOOLCHAIN_DIR)/lib -L$(TOOLCHAIN_DIR)/lib/stm32f1 \
+LDFLAGS += -lc -lnosys -L$(TOOLCHAIN_DIR)/lib -L$(TOOLCHAIN_DIR)/lib/stm32/f1 \
-T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections \
-mthumb -march=armv7 -mfix-cortex-m3-ldrd -msoft-float
OBJS += $(BINARY).o
@@ -79,7 +79,7 @@ flash: $(BINARY).flash
@#printf " OBJDUMP $(*).list\n"
$(Q)$(OBJDUMP) -S $(*).elf > $(*).list
-%.elf: $(OBJS) $(LDSCRIPT) $(TOOLCHAIN_DIR)/lib/stm32f1/libopencm3_stm32f1.a
+%.elf: $(OBJS) $(LDSCRIPT) $(TOOLCHAIN_DIR)/lib/stm32/f1/libopencm3_stm32f1.a
@#printf " LD $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(LD) -o $(*).elf $(OBJS) -lopencm3_stm32f1 $(LDFLAGS)
diff --git a/examples/stm32f1/lisa-m/fancyblink/Makefile b/examples/stm32/f1/lisa-m/fancyblink/Makefile
index 1baec4d..1baec4d 100644
--- a/examples/stm32f1/lisa-m/fancyblink/Makefile
+++ b/examples/stm32/f1/lisa-m/fancyblink/Makefile
diff --git a/examples/stm32f1/lisa-m/fancyblink/fancyblink.c b/examples/stm32/f1/lisa-m/fancyblink/fancyblink.c
index 6d5fbe3..6d5fbe3 100644
--- a/examples/stm32f1/lisa-m/fancyblink/fancyblink.c
+++ b/examples/stm32/f1/lisa-m/fancyblink/fancyblink.c
diff --git a/examples/stm32f1/lisa-m/fancyblink/fancyblink.ld b/examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/lisa-m/fancyblink/fancyblink.ld
+++ b/examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld
diff --git a/examples/stm32f1/lisa-m/usb_dfu/Makefile b/examples/stm32/f1/lisa-m/usb_dfu/Makefile
index 48e2d6b..48e2d6b 100644
--- a/examples/stm32f1/lisa-m/usb_dfu/Makefile
+++ b/examples/stm32/f1/lisa-m/usb_dfu/Makefile
diff --git a/examples/stm32f1/lisa-m/usb_dfu/README b/examples/stm32/f1/lisa-m/usb_dfu/README
index 9c0169a..9c0169a 100644
--- a/examples/stm32f1/lisa-m/usb_dfu/README
+++ b/examples/stm32/f1/lisa-m/usb_dfu/README
diff --git a/examples/stm32f1/lisa-m/usb_dfu/usbdfu.c b/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.c
index bb038f2..bb038f2 100644
--- a/examples/stm32f1/lisa-m/usb_dfu/usbdfu.c
+++ b/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.c
diff --git a/examples/stm32f1/lisa-m/usb_dfu/usbdfu.ld b/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld
index 6a01797..6a01797 100644
--- a/examples/stm32f1/lisa-m/usb_dfu/usbdfu.ld
+++ b/examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld
diff --git a/examples/stm32f1/lisa-m/usb_hid/Makefile b/examples/stm32/f1/lisa-m/usb_hid/Makefile
index d831e9e..d831e9e 100644
--- a/examples/stm32f1/lisa-m/usb_hid/Makefile
+++ b/examples/stm32/f1/lisa-m/usb_hid/Makefile
diff --git a/examples/stm32f1/lisa-m/usb_hid/README b/examples/stm32/f1/lisa-m/usb_hid/README
index 48a9b39..48a9b39 100644
--- a/examples/stm32f1/lisa-m/usb_hid/README
+++ b/examples/stm32/f1/lisa-m/usb_hid/README
diff --git a/examples/stm32f1/lisa-m/usb_hid/usbhid.c b/examples/stm32/f1/lisa-m/usb_hid/usbhid.c
index e9b9099..e9b9099 100644
--- a/examples/stm32f1/lisa-m/usb_hid/usbhid.c
+++ b/examples/stm32/f1/lisa-m/usb_hid/usbhid.c
diff --git a/examples/stm32f1/lisa-m/usb_hid/usbhid.ld b/examples/stm32/f1/lisa-m/usb_hid/usbhid.ld
index d0df9e6..d0df9e6 100644
--- a/examples/stm32f1/lisa-m/usb_hid/usbhid.ld
+++ b/examples/stm32/f1/lisa-m/usb_hid/usbhid.ld
diff --git a/examples/stm32f1/mb525/fancyblink/Makefile b/examples/stm32/f1/mb525/fancyblink/Makefile
index 1baec4d..1baec4d 100644
--- a/examples/stm32f1/mb525/fancyblink/Makefile
+++ b/examples/stm32/f1/mb525/fancyblink/Makefile
diff --git a/examples/stm32f1/mb525/fancyblink/README b/examples/stm32/f1/mb525/fancyblink/README
index 226cb21..226cb21 100644
--- a/examples/stm32f1/mb525/fancyblink/README
+++ b/examples/stm32/f1/mb525/fancyblink/README
diff --git a/examples/stm32f1/mb525/fancyblink/fancyblink.c b/examples/stm32/f1/mb525/fancyblink/fancyblink.c
index 54ef47c..54ef47c 100644
--- a/examples/stm32f1/mb525/fancyblink/fancyblink.c
+++ b/examples/stm32/f1/mb525/fancyblink/fancyblink.c
diff --git a/examples/stm32f1/mb525/fancyblink/fancyblink.ld b/examples/stm32/f1/mb525/fancyblink/fancyblink.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/mb525/fancyblink/fancyblink.ld
+++ b/examples/stm32/f1/mb525/fancyblink/fancyblink.ld
diff --git a/examples/stm32f1/mb525/pwmleds/Makefile b/examples/stm32/f1/mb525/pwmleds/Makefile
index 8ae74d6..8ae74d6 100644
--- a/examples/stm32f1/mb525/pwmleds/Makefile
+++ b/examples/stm32/f1/mb525/pwmleds/Makefile
diff --git a/examples/stm32f1/mb525/pwmleds/README b/examples/stm32/f1/mb525/pwmleds/README
index b2a6d95..b2a6d95 100644
--- a/examples/stm32f1/mb525/pwmleds/README
+++ b/examples/stm32/f1/mb525/pwmleds/README
diff --git a/examples/stm32f1/mb525/pwmleds/pwmleds.c b/examples/stm32/f1/mb525/pwmleds/pwmleds.c
index 5505231..5505231 100644
--- a/examples/stm32f1/mb525/pwmleds/pwmleds.c
+++ b/examples/stm32/f1/mb525/pwmleds/pwmleds.c
diff --git a/examples/stm32f1/mb525/pwmleds/pwmleds.ld b/examples/stm32/f1/mb525/pwmleds/pwmleds.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/mb525/pwmleds/pwmleds.ld
+++ b/examples/stm32/f1/mb525/pwmleds/pwmleds.ld
diff --git a/examples/stm32f1/obldc/can/Makefile b/examples/stm32/f1/obldc/can/Makefile
index 20a4b90..20a4b90 100644
--- a/examples/stm32f1/obldc/can/Makefile
+++ b/examples/stm32/f1/obldc/can/Makefile
diff --git a/examples/stm32f1/obldc/can/can.c b/examples/stm32/f1/obldc/can/can.c
index 00a05dc..00a05dc 100644
--- a/examples/stm32f1/obldc/can/can.c
+++ b/examples/stm32/f1/obldc/can/can.c
diff --git a/examples/stm32f1/obldc/can/can.ld b/examples/stm32/f1/obldc/can/can.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/obldc/can/can.ld
+++ b/examples/stm32/f1/obldc/can/can.ld
diff --git a/examples/stm32f1/obldc/led/Makefile b/examples/stm32/f1/obldc/led/Makefile
index 8e1618a..8e1618a 100644
--- a/examples/stm32f1/obldc/led/Makefile
+++ b/examples/stm32/f1/obldc/led/Makefile
diff --git a/examples/stm32f1/obldc/led/led.c b/examples/stm32/f1/obldc/led/led.c
index db479b2..db479b2 100644
--- a/examples/stm32f1/obldc/led/led.c
+++ b/examples/stm32/f1/obldc/led/led.c
diff --git a/examples/stm32f1/obldc/led/led.ld b/examples/stm32/f1/obldc/led/led.ld
index edb52c5..edb52c5 100644
--- a/examples/stm32f1/obldc/led/led.ld
+++ b/examples/stm32/f1/obldc/led/led.ld
diff --git a/examples/stm32f1/obldc/pwmleds/Makefile b/examples/stm32/f1/obldc/pwmleds/Makefile
index 8ae74d6..8ae74d6 100644
--- a/examples/stm32f1/obldc/pwmleds/Makefile
+++ b/examples/stm32/f1/obldc/pwmleds/Makefile
diff --git a/examples/stm32f1/obldc/pwmleds/pwmleds.c b/examples/stm32/f1/obldc/pwmleds/pwmleds.c
index faa9aa0..faa9aa0 100644
--- a/examples/stm32f1/obldc/pwmleds/pwmleds.c
+++ b/examples/stm32/f1/obldc/pwmleds/pwmleds.c
diff --git a/examples/stm32f1/obldc/pwmleds/pwmleds.ld b/examples/stm32/f1/obldc/pwmleds/pwmleds.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/obldc/pwmleds/pwmleds.ld
+++ b/examples/stm32/f1/obldc/pwmleds/pwmleds.ld
diff --git a/examples/stm32f1/obldc/systick/Makefile b/examples/stm32/f1/obldc/systick/Makefile
index 91b5cb5..91b5cb5 100644
--- a/examples/stm32f1/obldc/systick/Makefile
+++ b/examples/stm32/f1/obldc/systick/Makefile
diff --git a/examples/stm32f1/obldc/systick/systick.c b/examples/stm32/f1/obldc/systick/systick.c
index 263230f..263230f 100644
--- a/examples/stm32f1/obldc/systick/systick.c
+++ b/examples/stm32/f1/obldc/systick/systick.c
diff --git a/examples/stm32f1/obldc/systick/systick.ld b/examples/stm32/f1/obldc/systick/systick.ld
index a3195d2..a3195d2 100644
--- a/examples/stm32f1/obldc/systick/systick.ld
+++ b/examples/stm32/f1/obldc/systick/systick.ld
diff --git a/examples/stm32f1/obldc/usart/Makefile b/examples/stm32/f1/obldc/usart/Makefile
index 2c1e1b1..2c1e1b1 100644
--- a/examples/stm32f1/obldc/usart/Makefile
+++ b/examples/stm32/f1/obldc/usart/Makefile
diff --git a/examples/stm32f1/obldc/usart/usart.c b/examples/stm32/f1/obldc/usart/usart.c
index b2efe71..b2efe71 100644
--- a/examples/stm32f1/obldc/usart/usart.c
+++ b/examples/stm32/f1/obldc/usart/usart.c
diff --git a/examples/stm32f1/obldc/usart/usart.ld b/examples/stm32/f1/obldc/usart/usart.ld
index edb52c5..edb52c5 100644
--- a/examples/stm32f1/obldc/usart/usart.ld
+++ b/examples/stm32/f1/obldc/usart/usart.ld
diff --git a/examples/stm32f1/obldc/usart_irq/Makefile b/examples/stm32/f1/obldc/usart_irq/Makefile
index 2ab46a0..2ab46a0 100644
--- a/examples/stm32f1/obldc/usart_irq/Makefile
+++ b/examples/stm32/f1/obldc/usart_irq/Makefile
diff --git a/examples/stm32f1/obldc/usart_irq/usart_irq.c b/examples/stm32/f1/obldc/usart_irq/usart_irq.c
index 20ff0a1..20ff0a1 100644
--- a/examples/stm32f1/obldc/usart_irq/usart_irq.c
+++ b/examples/stm32/f1/obldc/usart_irq/usart_irq.c
diff --git a/examples/stm32f1/obldc/usart_irq/usart_irq.ld b/examples/stm32/f1/obldc/usart_irq/usart_irq.ld
index edb52c5..edb52c5 100644
--- a/examples/stm32f1/obldc/usart_irq/usart_irq.ld
+++ b/examples/stm32/f1/obldc/usart_irq/usart_irq.ld
diff --git a/examples/stm32f1/other/adc_temperature_sensor/Makefile b/examples/stm32/f1/other/adc_temperature_sensor/Makefile
index f3f65c4..f3f65c4 100644
--- a/examples/stm32f1/other/adc_temperature_sensor/Makefile
+++ b/examples/stm32/f1/other/adc_temperature_sensor/Makefile
diff --git a/examples/stm32f1/other/adc_temperature_sensor/README b/examples/stm32/f1/other/adc_temperature_sensor/README
index aa00ef0..aa00ef0 100644
--- a/examples/stm32f1/other/adc_temperature_sensor/README
+++ b/examples/stm32/f1/other/adc_temperature_sensor/README
diff --git a/examples/stm32f1/other/adc_temperature_sensor/adc.c b/examples/stm32/f1/other/adc_temperature_sensor/adc.c
index a87909c..a87909c 100644
--- a/examples/stm32f1/other/adc_temperature_sensor/adc.c
+++ b/examples/stm32/f1/other/adc_temperature_sensor/adc.c
diff --git a/examples/stm32f1/other/adc_temperature_sensor/adc.ld b/examples/stm32/f1/other/adc_temperature_sensor/adc.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/other/adc_temperature_sensor/adc.ld
+++ b/examples/stm32/f1/other/adc_temperature_sensor/adc.ld
diff --git a/examples/stm32f1/other/dma_mem2mem/Makefile b/examples/stm32/f1/other/dma_mem2mem/Makefile
index c43650d..c43650d 100644
--- a/examples/stm32f1/other/dma_mem2mem/Makefile
+++ b/examples/stm32/f1/other/dma_mem2mem/Makefile
diff --git a/examples/stm32f1/other/dma_mem2mem/README b/examples/stm32/f1/other/dma_mem2mem/README
index 2e61e5a..2e61e5a 100644
--- a/examples/stm32f1/other/dma_mem2mem/README
+++ b/examples/stm32/f1/other/dma_mem2mem/README
diff --git a/examples/stm32f1/other/dma_mem2mem/dma.c b/examples/stm32/f1/other/dma_mem2mem/dma.c
index 0389412..0389412 100644
--- a/examples/stm32f1/other/dma_mem2mem/dma.c
+++ b/examples/stm32/f1/other/dma_mem2mem/dma.c
diff --git a/examples/stm32f1/other/dma_mem2mem/dma.ld b/examples/stm32/f1/other/dma_mem2mem/dma.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/other/dma_mem2mem/dma.ld
+++ b/examples/stm32/f1/other/dma_mem2mem/dma.ld
diff --git a/examples/stm32f1/other/dogm128/Makefile b/examples/stm32/f1/other/dogm128/Makefile
index 97a012e..97a012e 100644
--- a/examples/stm32f1/other/dogm128/Makefile
+++ b/examples/stm32/f1/other/dogm128/Makefile
diff --git a/examples/stm32f1/other/dogm128/README b/examples/stm32/f1/other/dogm128/README
index dbf82a0..dbf82a0 100644
--- a/examples/stm32f1/other/dogm128/README
+++ b/examples/stm32/f1/other/dogm128/README
diff --git a/examples/stm32f1/other/dogm128/dogm128.c b/examples/stm32/f1/other/dogm128/dogm128.c
index c78a275..c78a275 100644
--- a/examples/stm32f1/other/dogm128/dogm128.c
+++ b/examples/stm32/f1/other/dogm128/dogm128.c
diff --git a/examples/stm32f1/other/dogm128/dogm128.h b/examples/stm32/f1/other/dogm128/dogm128.h
index de43225..de43225 100644
--- a/examples/stm32f1/other/dogm128/dogm128.h
+++ b/examples/stm32/f1/other/dogm128/dogm128.h
diff --git a/examples/stm32f1/other/dogm128/main.c b/examples/stm32/f1/other/dogm128/main.c
index 508971e..508971e 100644
--- a/examples/stm32f1/other/dogm128/main.c
+++ b/examples/stm32/f1/other/dogm128/main.c
diff --git a/examples/stm32f1/other/dogm128/main.ld b/examples/stm32/f1/other/dogm128/main.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/other/dogm128/main.ld
+++ b/examples/stm32/f1/other/dogm128/main.ld
diff --git a/examples/stm32f1/other/i2c_stts75_sensor/Makefile b/examples/stm32/f1/other/i2c_stts75_sensor/Makefile
index d0f6ddf..d0f6ddf 100644
--- a/examples/stm32f1/other/i2c_stts75_sensor/Makefile
+++ b/examples/stm32/f1/other/i2c_stts75_sensor/Makefile
diff --git a/examples/stm32f1/other/i2c_stts75_sensor/README b/examples/stm32/f1/other/i2c_stts75_sensor/README
index 91e3ff6..91e3ff6 100644
--- a/examples/stm32f1/other/i2c_stts75_sensor/README
+++ b/examples/stm32/f1/other/i2c_stts75_sensor/README
diff --git a/examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c b/examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c
index d8f2404..d8f2404 100644
--- a/examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c
+++ b/examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c
diff --git a/examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld b/examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld
+++ b/examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld
diff --git a/examples/stm32f1/other/i2c_stts75_sensor/stts75.c b/examples/stm32/f1/other/i2c_stts75_sensor/stts75.c
index f28019c..f28019c 100644
--- a/examples/stm32f1/other/i2c_stts75_sensor/stts75.c
+++ b/examples/stm32/f1/other/i2c_stts75_sensor/stts75.c
diff --git a/examples/stm32f1/other/i2c_stts75_sensor/stts75.h b/examples/stm32/f1/other/i2c_stts75_sensor/stts75.h
index 57f6190..57f6190 100644
--- a/examples/stm32f1/other/i2c_stts75_sensor/stts75.h
+++ b/examples/stm32/f1/other/i2c_stts75_sensor/stts75.h
diff --git a/examples/stm32f1/other/rtc/Makefile b/examples/stm32/f1/other/rtc/Makefile
index 1efa7ac..1efa7ac 100644
--- a/examples/stm32f1/other/rtc/Makefile
+++ b/examples/stm32/f1/other/rtc/Makefile
diff --git a/examples/stm32f1/other/rtc/README b/examples/stm32/f1/other/rtc/README
index f1e3975..f1e3975 100644
--- a/examples/stm32f1/other/rtc/README
+++ b/examples/stm32/f1/other/rtc/README
diff --git a/examples/stm32f1/other/rtc/rtc.c b/examples/stm32/f1/other/rtc/rtc.c
index 28ae24c..28ae24c 100644
--- a/examples/stm32f1/other/rtc/rtc.c
+++ b/examples/stm32/f1/other/rtc/rtc.c
diff --git a/examples/stm32f1/other/rtc/rtc.ld b/examples/stm32/f1/other/rtc/rtc.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/other/rtc/rtc.ld
+++ b/examples/stm32/f1/other/rtc/rtc.ld
diff --git a/examples/stm32f1/other/systick/Makefile b/examples/stm32/f1/other/systick/Makefile
index 91b5cb5..91b5cb5 100644
--- a/examples/stm32f1/other/systick/Makefile
+++ b/examples/stm32/f1/other/systick/Makefile
diff --git a/examples/stm32f1/other/systick/README b/examples/stm32/f1/other/systick/README
index affb4b8..affb4b8 100644
--- a/examples/stm32f1/other/systick/README
+++ b/examples/stm32/f1/other/systick/README
diff --git a/examples/stm32f1/other/systick/systick.c b/examples/stm32/f1/other/systick/systick.c
index 173ff2a..173ff2a 100644
--- a/examples/stm32f1/other/systick/systick.c
+++ b/examples/stm32/f1/other/systick/systick.c
diff --git a/examples/stm32f1/other/systick/systick.ld b/examples/stm32/f1/other/systick/systick.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/other/systick/systick.ld
+++ b/examples/stm32/f1/other/systick/systick.ld
diff --git a/examples/stm32f1/other/timer_interrupt/Makefile b/examples/stm32/f1/other/timer_interrupt/Makefile
index 86aced4..86aced4 100644
--- a/examples/stm32f1/other/timer_interrupt/Makefile
+++ b/examples/stm32/f1/other/timer_interrupt/Makefile
diff --git a/examples/stm32f1/other/timer_interrupt/README b/examples/stm32/f1/other/timer_interrupt/README
index e6a22c4..e6a22c4 100644
--- a/examples/stm32f1/other/timer_interrupt/README
+++ b/examples/stm32/f1/other/timer_interrupt/README
diff --git a/examples/stm32f1/other/timer_interrupt/timer.c b/examples/stm32/f1/other/timer_interrupt/timer.c
index 422df88..422df88 100644
--- a/examples/stm32f1/other/timer_interrupt/timer.c
+++ b/examples/stm32/f1/other/timer_interrupt/timer.c
diff --git a/examples/stm32f1/other/timer_interrupt/timer.ld b/examples/stm32/f1/other/timer_interrupt/timer.ld
index 4f609a8..4f609a8 100644
--- a/examples/stm32f1/other/timer_interrupt/timer.ld
+++ b/examples/stm32/f1/other/timer_interrupt/timer.ld
diff --git a/examples/stm32f1/other/usb_cdcacm/Makefile b/examples/stm32/f1/other/usb_cdcacm/Makefile
index 38179e3..38179e3 100644
--- a/examples/stm32f1/other/usb_cdcacm/Makefile
+++ b/examples/stm32/f1/other/usb_cdcacm/Makefile
diff --git a/examples/stm32f1/other/usb_cdcacm/README b/examples/stm32/f1/other/usb_cdcacm/README
index 2f1ee4b..2f1ee4b 100644
--- a/examples/stm32f1/other/usb_cdcacm/README
+++ b/examples/stm32/f1/other/usb_cdcacm/README
diff --git a/examples/stm32f1/other/usb_cdcacm/cdcacm.c b/examples/stm32/f1/other/usb_cdcacm/cdcacm.c
index d26b898..d26b898 100644
--- a/examples/stm32f1/other/usb_cdcacm/cdcacm.c
+++ b/examples/stm32/f1/other/usb_cdcacm/cdcacm.c
diff --git a/examples/stm32f1/other/usb_cdcacm/cdcacm.ld b/examples/stm32/f1/other/usb_cdcacm/cdcacm.ld
index 3cd6316..3cd6316 100644
--- a/examples/stm32f1/other/usb_cdcacm/cdcacm.ld
+++ b/examples/stm32/f1/other/usb_cdcacm/cdcacm.ld
diff --git a/examples/stm32f1/other/usb_dfu/Makefile b/examples/stm32/f1/other/usb_dfu/Makefile
index 48e2d6b..48e2d6b 100644
--- a/examples/stm32f1/other/usb_dfu/Makefile
+++ b/examples/stm32/f1/other/usb_dfu/Makefile
diff --git a/examples/stm32f1/other/usb_dfu/README b/examples/stm32/f1/other/usb_dfu/README
index 9c0169a..9c0169a 100644
--- a/examples/stm32f1/other/usb_dfu/README
+++ b/examples/stm32/f1/other/usb_dfu/README
diff --git a/examples/stm32f1/other/usb_dfu/usbdfu.c b/examples/stm32/f1/other/usb_dfu/usbdfu.c
index 02d919f..02d919f 100644
--- a/examples/stm32f1/other/usb_dfu/usbdfu.c
+++ b/examples/stm32/f1/other/usb_dfu/usbdfu.c
diff --git a/examples/stm32f1/other/usb_dfu/usbdfu.ld b/examples/stm32/f1/other/usb_dfu/usbdfu.ld
index 6a01797..6a01797 100644
--- a/examples/stm32f1/other/usb_dfu/usbdfu.ld
+++ b/examples/stm32/f1/other/usb_dfu/usbdfu.ld
diff --git a/examples/stm32f1/other/usb_hid/Makefile b/examples/stm32/f1/other/usb_hid/Makefile
index d831e9e..d831e9e 100644
--- a/examples/stm32f1/other/usb_hid/Makefile
+++ b/examples/stm32/f1/other/usb_hid/Makefile
diff --git a/examples/stm32f1/other/usb_hid/README b/examples/stm32/f1/other/usb_hid/README
index 92645c9..92645c9 100644
--- a/examples/stm32f1/other/usb_hid/README
+++ b/examples/stm32/f1/other/usb_hid/README
diff --git a/examples/stm32f1/other/usb_hid/usbhid.c b/examples/stm32/f1/other/usb_hid/usbhid.c
index 7c0186e..7c0186e 100644
--- a/examples/stm32f1/other/usb_hid/usbhid.c
+++ b/examples/stm32/f1/other/usb_hid/usbhid.c
diff --git a/examples/stm32f1/other/usb_hid/usbhid.ld b/examples/stm32/f1/other/usb_hid/usbhid.ld
index 3cd6316..3cd6316 100644
--- a/examples/stm32f1/other/usb_hid/usbhid.ld
+++ b/examples/stm32/f1/other/usb_hid/usbhid.ld
diff --git a/examples/stm32f1/stm32-discovery/button/Makefile b/examples/stm32/f1/stm32-discovery/button/Makefile
index 96731c2..96731c2 100644
--- a/examples/stm32f1/stm32-discovery/button/Makefile
+++ b/examples/stm32/f1/stm32-discovery/button/Makefile
diff --git a/examples/stm32f1/stm32-discovery/button/README b/examples/stm32/f1/stm32-discovery/button/README
index 38bc1ea..38bc1ea 100644
--- a/examples/stm32f1/stm32-discovery/button/README
+++ b/examples/stm32/f1/stm32-discovery/button/README
diff --git a/examples/stm32f1/stm32-discovery/button/button.c b/examples/stm32/f1/stm32-discovery/button/button.c
index 87ce5cc..87ce5cc 100644
--- a/examples/stm32f1/stm32-discovery/button/button.c
+++ b/examples/stm32/f1/stm32-discovery/button/button.c
diff --git a/examples/stm32f1/stm32-discovery/button/button.ld b/examples/stm32/f1/stm32-discovery/button/button.ld
index 157204a..157204a 100644
--- a/examples/stm32f1/stm32-discovery/button/button.ld
+++ b/examples/stm32/f1/stm32-discovery/button/button.ld
diff --git a/examples/stm32f1/stm32-discovery/fancyblink/Makefile b/examples/stm32/f1/stm32-discovery/fancyblink/Makefile
index 1baec4d..1baec4d 100644
--- a/examples/stm32f1/stm32-discovery/fancyblink/Makefile
+++ b/examples/stm32/f1/stm32-discovery/fancyblink/Makefile
diff --git a/examples/stm32f1/stm32-discovery/fancyblink/README b/examples/stm32/f1/stm32-discovery/fancyblink/README
index b5d794c..b5d794c 100644
--- a/examples/stm32f1/stm32-discovery/fancyblink/README
+++ b/examples/stm32/f1/stm32-discovery/fancyblink/README
diff --git a/examples/stm32f1/stm32-discovery/fancyblink/fancyblink.c b/examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.c
index 38a4c4b..38a4c4b 100644
--- a/examples/stm32f1/stm32-discovery/fancyblink/fancyblink.c
+++ b/examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.c
diff --git a/examples/stm32f1/stm32-discovery/fancyblink/fancyblink.ld b/examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.ld
index 157204a..157204a 100644
--- a/examples/stm32f1/stm32-discovery/fancyblink/fancyblink.ld
+++ b/examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.ld
diff --git a/examples/stm32f1/stm32-discovery/miniblink/Makefile b/examples/stm32/f1/stm32-discovery/miniblink/Makefile
index 24a478b..24a478b 100644
--- a/examples/stm32f1/stm32-discovery/miniblink/Makefile
+++ b/examples/stm32/f1/stm32-discovery/miniblink/Makefile
diff --git a/examples/stm32f1/stm32-discovery/miniblink/README b/examples/stm32/f1/stm32-discovery/miniblink/README
index cffce60..cffce60 100644
--- a/examples/stm32f1/stm32-discovery/miniblink/README
+++ b/examples/stm32/f1/stm32-discovery/miniblink/README
diff --git a/examples/stm32f1/stm32-discovery/miniblink/miniblink.c b/examples/stm32/f1/stm32-discovery/miniblink/miniblink.c
index 973fab5..973fab5 100644
--- a/examples/stm32f1/stm32-discovery/miniblink/miniblink.c
+++ b/examples/stm32/f1/stm32-discovery/miniblink/miniblink.c
diff --git a/examples/stm32f1/stm32-discovery/miniblink/miniblink.ld b/examples/stm32/f1/stm32-discovery/miniblink/miniblink.ld
index 157204a..157204a 100644
--- a/examples/stm32f1/stm32-discovery/miniblink/miniblink.ld
+++ b/examples/stm32/f1/stm32-discovery/miniblink/miniblink.ld
diff --git a/examples/stm32f1/stm32-discovery/rtc/Makefile b/examples/stm32/f1/stm32-discovery/rtc/Makefile
index 1efa7ac..1efa7ac 100644
--- a/examples/stm32f1/stm32-discovery/rtc/Makefile
+++ b/examples/stm32/f1/stm32-discovery/rtc/Makefile
diff --git a/examples/stm32f1/stm32-discovery/rtc/README b/examples/stm32/f1/stm32-discovery/rtc/README
index d4509e4..d4509e4 100644
--- a/examples/stm32f1/stm32-discovery/rtc/README
+++ b/examples/stm32/f1/stm32-discovery/rtc/README
diff --git a/examples/stm32f1/stm32-discovery/rtc/rtc.c b/examples/stm32/f1/stm32-discovery/rtc/rtc.c
index fa8a966..fa8a966 100644
--- a/examples/stm32f1/stm32-discovery/rtc/rtc.c
+++ b/examples/stm32/f1/stm32-discovery/rtc/rtc.c
diff --git a/examples/stm32f1/stm32-discovery/rtc/rtc.ld b/examples/stm32/f1/stm32-discovery/rtc/rtc.ld
index 157204a..157204a 100644
--- a/examples/stm32f1/stm32-discovery/rtc/rtc.ld
+++ b/examples/stm32/f1/stm32-discovery/rtc/rtc.ld
diff --git a/examples/stm32f1/stm32-discovery/usart/Makefile b/examples/stm32/f1/stm32-discovery/usart/Makefile
index 2c1e1b1..2c1e1b1 100644
--- a/examples/stm32f1/stm32-discovery/usart/Makefile
+++ b/examples/stm32/f1/stm32-discovery/usart/Makefile
diff --git a/examples/stm32f1/stm32-discovery/usart/README b/examples/stm32/f1/stm32-discovery/usart/README
index 6d09139..6d09139 100644
--- a/examples/stm32f1/stm32-discovery/usart/README
+++ b/examples/stm32/f1/stm32-discovery/usart/README
diff --git a/examples/stm32f1/stm32-discovery/usart/usart.c b/examples/stm32/f1/stm32-discovery/usart/usart.c
index 942805b..942805b 100644
--- a/examples/stm32f1/stm32-discovery/usart/usart.c
+++ b/examples/stm32/f1/stm32-discovery/usart/usart.c
diff --git a/examples/stm32f1/stm32-discovery/usart/usart.ld b/examples/stm32/f1/stm32-discovery/usart/usart.ld
index 157204a..157204a 100644
--- a/examples/stm32f1/stm32-discovery/usart/usart.ld
+++ b/examples/stm32/f1/stm32-discovery/usart/usart.ld
diff --git a/examples/stm32f1/stm32-h103/button/Makefile b/examples/stm32/f1/stm32-h103/button/Makefile
index 96731c2..96731c2 100644
--- a/examples/stm32f1/stm32-h103/button/Makefile
+++ b/examples/stm32/f1/stm32-h103/button/Makefile
diff --git a/examples/stm32f1/stm32-h103/button/button.c b/examples/stm32/f1/stm32-h103/button/button.c
index 2f3378c..2f3378c 100644
--- a/examples/stm32f1/stm32-h103/button/button.c
+++ b/examples/stm32/f1/stm32-h103/button/button.c
diff --git a/examples/stm32f1/stm32-h103/button/button.ld b/examples/stm32/f1/stm32-h103/button/button.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/button/button.ld
+++ b/examples/stm32/f1/stm32-h103/button/button.ld
diff --git a/examples/stm32f1/stm32-h103/exti_both/Makefile b/examples/stm32/f1/stm32-h103/exti_both/Makefile
index 39e305b..39e305b 100644
--- a/examples/stm32f1/stm32-h103/exti_both/Makefile
+++ b/examples/stm32/f1/stm32-h103/exti_both/Makefile
diff --git a/examples/stm32f1/stm32-h103/exti_both/exti_both.c b/examples/stm32/f1/stm32-h103/exti_both/exti_both.c
index 7c6f9c7..7c6f9c7 100644
--- a/examples/stm32f1/stm32-h103/exti_both/exti_both.c
+++ b/examples/stm32/f1/stm32-h103/exti_both/exti_both.c
diff --git a/examples/stm32f1/stm32-h103/exti_both/exti_both.ld b/examples/stm32/f1/stm32-h103/exti_both/exti_both.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/exti_both/exti_both.ld
+++ b/examples/stm32/f1/stm32-h103/exti_both/exti_both.ld
diff --git a/examples/stm32f1/stm32-h103/exti_rising_falling/Makefile b/examples/stm32/f1/stm32-h103/exti_rising_falling/Makefile
index fc603a6..fc603a6 100644
--- a/examples/stm32f1/stm32-h103/exti_rising_falling/Makefile
+++ b/examples/stm32/f1/stm32-h103/exti_rising_falling/Makefile
diff --git a/examples/stm32f1/stm32-h103/exti_rising_falling/exti_rising_falling.c b/examples/stm32/f1/stm32-h103/exti_rising_falling/exti_rising_falling.c
index b3c47ee..b3c47ee 100644
--- a/examples/stm32f1/stm32-h103/exti_rising_falling/exti_rising_falling.c
+++ b/examples/stm32/f1/stm32-h103/exti_rising_falling/exti_rising_falling.c
diff --git a/examples/stm32f1/stm32-h103/exti_rising_falling/exti_rising_falling.ld b/examples/stm32/f1/stm32-h103/exti_rising_falling/exti_rising_falling.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/exti_rising_falling/exti_rising_falling.ld
+++ b/examples/stm32/f1/stm32-h103/exti_rising_falling/exti_rising_falling.ld
diff --git a/examples/stm32f1/stm32-h103/fancyblink/Makefile b/examples/stm32/f1/stm32-h103/fancyblink/Makefile
index 1baec4d..1baec4d 100644
--- a/examples/stm32f1/stm32-h103/fancyblink/Makefile
+++ b/examples/stm32/f1/stm32-h103/fancyblink/Makefile
diff --git a/examples/stm32f1/stm32-h103/fancyblink/README b/examples/stm32/f1/stm32-h103/fancyblink/README
index bdb6ec8..bdb6ec8 100644
--- a/examples/stm32f1/stm32-h103/fancyblink/README
+++ b/examples/stm32/f1/stm32-h103/fancyblink/README
diff --git a/examples/stm32f1/stm32-h103/fancyblink/fancyblink.c b/examples/stm32/f1/stm32-h103/fancyblink/fancyblink.c
index 1b2ad86..1b2ad86 100644
--- a/examples/stm32f1/stm32-h103/fancyblink/fancyblink.c
+++ b/examples/stm32/f1/stm32-h103/fancyblink/fancyblink.c
diff --git a/examples/stm32f1/stm32-h103/fancyblink/fancyblink.ld b/examples/stm32/f1/stm32-h103/fancyblink/fancyblink.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/fancyblink/fancyblink.ld
+++ b/examples/stm32/f1/stm32-h103/fancyblink/fancyblink.ld
diff --git a/examples/stm32f1/stm32-h103/led_stripe/Makefile b/examples/stm32/f1/stm32-h103/led_stripe/Makefile
index 60fd1ef..60fd1ef 100644
--- a/examples/stm32f1/stm32-h103/led_stripe/Makefile
+++ b/examples/stm32/f1/stm32-h103/led_stripe/Makefile
diff --git a/examples/stm32f1/stm32-h103/led_stripe/led_stripe.c b/examples/stm32/f1/stm32-h103/led_stripe/led_stripe.c
index 1576866..1576866 100644
--- a/examples/stm32f1/stm32-h103/led_stripe/led_stripe.c
+++ b/examples/stm32/f1/stm32-h103/led_stripe/led_stripe.c
diff --git a/examples/stm32f1/stm32-h103/led_stripe/led_stripe.ld b/examples/stm32/f1/stm32-h103/led_stripe/led_stripe.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/led_stripe/led_stripe.ld
+++ b/examples/stm32/f1/stm32-h103/led_stripe/led_stripe.ld
diff --git a/examples/stm32f1/stm32-h103/miniblink/Makefile b/examples/stm32/f1/stm32-h103/miniblink/Makefile
index 24a478b..24a478b 100644
--- a/examples/stm32f1/stm32-h103/miniblink/Makefile
+++ b/examples/stm32/f1/stm32-h103/miniblink/Makefile
diff --git a/examples/stm32f1/stm32-h103/miniblink/README b/examples/stm32/f1/stm32-h103/miniblink/README
index 0e046f2..0e046f2 100644
--- a/examples/stm32f1/stm32-h103/miniblink/README
+++ b/examples/stm32/f1/stm32-h103/miniblink/README
diff --git a/examples/stm32f1/stm32-h103/miniblink/miniblink.c b/examples/stm32/f1/stm32-h103/miniblink/miniblink.c
index b003f9a..b003f9a 100644
--- a/examples/stm32f1/stm32-h103/miniblink/miniblink.c
+++ b/examples/stm32/f1/stm32-h103/miniblink/miniblink.c
diff --git a/examples/stm32f1/stm32-h103/miniblink/miniblink.ld b/examples/stm32/f1/stm32-h103/miniblink/miniblink.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/miniblink/miniblink.ld
+++ b/examples/stm32/f1/stm32-h103/miniblink/miniblink.ld
diff --git a/examples/stm32f1/stm32-h103/pwm_6step/Makefile b/examples/stm32/f1/stm32-h103/pwm_6step/Makefile
index 2360082..2360082 100644
--- a/examples/stm32f1/stm32-h103/pwm_6step/Makefile
+++ b/examples/stm32/f1/stm32-h103/pwm_6step/Makefile
diff --git a/examples/stm32f1/stm32-h103/pwm_6step/pwm_6step.c b/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
index 9f9390a..9f9390a 100644
--- a/examples/stm32f1/stm32-h103/pwm_6step/pwm_6step.c
+++ b/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
diff --git a/examples/stm32f1/stm32-h103/pwm_6step/pwm_6step.ld b/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/pwm_6step/pwm_6step.ld
+++ b/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.ld
diff --git a/examples/stm32f1/stm32-h103/spi/Makefile b/examples/stm32/f1/stm32-h103/spi/Makefile
index 7d3cb72..7d3cb72 100644
--- a/examples/stm32f1/stm32-h103/spi/Makefile
+++ b/examples/stm32/f1/stm32-h103/spi/Makefile
diff --git a/examples/stm32f1/stm32-h103/spi/README b/examples/stm32/f1/stm32-h103/spi/README
index d4714c2..d4714c2 100644
--- a/examples/stm32f1/stm32-h103/spi/README
+++ b/examples/stm32/f1/stm32-h103/spi/README
diff --git a/examples/stm32f1/stm32-h103/spi/spi.c b/examples/stm32/f1/stm32-h103/spi/spi.c
index 89b8a68..89b8a68 100644
--- a/examples/stm32f1/stm32-h103/spi/spi.c
+++ b/examples/stm32/f1/stm32-h103/spi/spi.c
diff --git a/examples/stm32f1/stm32-h103/spi/spi.ld b/examples/stm32/f1/stm32-h103/spi/spi.ld
index e2fb5b6..e2fb5b6 100644
--- a/examples/stm32f1/stm32-h103/spi/spi.ld
+++ b/examples/stm32/f1/stm32-h103/spi/spi.ld
diff --git a/examples/stm32f1/stm32-h103/timer/Makefile b/examples/stm32/f1/stm32-h103/timer/Makefile
index 86aced4..86aced4 100644
--- a/examples/stm32f1/stm32-h103/timer/Makefile
+++ b/examples/stm32/f1/stm32-h103/timer/Makefile
diff --git a/examples/stm32f1/stm32-h103/timer/timer.c b/examples/stm32/f1/stm32-h103/timer/timer.c
index 48cae12..48cae12 100644
--- a/examples/stm32f1/stm32-h103/timer/timer.c
+++ b/examples/stm32/f1/stm32-h103/timer/timer.c
diff --git a/examples/stm32f1/stm32-h103/timer/timer.ld b/examples/stm32/f1/stm32-h103/timer/timer.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/timer/timer.ld
+++ b/examples/stm32/f1/stm32-h103/timer/timer.ld
diff --git a/examples/stm32f1/stm32-h103/traceswo/Makefile b/examples/stm32/f1/stm32-h103/traceswo/Makefile
index 37510d5..37510d5 100644
--- a/examples/stm32f1/stm32-h103/traceswo/Makefile
+++ b/examples/stm32/f1/stm32-h103/traceswo/Makefile
diff --git a/examples/stm32f1/stm32-h103/traceswo/README b/examples/stm32/f1/stm32-h103/traceswo/README
index 34b5227..34b5227 100644
--- a/examples/stm32f1/stm32-h103/traceswo/README
+++ b/examples/stm32/f1/stm32-h103/traceswo/README
diff --git a/examples/stm32f1/stm32-h103/traceswo/traceswo.c b/examples/stm32/f1/stm32-h103/traceswo/traceswo.c
index 8881447..8881447 100644
--- a/examples/stm32f1/stm32-h103/traceswo/traceswo.c
+++ b/examples/stm32/f1/stm32-h103/traceswo/traceswo.c
diff --git a/examples/stm32f1/stm32-h103/traceswo/traceswo.ld b/examples/stm32/f1/stm32-h103/traceswo/traceswo.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/traceswo/traceswo.ld
+++ b/examples/stm32/f1/stm32-h103/traceswo/traceswo.ld
diff --git a/examples/stm32f1/stm32-h103/usart/Makefile b/examples/stm32/f1/stm32-h103/usart/Makefile
index 2c1e1b1..2c1e1b1 100644
--- a/examples/stm32f1/stm32-h103/usart/Makefile
+++ b/examples/stm32/f1/stm32-h103/usart/Makefile
diff --git a/examples/stm32f1/stm32-h103/usart/README b/examples/stm32/f1/stm32-h103/usart/README
index ecd7269..ecd7269 100644
--- a/examples/stm32f1/stm32-h103/usart/README
+++ b/examples/stm32/f1/stm32-h103/usart/README
diff --git a/examples/stm32f1/stm32-h103/usart/usart.c b/examples/stm32/f1/stm32-h103/usart/usart.c
index a221acb..a221acb 100644
--- a/examples/stm32f1/stm32-h103/usart/usart.c
+++ b/examples/stm32/f1/stm32-h103/usart/usart.c
diff --git a/examples/stm32f1/stm32-h103/usart/usart.ld b/examples/stm32/f1/stm32-h103/usart/usart.ld
index 3409b98..3409b98 100644
--- a/examples/stm32f1/stm32-h103/usart/usart.ld
+++ b/examples/stm32/f1/stm32-h103/usart/usart.ld
diff --git a/examples/stm32f1/stm32-h103/usart_irq/Makefile b/examples/stm32/f1/stm32-h103/usart_irq/Makefile
index 6ee93bd..6ee93bd 100644
--- a/examples/stm32f1/stm32-h103/usart_irq/Makefile
+++ b/examples/stm32/f1/stm32-h103/usart_irq/Makefile
diff --git a/examples/stm32f1/stm32-h103/usart_irq/usart_irq.c b/examples/stm32/f1/stm32-h103/usart_irq/usart_irq.c
index a2d8eef..a2d8eef 100644
--- a/examples/stm32f1/stm32-h103/usart_irq/usart_irq.c
+++ b/examples/stm32/f1/stm32-h103/usart_irq/usart_irq.c
diff --git a/examples/stm32f1/stm32-h103/usart_irq/usart_irq.ld b/examples/stm32/f1/stm32-h103/usart_irq/usart_irq.ld
index edb52c5..edb52c5 100644
--- a/examples/stm32f1/stm32-h103/usart_irq/usart_irq.ld
+++ b/examples/stm32/f1/stm32-h103/usart_irq/usart_irq.ld
diff --git a/examples/stm32f1/stm32-h103/usart_irq_printf/Makefile b/examples/stm32/f1/stm32-h103/usart_irq_printf/Makefile
index 2917a7d..2917a7d 100644
--- a/examples/stm32f1/stm32-h103/usart_irq_printf/Makefile
+++ b/examples/stm32/f1/stm32-h103/usart_irq_printf/Makefile
diff --git a/examples/stm32f1/stm32-h103/usart_irq_printf/usart_irq_printf.c b/examples/stm32/f1/stm32-h103/usart_irq_printf/usart_irq_printf.c
index deee527..deee527 100644
--- a/examples/stm32f1/stm32-h103/usart_irq_printf/usart_irq_printf.c
+++ b/examples/stm32/f1/stm32-h103/usart_irq_printf/usart_irq_printf.c
diff --git a/examples/stm32f1/stm32-h103/usart_irq_printf/usart_irq_printf.ld b/examples/stm32/f1/stm32-h103/usart_irq_printf/usart_irq_printf.ld
index edb52c5..edb52c5 100644
--- a/examples/stm32f1/stm32-h103/usart_irq_printf/usart_irq_printf.ld
+++ b/examples/stm32/f1/stm32-h103/usart_irq_printf/usart_irq_printf.ld
diff --git a/examples/stm32f1/stm32-h103/usart_printf/Makefile b/examples/stm32/f1/stm32-h103/usart_printf/Makefile
index fb26208..fb26208 100644
--- a/examples/stm32f1/stm32-h103/usart_printf/Makefile
+++ b/examples/stm32/f1/stm32-h103/usart_printf/Makefile
diff --git a/examples/stm32f1/stm32-h103/usart_printf/usart_printf.c b/examples/stm32/f1/stm32-h103/usart_printf/usart_printf.c
index 1eb067f..1eb067f 100644
--- a/examples/stm32f1/stm32-h103/usart_printf/usart_printf.c
+++ b/examples/stm32/f1/stm32-h103/usart_printf/usart_printf.c
diff --git a/examples/stm32f1/stm32-h103/usart_printf/usart_printf.ld b/examples/stm32/f1/stm32-h103/usart_printf/usart_printf.ld
index edb52c5..edb52c5 100644
--- a/examples/stm32f1/stm32-h103/usart_printf/usart_printf.ld
+++ b/examples/stm32/f1/stm32-h103/usart_printf/usart_printf.ld
diff --git a/examples/stm32f1/stm32-h103/usb_cdcacm/Makefile b/examples/stm32/f1/stm32-h103/usb_cdcacm/Makefile
index 38179e3..38179e3 100644
--- a/examples/stm32f1/stm32-h103/usb_cdcacm/Makefile
+++ b/examples/stm32/f1/stm32-h103/usb_cdcacm/Makefile
diff --git a/examples/stm32f1/stm32-h103/usb_cdcacm/README b/examples/stm32/f1/stm32-h103/usb_cdcacm/README
index 2f1ee4b..2f1ee4b 100644
--- a/examples/stm32f1/stm32-h103/usb_cdcacm/README
+++ b/examples/stm32/f1/stm32-h103/usb_cdcacm/README
diff --git a/examples/stm32f1/stm32-h103/usb_cdcacm/cdcacm.c b/examples/stm32/f1/stm32-h103/usb_cdcacm/cdcacm.c
index f9e2527..f9e2527 100644
--- a/examples/stm32f1/stm32-h103/usb_cdcacm/cdcacm.c
+++ b/examples/stm32/f1/stm32-h103/usb_cdcacm/cdcacm.c
diff --git a/examples/stm32f1/stm32-h103/usb_cdcacm/cdcacm.ld b/examples/stm32/f1/stm32-h103/usb_cdcacm/cdcacm.ld
index d0df9e6..d0df9e6 100644
--- a/examples/stm32f1/stm32-h103/usb_cdcacm/cdcacm.ld
+++ b/examples/stm32/f1/stm32-h103/usb_cdcacm/cdcacm.ld
diff --git a/examples/stm32f1/stm32-h103/usb_dfu/Makefile b/examples/stm32/f1/stm32-h103/usb_dfu/Makefile
index 48e2d6b..48e2d6b 100644
--- a/examples/stm32f1/stm32-h103/usb_dfu/Makefile
+++ b/examples/stm32/f1/stm32-h103/usb_dfu/Makefile
diff --git a/examples/stm32f1/stm32-h103/usb_dfu/README b/examples/stm32/f1/stm32-h103/usb_dfu/README
index 9c0169a..9c0169a 100644
--- a/examples/stm32f1/stm32-h103/usb_dfu/README
+++ b/examples/stm32/f1/stm32-h103/usb_dfu/README
diff --git a/examples/stm32f1/stm32-h103/usb_dfu/usbdfu.c b/examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.c
index 4eac36d..4eac36d 100644
--- a/examples/stm32f1/stm32-h103/usb_dfu/usbdfu.c
+++ b/examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.c
diff --git a/examples/stm32f1/stm32-h103/usb_dfu/usbdfu.ld b/examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.ld
index 6a01797..6a01797 100644
--- a/examples/stm32f1/stm32-h103/usb_dfu/usbdfu.ld
+++ b/examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.ld
diff --git a/examples/stm32f1/stm32-h103/usb_hid/Makefile b/examples/stm32/f1/stm32-h103/usb_hid/Makefile
index d831e9e..d831e9e 100644
--- a/examples/stm32f1/stm32-h103/usb_hid/Makefile
+++ b/examples/stm32/f1/stm32-h103/usb_hid/Makefile
diff --git a/examples/stm32f1/stm32-h103/usb_hid/README b/examples/stm32/f1/stm32-h103/usb_hid/README
index 48a9b39..48a9b39 100644
--- a/examples/stm32f1/stm32-h103/usb_hid/README
+++ b/examples/stm32/f1/stm32-h103/usb_hid/README
diff --git a/examples/stm32f1/stm32-h103/usb_hid/usbhid.c b/examples/stm32/f1/stm32-h103/usb_hid/usbhid.c
index a815573..a815573 100644
--- a/examples/stm32f1/stm32-h103/usb_hid/usbhid.c
+++ b/examples/stm32/f1/stm32-h103/usb_hid/usbhid.c
diff --git a/examples/stm32f1/stm32-h103/usb_hid/usbhid.ld b/examples/stm32/f1/stm32-h103/usb_hid/usbhid.ld
index d0df9e6..d0df9e6 100644
--- a/examples/stm32f1/stm32-h103/usb_hid/usbhid.ld
+++ b/examples/stm32/f1/stm32-h103/usb_hid/usbhid.ld
diff --git a/examples/stm32f1/stm32-h103/usb_iap/Makefile b/examples/stm32/f1/stm32-h103/usb_iap/Makefile
index bed9908..bed9908 100644
--- a/examples/stm32f1/stm32-h103/usb_iap/Makefile
+++ b/examples/stm32/f1/stm32-h103/usb_iap/Makefile
diff --git a/examples/stm32f1/stm32-h103/usb_iap/README b/examples/stm32/f1/stm32-h103/usb_iap/README
index 2966684..2966684 100644
--- a/examples/stm32f1/stm32-h103/usb_iap/README
+++ b/examples/stm32/f1/stm32-h103/usb_iap/README
diff --git a/examples/stm32f1/stm32-h103/usb_iap/usbiap.c b/examples/stm32/f1/stm32-h103/usb_iap/usbiap.c
index 9d184f1..9d184f1 100644
--- a/examples/stm32f1/stm32-h103/usb_iap/usbiap.c
+++ b/examples/stm32/f1/stm32-h103/usb_iap/usbiap.c
diff --git a/examples/stm32f1/stm32-h103/usb_iap/usbiap.ld b/examples/stm32/f1/stm32-h103/usb_iap/usbiap.ld
index d0df9e6..d0df9e6 100644
--- a/examples/stm32f1/stm32-h103/usb_iap/usbiap.ld
+++ b/examples/stm32/f1/stm32-h103/usb_iap/usbiap.ld
diff --git a/examples/stm32f1/stm32-h107/fancyblink/Makefile b/examples/stm32/f1/stm32-h107/fancyblink/Makefile
index 1baec4d..1baec4d 100644
--- a/examples/stm32f1/stm32-h107/fancyblink/Makefile
+++ b/examples/stm32/f1/stm32-h107/fancyblink/Makefile
diff --git a/examples/stm32f1/stm32-h107/fancyblink/README b/examples/stm32/f1/stm32-h107/fancyblink/README
index 6f1ac39..6f1ac39 100644
--- a/examples/stm32f1/stm32-h107/fancyblink/README
+++ b/examples/stm32/f1/stm32-h107/fancyblink/README
diff --git a/examples/stm32f1/stm32-h107/fancyblink/fancyblink.c b/examples/stm32/f1/stm32-h107/fancyblink/fancyblink.c
index 4d45829..4d45829 100644
--- a/examples/stm32f1/stm32-h107/fancyblink/fancyblink.c
+++ b/examples/stm32/f1/stm32-h107/fancyblink/fancyblink.c
diff --git a/examples/stm32f1/stm32-h107/fancyblink/fancyblink.ld b/examples/stm32/f1/stm32-h107/fancyblink/fancyblink.ld
index d35c141..d35c141 100644
--- a/examples/stm32f1/stm32-h107/fancyblink/fancyblink.ld
+++ b/examples/stm32/f1/stm32-h107/fancyblink/fancyblink.ld
diff --git a/examples/stm32f1/stm32-h107/usb_simple/Makefile b/examples/stm32/f1/stm32-h107/usb_simple/Makefile
index 2d954e2..2d954e2 100644
--- a/examples/stm32f1/stm32-h107/usb_simple/Makefile
+++ b/examples/stm32/f1/stm32-h107/usb_simple/Makefile
diff --git a/examples/stm32f1/stm32-h107/usb_simple/README b/examples/stm32/f1/stm32-h107/usb_simple/README
index 93d4f03..93d4f03 100644
--- a/examples/stm32f1/stm32-h107/usb_simple/README
+++ b/examples/stm32/f1/stm32-h107/usb_simple/README
diff --git a/examples/stm32f1/stm32-h107/usb_simple/usb_simple.c b/examples/stm32/f1/stm32-h107/usb_simple/usb_simple.c
index c30803c..c30803c 100644
--- a/examples/stm32f1/stm32-h107/usb_simple/usb_simple.c
+++ b/examples/stm32/f1/stm32-h107/usb_simple/usb_simple.c
diff --git a/examples/stm32f1/stm32-h107/usb_simple/usb_simple.ld b/examples/stm32/f1/stm32-h107/usb_simple/usb_simple.ld
index d35c141..d35c141 100644
--- a/examples/stm32f1/stm32-h107/usb_simple/usb_simple.ld
+++ b/examples/stm32/f1/stm32-h107/usb_simple/usb_simple.ld
diff --git a/examples/stm32f2/Makefile.include b/examples/stm32/f2/Makefile.include
index 3f5bf9d..aa9a159 100644
--- a/examples/stm32f2/Makefile.include
+++ b/examples/stm32/f2/Makefile.include
@@ -28,12 +28,12 @@ OBJDUMP = $(PREFIX)-objdump
GDB = $(PREFIX)-gdb
# Uncomment this line if you want to use the installed (not local) library.
#TOOLCHAIN_DIR := $(shell dirname `which $(CC)`)/../$(PREFIX)
-TOOLCHAIN_DIR = ../../../..
+TOOLCHAIN_DIR = ../../../../..
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
-fno-common -mcpu=cortex-m3 -mthumb -msoft-float -MD -DSTM32F2
LDSCRIPT = $(BINARY).ld
LDFLAGS += -lc -lnosys -L$(TOOLCHAIN_DIR)/lib \
- -L$(TOOLCHAIN_DIR)/lib/stm32f2 \
+ -L$(TOOLCHAIN_DIR)/lib/stm32/f2 \
-T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections \
-mthumb -march=armv7 -mfix-cortex-m3-ldrd -msoft-float
OBJS += $(BINARY).o
@@ -81,7 +81,7 @@ flash: $(BINARY).flash
@#printf " OBJDUMP $(*).list\n"
$(Q)$(OBJDUMP) -S $(*).elf > $(*).list
-%.elf: $(OBJS) $(LDSCRIPT) $(TOOLCHAIN_DIR)/lib/stm32f2/libopencm3_stm32f2.a
+%.elf: $(OBJS) $(LDSCRIPT) $(TOOLCHAIN_DIR)/lib/stm32/f2/libopencm3_stm32f2.a
@#printf " LD $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(LD) -o $(*).elf $(OBJS) -lopencm3_stm32f2 $(LDFLAGS)
diff --git a/examples/stm32f2/jobygps/jobygps.cfg b/examples/stm32/f2/jobygps/jobygps.cfg
index 7ca449e..7ca449e 100644
--- a/examples/stm32f2/jobygps/jobygps.cfg
+++ b/examples/stm32/f2/jobygps/jobygps.cfg
diff --git a/examples/stm32f2/jobygps/miniblink/Makefile b/examples/stm32/f2/jobygps/miniblink/Makefile
index 24a478b..24a478b 100644
--- a/examples/stm32f2/jobygps/miniblink/Makefile
+++ b/examples/stm32/f2/jobygps/miniblink/Makefile
diff --git a/examples/stm32f2/jobygps/miniblink/README b/examples/stm32/f2/jobygps/miniblink/README
index 0130112..0130112 100644
--- a/examples/stm32f2/jobygps/miniblink/README
+++ b/examples/stm32/f2/jobygps/miniblink/README
diff --git a/examples/stm32f2/jobygps/miniblink/miniblink.c b/examples/stm32/f2/jobygps/miniblink/miniblink.c
index 2927df5..2927df5 100644
--- a/examples/stm32f2/jobygps/miniblink/miniblink.c
+++ b/examples/stm32/f2/jobygps/miniblink/miniblink.c
diff --git a/examples/stm32f2/jobygps/miniblink/miniblink.ld b/examples/stm32/f2/jobygps/miniblink/miniblink.ld
index cfe9ab7..cfe9ab7 100644
--- a/examples/stm32f2/jobygps/miniblink/miniblink.ld
+++ b/examples/stm32/f2/jobygps/miniblink/miniblink.ld
diff --git a/examples/stm32f2/jobygps/spi_test/Makefile b/examples/stm32/f2/jobygps/spi_test/Makefile
index de4c338..de4c338 100644
--- a/examples/stm32f2/jobygps/spi_test/Makefile
+++ b/examples/stm32/f2/jobygps/spi_test/Makefile
diff --git a/examples/stm32f2/jobygps/spi_test/spi_test.c b/examples/stm32/f2/jobygps/spi_test/spi_test.c
index b45789c..f1ce719 100644
--- a/examples/stm32f2/jobygps/spi_test/spi_test.c
+++ b/examples/stm32/f2/jobygps/spi_test/spi_test.c
@@ -31,7 +31,7 @@ void clock_setup(void)
{
RCC_APB1ENR |= RCC_APB1ENR_SPI2EN;
RCC_APB2ENR |= RCC_APB2ENR_USART1EN;
- RCC_AHB1ENR |= RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIOAEN | RCC_AHB1ENR_GPIOBEN;
+ RCC_AHB1ENR |= RCC_AHB1ENR_IOPCEN | RCC_AHB1ENR_IOPAEN | RCC_AHB1ENR_IOPBEN;
}
diff --git a/examples/stm32f2/jobygps/spi_test/spi_test.ld b/examples/stm32/f2/jobygps/spi_test/spi_test.ld
index cfe9ab7..cfe9ab7 100644
--- a/examples/stm32f2/jobygps/spi_test/spi_test.ld
+++ b/examples/stm32/f2/jobygps/spi_test/spi_test.ld
diff --git a/examples/stm32f2/jobygps/usart_printf/Makefile b/examples/stm32/f2/jobygps/usart_printf/Makefile
index fb26208..fb26208 100644
--- a/examples/stm32f2/jobygps/usart_printf/Makefile
+++ b/examples/stm32/f2/jobygps/usart_printf/Makefile
diff --git a/examples/stm32f2/jobygps/usart_printf/usart_printf.c b/examples/stm32/f2/jobygps/usart_printf/usart_printf.c
index f5a4cf5..d9c8dbb 100644
--- a/examples/stm32f2/jobygps/usart_printf/usart_printf.c
+++ b/examples/stm32/f2/jobygps/usart_printf/usart_printf.c
@@ -38,7 +38,7 @@ void clock_setup(void)
// RCC_APB2ENR_AFIOEN |
// RCC_APB2ENR_USART1EN);
RCC_APB2ENR |= RCC_APB2ENR_USART1EN;
- RCC_AHB1ENR |= RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIOAEN;
+ RCC_AHB1ENR |= RCC_AHB1ENR_IOPCEN | RCC_AHB1ENR_IOPAEN;
}
void usart_setup(void)
diff --git a/examples/stm32f2/jobygps/usart_printf/usart_printf.ld b/examples/stm32/f2/jobygps/usart_printf/usart_printf.ld
index e80bdbd..e80bdbd 100644
--- a/examples/stm32f2/jobygps/usart_printf/usart_printf.ld
+++ b/examples/stm32/f2/jobygps/usart_printf/usart_printf.ld