d4d7370963
Some more silly bugs in GPIO fixed for F2.
Fergus Noble
2011-09-23 13:05:12 -07:00
3c67ef7d07
Minor fixes to the SPI code, mainly you should check that the TX buffer is empty before rather than after sending.
Fergus Noble
2011-09-23 13:04:54 -07:00
6ec01401e1
SPI test now working on F2!
Fergus Noble
2011-09-23 13:04:11 -07:00
508e18b26b
Initial move of USART code to common, still needs some work.
Fergus Noble
2011-09-22 13:52:43 -07:00
551d069ed3
Change default prefix in Makefiles to arm-none-eabi for compatability with summon toolchain out the box.
Fergus Noble
2011-09-16 23:14:07 -07:00
792a806ecd
RCC header file for F2 implemented, no convenience functions so far.
Fergus Noble
2011-09-16 17:34:08 -07:00
3a426b34aa
Moving nvic code to common, adding F1 and F2 specific user interrupt definition headers.
Fergus Noble
2011-09-15 16:26:39 -07:00
97413a83f8
Moved SPI to stm32 common.
Fergus Noble
2011-09-15 15:07:07 -07:00
318deef8cb
Moved I2C to stm32 common.
Fergus Noble
2011-09-15 15:06:28 -07:00
af64b76bd6
Restructuring stm32 include directories.
Fergus Noble
2011-09-14 13:47:33 -07:00
87d4045c22
Moved timer stuff to common and added F2 specific header.
Fergus Noble
2011-09-13 18:39:44 -07:00
f3779fbefa
Moved I2C to common, no changes needed.
Fergus Noble
2011-09-12 23:28:52 -07:00
00e26ec7b6
Moves usart over to common and added F2 specific header.
Fergus Noble
2011-09-12 22:13:55 -07:00
57868b1f67
Unnecessary include removed.
Fergus Noble
2011-09-12 21:11:24 -07:00
0ab26a05a8
Moved spi header over to common and created F2 specific header.
Fergus Noble
2011-09-12 21:11:09 -07:00
5e5988e284
Moved pwr.h to stm_common and added F2 series specific extensions in its own header.
Fergus Noble
2011-09-12 20:49:43 -07:00
8a5ad8f564
Fixing small typo.
Fergus Noble
2011-09-12 20:48:56 -07:00
89eb1921d9
Ability to choose memorymap for stm_common headers with define.
Fergus Noble
2011-09-12 20:48:41 -07:00
bd33f2d256
Renaming lib code for stm32 f1 series.
Fergus Noble
2011-09-12 18:25:11 -07:00
da1af2cece
Moving stm header files that are common to f1 and f2 series into their own folder.
Fergus Noble
2011-09-12 18:12:11 -07:00
1a1d8d63ba
Moving renaming stm32 header files for f1 series.
Fergus Noble
2011-09-12 18:09:10 -07:00
8f5da14250
Adding memory map for the stm32f2 series.
Fergus Noble
2011-09-12 18:05:41 -07:00
bba026ce33
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.
Fergus Noble
2011-09-09 10:20:23 -07:00
32c276a708
Move enabling the USB Clock into stm32f10x_usbd_init
Uwe Bonnes
2011-07-05 18:40:34 +02:00
6a8eb81480
Add more files to ignore
Uwe Bonnes
2011-07-03 18:00:06 +02:00
089bb73018
Merge remote-tracking branch 'gsmcmullin/master'.
Uwe Hermann
2011-04-28 19:42:35 +02:00
3ac0ae839d
Added extra interrupt vectors for STM32 connectivity line.
Gareth McMullin
2011-04-24 14:31:56 +12:00
7434d50fda
Check index bounds on usb string descriptor request.
Gareth McMullin
2011-04-24 14:28:16 +12:00
cd88855d13
Delete example dependencies on 'make clean'
Gareth McMullin
2011-04-24 14:05:37 +12:00
3d820c6ed7
Fixed stm32f107 usb driver to allow calling usbd_poll from irq handler.
Gareth McMullin
2011-04-04 17:39:05 +12:00
ef0ff192f7
Added usbd_ep_nak_set() to force flow control on OUT endpoints.
Gareth McMullin
2011-03-30 07:17:02 +13:00
692266bf67
Fixes CAN identifiers on send and receive.
Gareth McMullin
2011-03-23 17:36:17 +13:00
149c0c7dc0
Added missing 12mhz to 72mhz rcc setup routine prototype.
Piotr Esden-Tempski
2011-03-15 11:27:28 -07:00
6bbc4c2f7c
Fixed non-control endpoints for connectivity line USB.
Gareth McMullin
2011-03-15 20:33:02 +13:00
67e3452855
Added simple USB example for STM32F107.
Gareth McMullin
2011-03-15 07:12:46 +13:00
4095c167d3
Small cleanup and added random blinking option.
Piotr Esden-Tempski
2011-03-14 11:09:18 -07:00
bf0d1a7b41
Connectivity line USB driver now enumerating correctly.
Gareth McMullin
2011-03-14 20:31:32 +13:00
5754b9856c
Cleaned up warning in led_stripe example.
Piotr Esden-Tempski
2011-03-13 21:14:05 -07:00
af33448c09
Added an example for STM32-H103 eval board to drive the ZJ168 addressable led strips, using the LPD6803 controller.
Piotr Esden-Tempski
2011-03-13 20:41:28 -07:00
95286a22f0
More build improvements and fixed broken examples.
Gareth McMullin
2011-03-13 14:50:53 +13:00
08990e5243
Simplified build system for adding new examples.
Gareth McMullin
2011-03-13 13:58:19 +13:00
1f3e431527
Usart baud rate setting function now uses the new apb1 and apb2 frequency variables. And calculates the full BRR value.
Piotr Esden-Tempski
2011-03-11 19:50:44 -08:00
3d20f37b27
RCC now has two variables to hold the current apb1 and apb2 frequency.
Piotr Esden-Tempski
2011-03-11 19:42:06 -08:00
675b13ed2b
Fixed a small typo in exti test.
Piotr Esden-Tempski
2011-03-11 19:41:39 -08:00
ef766da468
Merge remote-tracking branch 'gsmcmullin/master'
Uwe Hermann
2011-03-07 13:37:30 +01:00
6694f3dc0c
Added timer example that generates a variable frequency signal. In that particular case it is generating the SOS morse code on the eval board led.
Piotr Esden-Tempski
2011-02-20 18:02:19 -08:00
554feb7f27
USB driver for Connectivity-line devices partially working.
Gareth McMullin
2011-02-20 12:28:23 +13:00
662e77b4ee
Added a printf example that is using irq and a ring buffer to write to USART1 port. It is also reflecting the text you write to the device.
Piotr Esden-Tempski
2011-02-18 12:18:57 -08:00
a71c4c128a
Added usart_printf example into the buildsystem.
Piotr Esden-Tempski
2011-02-17 20:35:30 -08:00
fedad2eb9a
Added an example using newlib printf for writing to UART1.
Piotr Esden-Tempski
2011-02-17 20:12:44 -08:00
4667760392
Added usart_irq to the build system.
Piotr Esden-Tempski
2011-02-17 18:37:51 -08:00
d1baf00629
Added usart_irq test for stm32-h103 board.
Piotr Esden-Tempski
2011-02-17 18:35:51 -08:00
310561ac50
Made usart_irq example more robust. It should not duplicate bytes anymore.
Piotr Esden-Tempski
2011-02-17 18:32:07 -08:00
4ed536c988
Added example using ITM and TPIU for TRACESWO output.
Gareth McMullin
2011-02-17 21:50:00 +13:00
c7587f11ec
Added get flag and get counter functions to timer. Allow proper interrupt handling and recording timer counter values.
Piotr Esden-Tempski
2011-02-01 22:43:18 -08:00
d40fb96fcf
Added set prescaler and set repetition counter functions to timer.
Piotr Esden-Tempski
2011-01-31 22:08:37 -08:00
92edc113f9
Added timer reset function.
Piotr Esden-Tempski
2011-01-31 16:30:12 -08:00