Gareth McMullin
08990e5243
Simplified build system for adding new examples.
2011-03-13 13:58:19 +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
675b13ed2b
Fixed a small typo in exti test.
2011-03-11 19:41:39 -08:00
Piotr Esden-Tempski
7073637430
Added 12MHz external clock rcc setup routine.
2011-03-09 14:06:58 -08:00
Uwe Hermann
ef766da468
Merge remote-tracking branch 'gsmcmullin/master'
2011-03-07 13:37:30 +01:00
Piotr Esden-Tempski
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.
2011-02-20 18:02:19 -08:00
Gareth McMullin
554feb7f27
USB driver for Connectivity-line devices partially working.
2011-02-20 12:28:23 +13:00
Piotr Esden-Tempski
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.
2011-02-18 12:18:57 -08:00
Piotr Esden-Tempski
a71c4c128a
Added usart_printf example into the buildsystem.
2011-02-17 20:35:30 -08:00
Piotr Esden-Tempski
fedad2eb9a
Added an example using newlib printf for writing to UART1.
2011-02-17 20:12:44 -08:00
Piotr Esden-Tempski
4667760392
Added usart_irq to the build system.
2011-02-17 18:37:51 -08:00
Piotr Esden-Tempski
d1baf00629
Added usart_irq test for stm32-h103 board.
2011-02-17 18:35:51 -08:00
Piotr Esden-Tempski
310561ac50
Made usart_irq example more robust. It should not duplicate bytes anymore.
2011-02-17 18:32:07 -08:00
Gareth McMullin
4ed536c988
Added example using ITM and TPIU for TRACESWO output.
2011-02-17 21:50:00 +13:00
Gareth McMullin
f0a1282d42
Added ITM and TPIU register definitions.
2011-02-17 21:38:38 +13:00
Piotr Esden-Tempski
7d3608f746
Added fanciblink for Lisa/M.
2011-02-14 19:59:24 -08:00
Gareth McMullin
e64a9d2bf9
Minor cleanup of usb. Template driver for STM32F107 added.
2011-02-10 19:58:51 +13:00
Uwe Hermann
dfa9145a34
STM32VLDISCOVERY: Fix ld file comments (STM32F100RB).
2011-02-09 02:48:51 +01:00
Uwe Hermann
1cb45d8888
STM32VLDISCOVERY: Fix some incorrect GPIO comments.
2011-02-09 02:48:51 +01:00
Uwe Hermann
5bfffcbb29
Use ST STM32VLDISCOVERY board name consistently.
2011-02-09 02:48:51 +01:00
Uwe Hermann
62f3897a2e
Add some examples for the STM32-Discovery board.
...
This adds a directory of examples, tested on the STM32-Discovery, just
modifications of: button, miniblink, fancyblink, usart, and rtc.
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
2011-02-09 02:48:51 +01: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
Uwe Hermann
e0a488f586
gpio_toggle(): Add support for multiple GPIOs.
...
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
2011-02-09 02:48:50 +01:00
Gareth McMullin
d67795f383
Added missing lm3s header files.
2011-02-09 14:31:17 +13:00
Gareth McMullin
4b5f9b4a35
Added missing lm3s gpio.h.
2011-02-09 14:28:06 +13:00
Uwe Hermann
559bc52fa4
Add some missing LIBOPENCM3_ prefixes.
2011-02-09 01:36:06 +01:00
Uwe Hermann
401a0a8e8b
FPB: More consistency fixes.
...
Fix incorrect FPB_CTRL_NUM_CODE2_MASK value, too.
2011-02-09 01:34:50 +01:00
Uwe Hermann
87c94e9a37
FPB: Fix typo.
2011-02-09 01:18:55 +01:00
Uwe Hermann
47e2736013
FPB: Minor additions, consistency fixes.
2011-02-09 01:18:15 +01:00
Uwe Hermann
447c333cec
Minor cosmetics, whitespace.
2011-02-09 01:06:43 +01:00
Gareth McMullin
5aa39a5264
Added missing DBGMCU_BASE to STM32 memorymap.h
2011-02-08 19:43:10 +13:00
Gareth McMullin
0d7d0fe829
Added Flash Patch and Breakpoint (FPB) register definitions.
2011-02-08 19:40:16 +13:00
Gareth McMullin
4954b4c006
Added ARMv7-M Core Debug (SCS) register definitions.
2011-02-08 19:26:38 +13:00
Gareth McMullin
d4b04cbd26
Added STM32 DBGMCU register definitions.
2011-02-08 19:07:59 +13:00
Gareth McMullin
769a932f3e
Added initial support for the LuminaryMicro LM3S family.
2011-02-04 22:47:51 +13:00
Uwe Hermann
729a48c655
Cosmetics, whitespace, reduced indentation level.
2011-02-03 02:17:15 +01: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
Piotr Esden-Tempski
92edc113f9
Added timer reset function.
2011-01-31 16:30:12 -08:00
Piotr Esden-Tempski
e85c55a9a7
Added timer flag reset function.
2011-01-31 16:15:09 -08:00
Piotr Esden-Tempski
dd0018ffdf
Added interrupt and event generation handling functions to timer. Updated pwm 6step example to use those and commutate on button press using PWM ON scheme.
2011-01-31 13:28:54 -08:00
Uwe Hermann
a0091f18c7
Cosmetics, consistency fixes, fix compiler warnings.
2011-01-30 22:43:33 +01:00
Damjan Marion
edf230386c
Updated STM32 memory map, fixed USB_OTG_FS_BASE
2011-01-30 22:18:25 +01:00
Damjan Marion
7801cdf5a2
Fancyblink example for Olimex STM32-H107 board.
2011-01-30 22:18:25 +01:00
Gareth McMullin
aac65d8560
Abstracted USB driver interface to to allow driver selection.
2011-01-30 17:04:56 +13:00
Gareth McMullin
c11cdaf2a7
Added OTG_FS register definitions for connectivity line STM32.
2011-01-30 15:46:08 +13:00
Gareth McMullin
193a1ed3b8
Reset CTR flag for endpoint from usbd_poll if no callback.
2011-01-30 15:42:12 +13:00
Gareth McMullin
f87170e06e
Clear user control request handlers on set_configuration request.
2011-01-30 15:41:23 +13:00
Piotr Esden-Tempski
59293a9640
Added break and dead time convenience functions. Adapted 6step example to reflect that.
2011-01-28 16:04:36 -08:00