516 Commits

Author SHA1 Message Date
Stephen Caudle
05bc9d10f1 Add generic STM32F2 RCC clock function 2011-10-31 00:17:53 -04:00
Stephen Caudle
580d25a84b Move STM32 example projects in family specific folders 2011-10-31 00:16:37 -04:00
Stephen Caudle
68d2e0d1e3 Fix stm32f2 RCC PLL values for 120MHz 2011-10-30 18:17:33 -04:00
Stephen Caudle
822d75adb7 Clean up whitespace in stm32f2 GPIO 2011-10-30 17:49:50 -04:00
Stephen Caudle
e2ed7824cf Clean up whitespace in stm32f2 RCC
Also make RCC IO defines consistent with stm32f1.
2011-10-30 17:49:41 -04:00
Stephen Caudle
eb47f0cfc0 Add SCB from stm32f1 2011-10-30 17:42:49 -04:00
Stephen Caudle
1dc4645732 Update makefiles to reflect stm32 lib folder name changes 2011-10-30 17:42:49 -04:00
Stephen Caudle
b3a710b0bc Rename stm32 lib folders to be consistent with include 2011-10-30 17:42:49 -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
ffba9f84e0 README: target/stm32.cfg is deprecated in OpenOCD. 2011-10-29 23:39:24 +02:00
Uwe Hermann
fb087555d9 README: Update path to the new stm32f1. 2011-10-29 22:30:28 +02:00
Uwe Hermann
788f3870c4 Merge remote-tracking branch 'fnoble/stm32f2' 2011-10-29 22:19:12 +02:00
Uwe Hermann
17d80aa5a4 Fix whitespace. 2011-10-29 22:14:33 +02:00
Piotr Esden-Tempski
ca48da8dd4 Changed the lisa/m dfu example to run on stm32f105. 2011-10-29 04:18:22 -07:00
Gareth McMullin
284be93037 Restored OTG clock enable in RCC in f107 usb init. 2011-10-29 23:57:10 +13:00
Gareth McMullin
b05a5dcf2a Fixed some F105/F107 USB issues. Added user callback on SOF.
Made examples depend on lib.
2011-10-29 21:30:26 +13:00
Stephen Caudle
fd2524beb0 Merge remote-tracking branch 'fnoble/stm32f2' into stm32fx
Conflicts:
	lib/stm32f2/Makefile
2011-10-27 23:39:16 -04:00
Stephen Caudle
36cff03af1 Add RCC and FLASH support for STM32F2 2011-10-27 23:34:52 -04:00
Fergus Noble
28d614757e Removing silly dummy target. 2011-10-26 13:39:04 -07:00
Fergus Noble
0f6a0276aa Merge branch 'stm32f2' of github.com:fnoble/libopenstm32 into stm32f2 2011-10-26 13:33:40 -07:00
Fergus Noble
869a0df701 Adding new EXTI stuff to F2 makefile. 2011-10-26 13:30:44 -07:00
Fergus Noble
7877aaeebc Better way to toggle a pin. 2011-10-26 13:30:27 -07:00
Fergus Noble
8974be7435 Added convenience function code for EXTI on F2. 2011-10-26 13:29:52 -07:00
Fergus Noble
20c33d1ae3 Add header for F2 syscfg peripheral. 2011-10-26 13:29:14 -07:00
Fergus Noble
6dd3190bb9 Fix NVIC defines for F2. 2011-10-26 13:28:52 -07:00
Fergus Noble
ae44add1b6 Merge branch 'stm32fx' of https://github.com/doceme/libopenstm32 into stm32f2
Conflicts:
	Makefile
	examples/stm32/lisa-m/fancyblink/fancyblink.ld
	examples/stm32/lisa-m/usb_hid/usbhid.ld
	examples/stm32/mb525/fancyblink/fancyblink.ld
	examples/stm32/obldc/usart_irq/usart_irq.ld
	examples/stm32/other/usb_dfu/usbdfu.c
	examples/stm32/stm32-h103/fancyblink/fancyblink.ld
	examples/stm32/stm32-h103/usart_irq/usart_irq.ld
	examples/stm32/stm32-h103/usb_dfu/usbdfu.c
	examples/stm32/stm32-h103/usb_hid/usbhid.ld
	examples/stm32f1/Makefile.include
	examples/stm32f1/lisa-m/fancyblink/fancyblink.ld
	examples/stm32f1/lisa-m/usb_hid/usbhid.ld
	examples/stm32f1/mb525/fancyblink/fancyblink.ld
	examples/stm32f1/obldc/usart_irq/usart_irq.ld
	examples/stm32f1/other/usb_dfu/usbdfu.c
	examples/stm32f1/stm32-h103/fancyblink/fancyblink.ld
	examples/stm32f1/stm32-h103/usart_irq/usart_irq.ld
	examples/stm32f1/stm32-h103/usb_dfu/usbdfu.c
	examples/stm32f1/stm32-h103/usb_hid/usbhid.ld
	examples/stm32f2/jobygps/usart_printf/usart_printf.ld
	lib/lm3s/Makefile
	lib/lpc13xx/Makefile
	lib/stm32f1/Makefile
2011-10-13 00:11:32 -07:00
Fergus Noble
82768447c8 Merge branch 'stm32f2' of github.com:fnoble/libopenstm32 into stm32f2 2011-10-12 23:59:16 -07:00
Fergus Noble
2095715eb1 I think we want to wait before we send the UART byte rather than after... 2011-10-12 23:58:37 -07:00
Stephen Caudle
8ceeb99902 Fix stm32f1 filenames and path 2011-10-12 23:58:27 -04:00
Fergus Noble
878c094871 Added alternative function for doing an SPI transfer. 2011-10-12 22:20:22 -04:00
Fergus Noble
14dcda91b0 Fixing some more header references 2011-10-12 22:20:22 -04:00
Fergus Noble
7518bc83c1 Fixing some header references 2011-10-12 22:20:22 -04:00
Fergus Noble
84b9f85941 Moving a couple more headers to stm common. 2011-10-12 22:20:22 -04:00
Fergus Noble
e772992f4c Some more silly bugs in GPIO fixed for F2. 2011-10-12 22:18:44 -04:00
Fergus Noble
e7f909c502 Minor fixes to the SPI code, mainly you should check that the TX buffer is empty before rather than after sending. 2011-10-12 22:18:44 -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
53f1c75c53 Fixed bug in F2 GPIO code. 2011-10-12 22:18:43 -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
d1272acaad Initial move of USART code to common, still needs some work. 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
0565cb8378 RCC header file for F2 implemented, no convenience functions so far. 2011-10-12 22:17:17 -04:00
Fergus Noble
4d02d36d6b Moving nvic code to common, adding F1 and F2 specific user interrupt definition headers. 2011-10-12 22:17:16 -04:00