1896 Commits

Author SHA1 Message Date
Piotr Esden-Tempski
44442e44c9 Added obldc systick test program. 2010-12-18 00:08:39 +01:00
Piotr Esden-Tempski
5e76fe66b7 Added obldc board led test program. 2010-12-18 00:08:34 +01:00
Piotr Esden-Tempski
58e36dab2d First implementation of CAN peripheral register definitions. 2010-12-17 21:45:38 +01:00
Piotr Esden-Tempski
c031b6691e Moved common example make code to a central file. Added more gitignores. 2010-12-17 21:45:38 +01:00
Uwe Hermann
eebbd508fc TIM1 GPIO remapping + gpio_port_config_lock().
Thanks to Philip Court <philip@greenstage.co.nz> for the patch.
2010-12-17 06:04:28 +01:00
Uwe Hermann
9539f3bf06 Fix typo. 2010-12-17 05:50:00 +01:00
Uwe Hermann
e2d82ff44c Build fixes for ethernet.c, and hook it up. 2010-12-17 05:50:00 +01:00
Uwe Hermann
af61aaef21 Minor ld script changes.
Add wildcards to the input section names.
This fixes the script for use with the "-ffunction-sections
-fdata-sections -Wl,--gc-sections" options when compiling/linking.

Also, discard the .eh_frame section. This section is emitted by GCC 4.4,
but not 4.5. Discarding it doesn't appear to break anything. I suspect this is
used for C++ exception implementation.

I found this to be a problem when building with GCC 4.4 (arm-elf),
because the USB DFU demo exceeded the 8k I allowed for it.

Thanks to Gareth McMullin <gareth@blacksphere.co.nz> for the patch.
2010-12-17 05:50:00 +01:00
Uwe Hermann
4ef35380e8 Register definitions for the STM32F107 Ethernet.
Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-12-17 05:50:00 +01:00
Martin Mueller
586a4740d5 adapt to new usb interface 2010-12-06 00:07:14 +01:00
Martin Mueller
963588aba0 Lisa/M board tests 2010-12-05 23:59:12 +01:00
Gareth McMullin
e0cd352990 Fixed HID example to work with new control mechanism. 2010-11-06 19:05:57 +13:00
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