275 Commits

Author SHA1 Message Date
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
53f1c75c53 Fixed bug in F2 GPIO code. 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
4d02d36d6b Moving nvic code to common, adding F1 and F2 specific user interrupt definition headers. 2011-10-12 22:17:16 -04:00
Fergus Noble
010ee53298 Moved SPI to stm32 common. 2011-10-12 22:17:16 -04:00
Fergus Noble
72baa300ab Moved I2C to stm32 common. 2011-10-12 22:17:16 -04:00
Fergus Noble
ca412a9ed2 Move systick to stm32 common. 2011-10-12 22:17:16 -04:00
Fergus Noble
ce7dd46aef Update F1 libs with new header file locations. 2011-10-12 22:13:02 -04:00
Fergus Noble
a4935eef57 Add family define for the F1 Makefile and add a Makefile for the F2. 2011-10-12 22:13:02 -04:00
Fergus Noble
7524b0f4c5 Adding vector table for F2. 2011-10-12 22:13:02 -04:00
Fergus Noble
8a2cf9dd4b Copying F1 linker script over to the F2 target, hopefully it should be the same! 2011-10-12 22:13:02 -04:00
Fergus Noble
775288bc13 Renaming things in the F1 target Makefile. 2011-10-12 22:13:02 -04:00
Fergus Noble
60dcacccb7 Some updates to the F2 GPIO header plus implementation of GPIO convenience functions. 2011-10-12 22:13:01 -04:00
Fergus Noble
424b094ce8 Renaming lib code for stm32 f1 series. 2011-10-12 22:13:01 -04:00
Fergus Noble
c63001c6cd Henry is a grammar nazi. 2011-10-04 17:13:49 -07:00
Fergus Noble
4809f7dacf Added alternative function for doing an SPI transfer. 2011-10-04 16:06:01 -07:00
Piotr Esden-Tempski
03a4a18ed6 Switched all makefiles to arm-none-eabi default. 2011-10-04 13:08:35 -07:00
Fergus Noble
71909482de Fixing some more header references 2011-09-27 17:19:24 -07:00
Fergus Noble
59c1c40e2c Fixing some header references 2011-09-27 17:18:15 -07:00
Fergus Noble
d4d7370963 Some more silly bugs in GPIO fixed for F2. 2011-09-23 13:05:12 -07:00
Fergus Noble
3c67ef7d07 Minor fixes to the SPI code, mainly you should check that the TX buffer is empty before rather than after sending. 2011-09-23 13:04:54 -07:00
Fergus Noble
25ed4d5af0 Fixed bug in F2 GPIO code. 2011-09-22 14:23:25 -07:00
Fergus Noble
508e18b26b Initial move of USART code to common, still needs some work. 2011-09-22 13:52:43 -07:00
Fergus Noble
551d069ed3 Change default prefix in Makefiles to arm-none-eabi for compatability with summon toolchain out the box. 2011-09-16 23:14:07 -07:00
Fergus Noble
3a426b34aa Moving nvic code to common, adding F1 and F2 specific user interrupt definition headers. 2011-09-15 16:26:39 -07:00
Fergus Noble
97413a83f8 Moved SPI to stm32 common. 2011-09-15 15:07:07 -07:00
Fergus Noble
318deef8cb Moved I2C to stm32 common. 2011-09-15 15:06:28 -07:00
Fergus Noble
7889cb66c7 Move systick to stm32 common. 2011-09-15 14:59:55 -07:00
Fergus Noble
5b4cbe7d87 Update F1 libs with new header file locations. 2011-09-15 01:18:49 -07:00
Fergus Noble
b546f9b5a9 Add family define for the F1 Makefile and add a Makefile for the F2. 2011-09-15 01:18:26 -07:00
Fergus Noble
4366d5e600 Adding vector table for F2. 2011-09-15 00:59:30 -07:00
Fergus Noble
b5883df455 Copying F1 linker script over to the F2 target, hopefully it should be the same! 2011-09-15 00:07:14 -07:00
Fergus Noble
a43e52124a Renaming things in the F1 target Makefile. 2011-09-15 00:06:35 -07:00
Fergus Noble
6912cbe71f Some updates to the F2 GPIO header plus implementation of GPIO convenience functions. 2011-09-14 23:57:43 -07:00
Fergus Noble
bd33f2d256 Renaming lib code for stm32 f1 series. 2011-09-12 18:25:11 -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
3ac0ae839d Added extra interrupt vectors for STM32 connectivity line. 2011-04-24 14:31:56 +12:00
Gareth McMullin
7434d50fda Check index bounds on usb string descriptor request. 2011-04-24 14:28:16 +12:00
Gareth McMullin
3d820c6ed7 Fixed stm32f107 usb driver to allow calling usbd_poll from irq handler. 2011-04-04 17:39:05 +12:00
Gareth McMullin
ef0ff192f7 Added usbd_ep_nak_set() to force flow control on OUT endpoints. 2011-03-30 07:17:02 +13:00
Gareth McMullin
692266bf67 Fixes CAN identifiers on send and receive. 2011-03-23 17:36:17 +13:00
Gareth McMullin
6bbc4c2f7c Fixed non-control endpoints for connectivity line USB. 2011-03-15 20:33:02 +13:00
Gareth McMullin
bf0d1a7b41 Connectivity line USB driver now enumerating correctly. 2011-03-14 20:31:32 +13:00
Gareth McMullin
7faea389e8 Added dependency generation. Abort loops on error. 2011-03-14 16:45:17 +13:00
Piotr Esden-Tempski
1f3e431527 Usart baud rate setting function now uses the new apb1 and apb2 frequency variables. And calculates the full BRR value. 2011-03-11 19:51:48 -08:00
Piotr Esden-Tempski
3d20f37b27 RCC now has two variables to hold the current apb1 and apb2 frequency. 2011-03-11 19:49:23 -08:00
Piotr Esden-Tempski
7073637430 Added 12MHz external clock rcc setup routine. 2011-03-09 14:06:58 -08:00
Gareth McMullin
554feb7f27 USB driver for Connectivity-line devices partially working. 2011-02-20 12:28:23 +13:00