161 Commits

Author SHA1 Message Date
Stephen Caudle
d9a76c75c2 Add timer support for STM32F2 & STM32F4 2011-11-02 14:26:36 -04:00
Stephen Caudle
1fea1df39a Fix more STM32 whitespace issues 2011-10-31 11:11:03 -04:00
Stephen Caudle
6da485f06d Fix STM32 flash programming doc links 2011-10-31 09:25:05 -04:00
Stephen Caudle
5a89d44591 Add initial support for STM32F4 2011-10-31 00:41:19 -04:00
Stephen Caudle
05bc9d10f1 Add generic STM32F2 RCC clock function 2011-10-31 00:17:53 -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
Uwe Hermann
788f3870c4 Merge remote-tracking branch 'fnoble/stm32f2' 2011-10-29 22:19:12 +02: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
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
878c094871 Added alternative function for doing an SPI transfer. 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
d1272acaad Initial move of USART code to common, still needs some work. 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
Fergus Noble
ca412a9ed2 Move systick to stm32 common. 2011-10-12 22:17:16 -04:00
Fergus Noble
666b8f12d5 Fixing something I forgot to update after restructuring the include directories. 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
95d4532595 Initial import of F2 GPIO peripheral header file. 2011-10-12 22:13:01 -04:00
Fergus Noble
4eff339e8c Restructuring stm32 include directories. 2011-10-12 22:13:01 -04:00
Fergus Noble
18648708c8 Moving renaming stm32 header files for f1 series. 2011-10-12 22:13:01 -04:00
Fergus Noble
4809f7dacf Added alternative function for doing an SPI transfer. 2011-10-04 16:06:01 -07:00
Fergus Noble
11b856822d Moving a couple more headers to stm common. 2011-09-26 14:21:42 -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
792a806ecd RCC header file for F2 implemented, no convenience functions so far. 2011-09-16 17:34:08 -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
7889cb66c7 Move systick to stm32 common. 2011-09-15 14:59:55 -07:00
Fergus Noble
b4d71f3706 Fixing something I forgot to update after restructuring the include directories. 2011-09-15 01:17:45 -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
aa3089e8c4 Initial import of F2 GPIO peripheral header file. 2011-09-14 22:36:15 -07:00
Fergus Noble
af64b76bd6 Restructuring stm32 include directories. 2011-09-14 13:47:33 -07:00
Fergus Noble
1a1d8d63ba Moving renaming stm32 header files for f1 series. 2011-09-12 18:09:10 -07: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
Piotr Esden-Tempski
149c0c7dc0 Added missing 12mhz to 72mhz rcc setup routine prototype. 2011-03-15 11:27:28 -07: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
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
Gareth McMullin
554feb7f27 USB driver for Connectivity-line devices partially working. 2011-02-20 12:28:23 +13:00
Gareth McMullin
f0a1282d42 Added ITM and TPIU register definitions. 2011-02-17 21:38:38 +13:00
Gareth McMullin
e64a9d2bf9 Minor cleanup of usb. Template driver for STM32F107 added. 2011-02-10 19:58:51 +13:00
Uwe Hermann
0a0ce22762 Add rcc_clock_setup_in_hse_8mhz_out_24mhz().
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
2011-02-09 02:48:51 +01:00
Gareth McMullin
5aa39a5264 Added missing DBGMCU_BASE to STM32 memorymap.h 2011-02-08 19:43:10 +13:00
Gareth McMullin
d4b04cbd26 Added STM32 DBGMCU register definitions. 2011-02-08 19:07:59 +13:00
Piotr Esden-Tempski
c7587f11ec Added get flag and get counter functions to timer. Allow proper interrupt handling and recording timer counter values. 2011-02-01 22:43:18 -08:00
Piotr Esden-Tempski
d40fb96fcf Added set prescaler and set repetition counter functions to timer. 2011-01-31 22:08:37 -08:00