Browse Source

Move STM32 example projects in family specific folders

pull/2/head
Stephen Caudle 13 years ago
parent
commit
580d25a84b
  1. 6
      examples/stm32/f1/Makefile.include
  2. 0
      examples/stm32/f1/lisa-m/fancyblink/Makefile
  3. 0
      examples/stm32/f1/lisa-m/fancyblink/fancyblink.c
  4. 0
      examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld
  5. 0
      examples/stm32/f1/lisa-m/usb_dfu/Makefile
  6. 0
      examples/stm32/f1/lisa-m/usb_dfu/README
  7. 0
      examples/stm32/f1/lisa-m/usb_dfu/usbdfu.c
  8. 0
      examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld
  9. 0
      examples/stm32/f1/lisa-m/usb_hid/Makefile
  10. 0
      examples/stm32/f1/lisa-m/usb_hid/README
  11. 0
      examples/stm32/f1/lisa-m/usb_hid/usbhid.c
  12. 0
      examples/stm32/f1/lisa-m/usb_hid/usbhid.ld
  13. 0
      examples/stm32/f1/mb525/fancyblink/Makefile
  14. 0
      examples/stm32/f1/mb525/fancyblink/README
  15. 0
      examples/stm32/f1/mb525/fancyblink/fancyblink.c
  16. 0
      examples/stm32/f1/mb525/fancyblink/fancyblink.ld
  17. 0
      examples/stm32/f1/mb525/pwmleds/Makefile
  18. 0
      examples/stm32/f1/mb525/pwmleds/README
  19. 0
      examples/stm32/f1/mb525/pwmleds/pwmleds.c
  20. 0
      examples/stm32/f1/mb525/pwmleds/pwmleds.ld
  21. 0
      examples/stm32/f1/obldc/can/Makefile
  22. 0
      examples/stm32/f1/obldc/can/can.c
  23. 0
      examples/stm32/f1/obldc/can/can.ld
  24. 0
      examples/stm32/f1/obldc/led/Makefile
  25. 0
      examples/stm32/f1/obldc/led/led.c
  26. 0
      examples/stm32/f1/obldc/led/led.ld
  27. 0
      examples/stm32/f1/obldc/pwmleds/Makefile
  28. 0
      examples/stm32/f1/obldc/pwmleds/pwmleds.c
  29. 0
      examples/stm32/f1/obldc/pwmleds/pwmleds.ld
  30. 0
      examples/stm32/f1/obldc/systick/Makefile
  31. 0
      examples/stm32/f1/obldc/systick/systick.c
  32. 0
      examples/stm32/f1/obldc/systick/systick.ld
  33. 0
      examples/stm32/f1/obldc/usart/Makefile
  34. 0
      examples/stm32/f1/obldc/usart/usart.c
  35. 0
      examples/stm32/f1/obldc/usart/usart.ld
  36. 0
      examples/stm32/f1/obldc/usart_irq/Makefile
  37. 0
      examples/stm32/f1/obldc/usart_irq/usart_irq.c
  38. 0
      examples/stm32/f1/obldc/usart_irq/usart_irq.ld
  39. 0
      examples/stm32/f1/other/adc_temperature_sensor/Makefile
  40. 0
      examples/stm32/f1/other/adc_temperature_sensor/README
  41. 0
      examples/stm32/f1/other/adc_temperature_sensor/adc.c
  42. 0
      examples/stm32/f1/other/adc_temperature_sensor/adc.ld
  43. 0
      examples/stm32/f1/other/dma_mem2mem/Makefile
  44. 0
      examples/stm32/f1/other/dma_mem2mem/README
  45. 0
      examples/stm32/f1/other/dma_mem2mem/dma.c
  46. 0
      examples/stm32/f1/other/dma_mem2mem/dma.ld
  47. 0
      examples/stm32/f1/other/dogm128/Makefile
  48. 0
      examples/stm32/f1/other/dogm128/README
  49. 0
      examples/stm32/f1/other/dogm128/dogm128.c
  50. 0
      examples/stm32/f1/other/dogm128/dogm128.h
  51. 0
      examples/stm32/f1/other/dogm128/main.c
  52. 0
      examples/stm32/f1/other/dogm128/main.ld
  53. 0
      examples/stm32/f1/other/i2c_stts75_sensor/Makefile
  54. 0
      examples/stm32/f1/other/i2c_stts75_sensor/README
  55. 0
      examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c
  56. 0
      examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld
  57. 0
      examples/stm32/f1/other/i2c_stts75_sensor/stts75.c
  58. 0
      examples/stm32/f1/other/i2c_stts75_sensor/stts75.h
  59. 0
      examples/stm32/f1/other/rtc/Makefile
  60. 0
      examples/stm32/f1/other/rtc/README
  61. 0
      examples/stm32/f1/other/rtc/rtc.c
  62. 0
      examples/stm32/f1/other/rtc/rtc.ld
  63. 0
      examples/stm32/f1/other/systick/Makefile
  64. 0
      examples/stm32/f1/other/systick/README
  65. 0
      examples/stm32/f1/other/systick/systick.c
  66. 0
      examples/stm32/f1/other/systick/systick.ld
  67. 0
      examples/stm32/f1/other/timer_interrupt/Makefile
  68. 0
      examples/stm32/f1/other/timer_interrupt/README
  69. 0
      examples/stm32/f1/other/timer_interrupt/timer.c
  70. 0
      examples/stm32/f1/other/timer_interrupt/timer.ld
  71. 0
      examples/stm32/f1/other/usb_cdcacm/Makefile
  72. 0
      examples/stm32/f1/other/usb_cdcacm/README
  73. 0
      examples/stm32/f1/other/usb_cdcacm/cdcacm.c
  74. 0
      examples/stm32/f1/other/usb_cdcacm/cdcacm.ld
  75. 0
      examples/stm32/f1/other/usb_dfu/Makefile
  76. 0
      examples/stm32/f1/other/usb_dfu/README
  77. 0
      examples/stm32/f1/other/usb_dfu/usbdfu.c
  78. 0
      examples/stm32/f1/other/usb_dfu/usbdfu.ld
  79. 0
      examples/stm32/f1/other/usb_hid/Makefile
  80. 0
      examples/stm32/f1/other/usb_hid/README
  81. 0
      examples/stm32/f1/other/usb_hid/usbhid.c
  82. 0
      examples/stm32/f1/other/usb_hid/usbhid.ld
  83. 0
      examples/stm32/f1/stm32-discovery/button/Makefile
  84. 0
      examples/stm32/f1/stm32-discovery/button/README
  85. 0
      examples/stm32/f1/stm32-discovery/button/button.c
  86. 0
      examples/stm32/f1/stm32-discovery/button/button.ld
  87. 0
      examples/stm32/f1/stm32-discovery/fancyblink/Makefile
  88. 0
      examples/stm32/f1/stm32-discovery/fancyblink/README
  89. 0
      examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.c
  90. 0
      examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.ld
  91. 0
      examples/stm32/f1/stm32-discovery/miniblink/Makefile
  92. 0
      examples/stm32/f1/stm32-discovery/miniblink/README
  93. 0
      examples/stm32/f1/stm32-discovery/miniblink/miniblink.c
  94. 0
      examples/stm32/f1/stm32-discovery/miniblink/miniblink.ld
  95. 0
      examples/stm32/f1/stm32-discovery/rtc/Makefile
  96. 0
      examples/stm32/f1/stm32-discovery/rtc/README
  97. 0
      examples/stm32/f1/stm32-discovery/rtc/rtc.c
  98. 0
      examples/stm32/f1/stm32-discovery/rtc/rtc.ld
  99. 0
      examples/stm32/f1/stm32-discovery/usart/Makefile
  100. 0
      examples/stm32/f1/stm32-discovery/usart/README

6
examples/stm32f1/Makefile.include → 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)

0
examples/stm32f1/lisa-m/fancyblink/Makefile → examples/stm32/f1/lisa-m/fancyblink/Makefile

0
examples/stm32f1/lisa-m/fancyblink/fancyblink.c → examples/stm32/f1/lisa-m/fancyblink/fancyblink.c

0
examples/stm32f1/lisa-m/fancyblink/fancyblink.ld → examples/stm32/f1/lisa-m/fancyblink/fancyblink.ld

0
examples/stm32f1/lisa-m/usb_dfu/Makefile → examples/stm32/f1/lisa-m/usb_dfu/Makefile

0
examples/stm32f1/lisa-m/usb_dfu/README → examples/stm32/f1/lisa-m/usb_dfu/README

0
examples/stm32f1/lisa-m/usb_dfu/usbdfu.c → examples/stm32/f1/lisa-m/usb_dfu/usbdfu.c

0
examples/stm32f1/lisa-m/usb_dfu/usbdfu.ld → examples/stm32/f1/lisa-m/usb_dfu/usbdfu.ld

0
examples/stm32f1/lisa-m/usb_hid/Makefile → examples/stm32/f1/lisa-m/usb_hid/Makefile

0
examples/stm32f1/lisa-m/usb_hid/README → examples/stm32/f1/lisa-m/usb_hid/README

0
examples/stm32f1/lisa-m/usb_hid/usbhid.c → examples/stm32/f1/lisa-m/usb_hid/usbhid.c

0
examples/stm32f1/lisa-m/usb_hid/usbhid.ld → examples/stm32/f1/lisa-m/usb_hid/usbhid.ld

0
examples/stm32f1/mb525/fancyblink/Makefile → examples/stm32/f1/mb525/fancyblink/Makefile

0
examples/stm32f1/mb525/fancyblink/README → examples/stm32/f1/mb525/fancyblink/README

0
examples/stm32f1/mb525/fancyblink/fancyblink.c → examples/stm32/f1/mb525/fancyblink/fancyblink.c

0
examples/stm32f1/mb525/fancyblink/fancyblink.ld → examples/stm32/f1/mb525/fancyblink/fancyblink.ld

0
examples/stm32f1/mb525/pwmleds/Makefile → examples/stm32/f1/mb525/pwmleds/Makefile

0
examples/stm32f1/mb525/pwmleds/README → examples/stm32/f1/mb525/pwmleds/README

0
examples/stm32f1/mb525/pwmleds/pwmleds.c → examples/stm32/f1/mb525/pwmleds/pwmleds.c

0
examples/stm32f1/mb525/pwmleds/pwmleds.ld → examples/stm32/f1/mb525/pwmleds/pwmleds.ld

0
examples/stm32f1/obldc/can/Makefile → examples/stm32/f1/obldc/can/Makefile

0
examples/stm32f1/obldc/can/can.c → examples/stm32/f1/obldc/can/can.c

0
examples/stm32f1/obldc/can/can.ld → examples/stm32/f1/obldc/can/can.ld

0
examples/stm32f1/obldc/led/Makefile → examples/stm32/f1/obldc/led/Makefile

0
examples/stm32f1/obldc/led/led.c → examples/stm32/f1/obldc/led/led.c

0
examples/stm32f1/obldc/led/led.ld → examples/stm32/f1/obldc/led/led.ld

0
examples/stm32f1/obldc/pwmleds/Makefile → examples/stm32/f1/obldc/pwmleds/Makefile

0
examples/stm32f1/obldc/pwmleds/pwmleds.c → examples/stm32/f1/obldc/pwmleds/pwmleds.c

0
examples/stm32f1/obldc/pwmleds/pwmleds.ld → examples/stm32/f1/obldc/pwmleds/pwmleds.ld

0
examples/stm32f1/obldc/systick/Makefile → examples/stm32/f1/obldc/systick/Makefile

0
examples/stm32f1/obldc/systick/systick.c → examples/stm32/f1/obldc/systick/systick.c

0
examples/stm32f1/obldc/systick/systick.ld → examples/stm32/f1/obldc/systick/systick.ld

0
examples/stm32f1/obldc/usart/Makefile → examples/stm32/f1/obldc/usart/Makefile

0
examples/stm32f1/obldc/usart/usart.c → examples/stm32/f1/obldc/usart/usart.c

0
examples/stm32f1/obldc/usart/usart.ld → examples/stm32/f1/obldc/usart/usart.ld

0
examples/stm32f1/obldc/usart_irq/Makefile → examples/stm32/f1/obldc/usart_irq/Makefile

0
examples/stm32f1/obldc/usart_irq/usart_irq.c → examples/stm32/f1/obldc/usart_irq/usart_irq.c

0
examples/stm32f1/obldc/usart_irq/usart_irq.ld → examples/stm32/f1/obldc/usart_irq/usart_irq.ld

0
examples/stm32f1/other/adc_temperature_sensor/Makefile → examples/stm32/f1/other/adc_temperature_sensor/Makefile

0
examples/stm32f1/other/adc_temperature_sensor/README → examples/stm32/f1/other/adc_temperature_sensor/README

0
examples/stm32f1/other/adc_temperature_sensor/adc.c → examples/stm32/f1/other/adc_temperature_sensor/adc.c

0
examples/stm32f1/other/adc_temperature_sensor/adc.ld → examples/stm32/f1/other/adc_temperature_sensor/adc.ld

0
examples/stm32f1/other/dma_mem2mem/Makefile → examples/stm32/f1/other/dma_mem2mem/Makefile

0
examples/stm32f1/other/dma_mem2mem/README → examples/stm32/f1/other/dma_mem2mem/README

0
examples/stm32f1/other/dma_mem2mem/dma.c → examples/stm32/f1/other/dma_mem2mem/dma.c

0
examples/stm32f1/other/dma_mem2mem/dma.ld → examples/stm32/f1/other/dma_mem2mem/dma.ld

0
examples/stm32f1/other/dogm128/Makefile → examples/stm32/f1/other/dogm128/Makefile

0
examples/stm32f1/other/dogm128/README → examples/stm32/f1/other/dogm128/README

0
examples/stm32f1/other/dogm128/dogm128.c → examples/stm32/f1/other/dogm128/dogm128.c

0
examples/stm32f1/other/dogm128/dogm128.h → examples/stm32/f1/other/dogm128/dogm128.h

0
examples/stm32f1/other/dogm128/main.c → examples/stm32/f1/other/dogm128/main.c

0
examples/stm32f1/other/dogm128/main.ld → examples/stm32/f1/other/dogm128/main.ld

0
examples/stm32f1/other/i2c_stts75_sensor/Makefile → examples/stm32/f1/other/i2c_stts75_sensor/Makefile

0
examples/stm32f1/other/i2c_stts75_sensor/README → examples/stm32/f1/other/i2c_stts75_sensor/README

0
examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c → examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.c

0
examples/stm32f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld → examples/stm32/f1/other/i2c_stts75_sensor/i2c_stts75_sensor.ld

0
examples/stm32f1/other/i2c_stts75_sensor/stts75.c → examples/stm32/f1/other/i2c_stts75_sensor/stts75.c

0
examples/stm32f1/other/i2c_stts75_sensor/stts75.h → examples/stm32/f1/other/i2c_stts75_sensor/stts75.h

0
examples/stm32f1/other/rtc/Makefile → examples/stm32/f1/other/rtc/Makefile

0
examples/stm32f1/other/rtc/README → examples/stm32/f1/other/rtc/README

0
examples/stm32f1/other/rtc/rtc.c → examples/stm32/f1/other/rtc/rtc.c

0
examples/stm32f1/other/rtc/rtc.ld → examples/stm32/f1/other/rtc/rtc.ld

0
examples/stm32f1/other/systick/Makefile → examples/stm32/f1/other/systick/Makefile

0
examples/stm32f1/other/systick/README → examples/stm32/f1/other/systick/README

0
examples/stm32f1/other/systick/systick.c → examples/stm32/f1/other/systick/systick.c

0
examples/stm32f1/other/systick/systick.ld → examples/stm32/f1/other/systick/systick.ld

0
examples/stm32f1/other/timer_interrupt/Makefile → examples/stm32/f1/other/timer_interrupt/Makefile

0
examples/stm32f1/other/timer_interrupt/README → examples/stm32/f1/other/timer_interrupt/README

0
examples/stm32f1/other/timer_interrupt/timer.c → examples/stm32/f1/other/timer_interrupt/timer.c

0
examples/stm32f1/other/timer_interrupt/timer.ld → examples/stm32/f1/other/timer_interrupt/timer.ld

0
examples/stm32f1/other/usb_cdcacm/Makefile → examples/stm32/f1/other/usb_cdcacm/Makefile

0
examples/stm32f1/other/usb_cdcacm/README → examples/stm32/f1/other/usb_cdcacm/README

0
examples/stm32f1/other/usb_cdcacm/cdcacm.c → examples/stm32/f1/other/usb_cdcacm/cdcacm.c

0
examples/stm32f1/other/usb_cdcacm/cdcacm.ld → examples/stm32/f1/other/usb_cdcacm/cdcacm.ld

0
examples/stm32f1/other/usb_dfu/Makefile → examples/stm32/f1/other/usb_dfu/Makefile

0
examples/stm32f1/other/usb_dfu/README → examples/stm32/f1/other/usb_dfu/README

0
examples/stm32f1/other/usb_dfu/usbdfu.c → examples/stm32/f1/other/usb_dfu/usbdfu.c

0
examples/stm32f1/other/usb_dfu/usbdfu.ld → examples/stm32/f1/other/usb_dfu/usbdfu.ld

0
examples/stm32f1/other/usb_hid/Makefile → examples/stm32/f1/other/usb_hid/Makefile

0
examples/stm32f1/other/usb_hid/README → examples/stm32/f1/other/usb_hid/README

0
examples/stm32f1/other/usb_hid/usbhid.c → examples/stm32/f1/other/usb_hid/usbhid.c

0
examples/stm32f1/other/usb_hid/usbhid.ld → examples/stm32/f1/other/usb_hid/usbhid.ld

0
examples/stm32f1/stm32-discovery/button/Makefile → examples/stm32/f1/stm32-discovery/button/Makefile

0
examples/stm32f1/stm32-discovery/button/README → examples/stm32/f1/stm32-discovery/button/README

0
examples/stm32f1/stm32-discovery/button/button.c → examples/stm32/f1/stm32-discovery/button/button.c

0
examples/stm32f1/stm32-discovery/button/button.ld → examples/stm32/f1/stm32-discovery/button/button.ld

0
examples/stm32f1/stm32-discovery/fancyblink/Makefile → examples/stm32/f1/stm32-discovery/fancyblink/Makefile

0
examples/stm32f1/stm32-discovery/fancyblink/README → examples/stm32/f1/stm32-discovery/fancyblink/README

0
examples/stm32f1/stm32-discovery/fancyblink/fancyblink.c → examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.c

0
examples/stm32f1/stm32-discovery/fancyblink/fancyblink.ld → examples/stm32/f1/stm32-discovery/fancyblink/fancyblink.ld

0
examples/stm32f1/stm32-discovery/miniblink/Makefile → examples/stm32/f1/stm32-discovery/miniblink/Makefile

0
examples/stm32f1/stm32-discovery/miniblink/README → examples/stm32/f1/stm32-discovery/miniblink/README

0
examples/stm32f1/stm32-discovery/miniblink/miniblink.c → examples/stm32/f1/stm32-discovery/miniblink/miniblink.c

0
examples/stm32f1/stm32-discovery/miniblink/miniblink.ld → examples/stm32/f1/stm32-discovery/miniblink/miniblink.ld

0
examples/stm32f1/stm32-discovery/rtc/Makefile → examples/stm32/f1/stm32-discovery/rtc/Makefile

0
examples/stm32f1/stm32-discovery/rtc/README → examples/stm32/f1/stm32-discovery/rtc/README

0
examples/stm32f1/stm32-discovery/rtc/rtc.c → examples/stm32/f1/stm32-discovery/rtc/rtc.c

0
examples/stm32f1/stm32-discovery/rtc/rtc.ld → examples/stm32/f1/stm32-discovery/rtc/rtc.ld

0
examples/stm32f1/stm32-discovery/usart/Makefile → examples/stm32/f1/stm32-discovery/usart/Makefile

0
examples/stm32f1/stm32-discovery/usart/README → examples/stm32/f1/stm32-discovery/usart/README

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save