199 Commits

Author SHA1 Message Date
Uwe Hermann
44bf853e6e stm32-h103 examples: Cosmetic and coding style fixes. 2011-11-03 00:57:46 +01:00
Uwe Hermann
a3ce2924df stm32f1/f2: Update to recent OpenOCD syntax.
Newer versions of OpenOCD expect

  stm32f1x mass_erase 0
or
  stm32f2x mass_erase 0

instead of

  stm32x mass_erase 0

So far, there doesn't seem to be an explicit F4 command, so leave that
untouched for now.
2011-11-02 22:30:41 +01:00
Uwe Hermann
bc320f5453 stm32/f1/lisa-m/usb_hid: Fix compiler warning.
BUILD   examples/stm32/f1/lisa-m/usb_hid
usbhid.c: In function 'main':
usbhid.c:316:10: warning: unused variable 'x'
2011-11-02 22:16:57 +01:00
Uwe Hermann
cc3565a544 Various cosmetic and whitespace fixes. 2011-11-02 22:13:01 +01:00
Stephen Caudle
dc19a4ecfb Rename STM32 discovery folders to be more specific 2011-11-02 14:56:37 -04:00
Stephen Caudle
505a05ccf4 Add STM32F4 fancyblink example 2011-11-02 14:26:35 -04:00
Stephen Caudle
d17e548c6f Add STM32F4 button example 2011-11-02 14:26:34 -04:00
Piotr Esden-Tempski
3fb95ad685 Added license header to cdcacm test python script. 2011-10-31 15:04:08 -07:00
Gareth McMullin
97fa5ff815 Lisa-M HID example uses accelerometer to move mouse. 2011-10-31 14:15:02 -07:00
Piotr Esden-Tempski
990109ef47 Fixed an application side buffer issue where resending the data failed. Now the example will retry to send the mirror data untill it succeeds.
Also decreased the buffer back to 64 as it needs to be changed in more
then one place.
2011-10-31 14:14:05 -07:00
Piotr Esden-Tempski
4c26739ea2 Improved the script to give a better error count reporting. 2011-10-31 14:13:45 -07:00
Piotr Esden-Tempski
2e5f3338c0 Decreased serial read timeout on the test script to increase throughput. 2011-10-31 14:13:21 -07:00
Piotr Esden-Tempski
baa3acf116 Increased cdcacm serial buffer to 128. 2011-10-31 14:11:50 -07:00
Piotr Esden-Tempski
30d1aa957e Added cdcacm (usb serial) example for lisa-m with a small basic stresstesting python script. 2011-10-31 14:10:47 -07:00
Gareth McMullin
e0fe43357d usb_f107: Fixed lost 4 bytes on control OUT transaction. 2011-10-31 14:09:41 -07:00
Stephen Caudle
59df80398b Add miniblink example for STM32F4 discovery board 2011-10-31 00:44:04 -04:00
Stephen Caudle
580d25a84b Move STM32 example projects in family specific folders 2011-10-31 00:16:37 -04:00
Uwe Hermann
3900d16740 stm32-h103/usb_dfu: Whitespace/coding-style fixes. 2011-10-30 02:14:41 +01:00
Uwe Hermann
44715e9eca Olimex STM32-H103: Make the usb_dfu example work.
On this board PC11 must be low to connect the USB.

Thanks Gareth McMullin <gareth@blacksphere.co.nz> for pointing this out.
2011-10-30 02:04:37 +01:00
Piotr Esden-Tempski
66c24ee131 Changed the lisa/m dfu example to use PC2 led for enumeration indication instead of switching off jtag and using trst led. 2011-10-29 15:50:25 -07:00
Uwe Hermann
577e0a8b9d lisa-m/usb_hid: Drop unused variable.
This avoids a compiler warning.
2011-10-30 00:40:26 +02:00
Piotr Esden-Tempski
88230a8d5c Switched the lisa/m usb_dfu to use stm32f107 init code. 2011-10-29 15:29:49 -07:00
Piotr Esden-Tempski
8ba610e80a Readded black magic probe support to example makefiles. 2011-10-29 15:29:12 -07:00
Uwe Hermann
788f3870c4 Merge remote-tracking branch 'fnoble/stm32f2' 2011-10-29 22:19:12 +02:00
Piotr Esden-Tempski
ca48da8dd4 Changed the lisa/m dfu example to run on stm32f105. 2011-10-29 04:18:22 -07:00
Fergus Noble
28d614757e Removing silly dummy target. 2011-10-26 13:39:04 -07:00
Stephen Caudle
8ceeb99902 Fix stm32f1 filenames and path 2011-10-12 23:58:27 -04:00
Fergus Noble
f0c153598d SPI test now working on F2! 2011-10-12 22:18:44 -04:00
Henry Hallam
ef8f8d831e SPI test (untested) 2011-10-12 22:18:44 -04:00
Fergus Noble
c4c9d6ca11 Updating the usart example in jobygps to use fixed gpio code. 2011-10-12 22:18:44 -04:00
Fergus Noble
1a555c9646 OpenOCD config file for JobyGPS. 2011-10-12 22:18:43 -04:00
Fergus Noble
fae6f83bb9 Adding jobygps usart example. 2011-10-12 22:18:43 -04:00
Fergus Noble
7133e79239 Change default prefix in Makefiles to arm-none-eabi for compatability with summon toolchain out the box. 2011-10-12 22:18:43 -04:00
Fergus Noble
cadbc0145b First F2 example working! 2011-10-12 22:17:16 -04:00
Fergus Noble
023b0a1695 Remove orphaned file in git. 2011-10-12 22:17:16 -04:00
Fergus Noble
cff706e3ca Rename F1 examples folder. 2011-10-12 22:13:02 -04:00
Fergus Noble
cbf6b8e54b Update examples Makefiles to use the make shell function rather than backticks for shell command expansion. Backticks are unreliable and don't work on all platforms. 2011-10-12 22:13:00 -04:00
Piotr Esden-Tempski
f9a28a3d5e Changed clock on lisa-m hid example to 72MHz and removed disconnect pin control as the stm32f105 has built in pullups. 2011-10-05 13:55:17 -07:00
Piotr Esden-Tempski
9e4522ad21 Corrected led io for lisa/m v1.1 cleaned up some whitespace. Trying to get it to work... 2011-10-04 23:53:16 -07:00
Piotr Esden-Tempski
03a4a18ed6 Switched all makefiles to arm-none-eabi default. 2011-10-04 13:08:35 -07:00
Piotr Esden-Tempski
5d97653163 Added black magic probe flashing support to the example code makefile. 2011-10-02 01:25:33 -07:00
Piotr Esden-Tempski
0a66d52ec8 Switched the makefile default from arm-elf to arm-none-eabi. 2011-10-02 01:13:14 -07:00
Uwe Bonnes
32c276a708 Move enabling the USB Clock into stm32f10x_usbd_init 2011-07-13 10:04:03 +02:00
Uwe Hermann
089bb73018 Merge remote-tracking branch 'gsmcmullin/master'. 2011-04-28 19:42:35 +02:00
Gareth McMullin
cd88855d13 Delete example dependencies on 'make clean' 2011-04-24 14:05:37 +12:00
Gareth McMullin
67e3452855 Added simple USB example for STM32F107. 2011-03-15 07:12:46 +13:00
Piotr Esden-Tempski
4095c167d3 Small cleanup and added random blinking option. 2011-03-14 11:09:18 -07:00
Piotr Esden-Tempski
5754b9856c Cleaned up warning in led_stripe example. 2011-03-13 21:14:05 -07:00
Gareth McMullin
7faea389e8 Added dependency generation. Abort loops on error. 2011-03-14 16:45:17 +13:00
Piotr Esden-Tempski
af33448c09 Added an example for STM32-H103 eval board to drive the ZJ168 addressable led strips, using the LPD6803 controller. 2011-03-13 20:41:28 -07:00