2184 Commits

Author SHA1 Message Date
Gareth McMullin
e355906345 Fixed DFU example to work with new control mechanism. 2010-11-06 18:53:10 +13:00
Gareth McMullin
7f002110dc Improved dispatching of user control callbacks.
Only cdc_acm example is updated.
2010-11-06 12:21:46 +13:00
Gareth McMullin
5bba6d9206 Fixed logic for clearing data toggle bits. 2010-11-04 18:20:28 +13:00
Gareth McMullin
87960830f4 Fixed HALT condition handling and data toggle. 2010-11-04 16:49:03 +13:00
Martin Mueller
d6eacce827 add standard request 2010-11-04 00:44:47 +01:00
Uwe Hermann
6e090ccee1 Initial USB device stack for STM32.
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>,
thanks a lot!
2010-11-02 02:02:21 +01:00
Uwe Hermann
1621fde1f4 Add proper C runtime init, add reset handler.
The C runtime wasn't initialized correctly (there was garbage in the data
and bss sections). Add a reset_handler which initializes these sections
before calling the application's main() function.

The initial stack pointer is also defined in the linker script, allowing the
application to override with a linker command line option
"-Wl,--defsym,_stack=0x20005000".

Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-10-19 02:00:28 +02:00
Uwe Hermann
68b7e255ad Add timer handling functions.
Thanks to Edward Cheeseman <cheesemanedward@gmail.com>.
2010-10-18 00:36:39 +02:00
Uwe Hermann
0287fd9029 Add more support functions for flash handling.
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
2010-10-18 00:20:59 +02:00
Uwe Hermann
6ba179b361 Various cosmetic and coding style fixes. 2010-06-29 23:01:44 +02:00
Uwe Hermann
47b31246ca rcc: Cosmetics and coding style fixes. 2010-06-29 22:29:57 +02:00
Thomas Otto
388f940475 Initial EXTI support.
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
2010-05-12 18:12:31 +02:00
Thomas Otto
898c118e1e Fix of rtc_set_counter_val(). supplied by Jim <lordjames@y7mail.com> 2010-05-12 16:26:01 +02:00
Thomas Otto
3dfeb30b41 Deleted double definition IWDG_PR_DIV256. 2010-05-11 22:03:30 +02:00
Thomas Otto
d08ee7e333 Changed examples to new rcc definitions. 2010-05-11 14:50:55 +02:00
Thomas Otto
b2bca1f1a4 Changed rtc.c to use the changed defines. 2010-05-11 14:36:56 +02:00
Thomas Otto
141a291e8d Changed rcc.c to use the new definitions. 2010-05-11 14:26:46 +02:00
Thomas Otto
dd5553f122 Changed rcc.h defs to rcc_registername_ prefix. 2010-05-11 13:46:10 +02:00
Uwe Hermann
93fe67908a Add more RTC functions and an RTC example.
Thanks Lord James <lordjames@y7mail.com> for the patch!
2010-05-10 00:40:42 +02:00
Thomas Otto
8195b1a718 Renamed power.h -> pwr.h. 2010-05-06 00:54:21 +02:00
Thomas Otto
fbb05e1536 Changed defs POWER->PWR to be in sync with datasheet. 2010-05-03 19:23:56 +02:00
Thomas Otto
8467f0ee25 Added BKP definitions. 2010-05-03 18:51:36 +02:00
Thomas Otto
5b48dc1845 Added definitions for CRC. 2010-05-03 16:49:08 +02:00
Thomas Otto
7450d0aad1 Added definitions for POWER control. 2010-05-03 15:31:55 +02:00
Thomas Otto
e172a05f86 Added definitions for WWDG. 2010-05-03 14:17:07 +02:00
Thomas Otto
11b366b27d Corrected IWDG_BASE calculations. 2010-05-02 21:08:00 +02:00
Thomas Otto
c249c7f772 Added initial IWDG definitions. 2010-05-02 21:03:15 +02:00
Thomas Otto
ffcf53ef00 Make examples/other make use of new clock setup. 2010-05-02 20:28:51 +02:00
Thomas Otto
4f272b4ad4 Added rcc clock setup function for 16mhz crystal. 2010-05-02 20:20:04 +02:00
Thomas Otto
8dc36291d1 Fixed channel group setting with more then 6 items. 2010-05-02 15:56:48 +02:00
Thomas Otto
a104b63ea9 Added DOGM128 LCD display example (SPI). 2010-05-02 14:44:31 +02:00
Thomas Otto
4ae25c865b Corrected comment only. 2010-04-13 22:42:26 +02:00
Thomas Otto
d3890f9b32 Added systick example to Makefile. 2010-04-13 22:38:24 +02:00
Thomas Otto
7c32f63332 Added little systick example. 2010-04-13 22:33:52 +02:00
Thomas Otto
905b5112b6 Some improvements to systick.h+c. 2010-04-13 22:26:07 +02:00
Thomas Otto
37e71e3e5c Added spi_send() to the spi.h. 2010-04-12 21:22:02 +02:00
Thomas Otto
0fed8c6cc5 Added spi_send() equivalent to usart_send(). 2010-04-12 21:12:52 +02:00
Thomas Otto
e68f248d11 Fixed typo. 2010-04-02 22:23:11 +02:00
Thomas Otto
56dd9bc887 Completed spi.h. 2010-04-02 21:42:48 +02:00
Thomas Otto
47c51fc9cc Some additions to spi.c+h. 2010-03-30 22:29:02 +02:00
Thomas Otto
e50b836ada Added timer_interrupt example. 2010-03-28 16:11:45 +02:00
Thomas Otto
9dc0af94b0 Added dma_mem2mem example. 2010-03-28 15:52:49 +02:00
Thomas Otto
97e27b2430 Make 72MHz the default in usart.c 2010-03-28 15:51:10 +02:00
Thomas Otto
9d2e074b3d Cosmetic fixes. 2010-03-28 15:19:32 +02:00
Thomas Otto
9132e6b9f5 Corrected definitions in dma.h. 2010-03-26 23:13:52 +01:00
Thomas Otto
561ce37809 Changed address setting in dma.c+h. 2010-03-26 17:36:15 +01:00
Thomas Otto
0f710dd8fa Fixed settings of groups in adc.c. 2010-03-26 17:35:15 +01:00
Thomas Otto
2bada0dacd Merge branch 'master' of tommi@viadmin.org:/opt/git/libopenstm32 2010-03-26 10:17:00 +01:00
Thomas Otto
bd725f59ae Small corrections/additions to adc.h. 2010-03-26 10:14:17 +01:00
Thomas Otto
3518301870 Integrated systick into build system. 2010-03-25 13:13:01 +01:00