Piotr Esden-Tempski
5e76fe66b7
Added obldc board led test program.
14 years ago
Piotr Esden-Tempski
58e36dab2d
First implementation of CAN peripheral register definitions.
14 years ago
Piotr Esden-Tempski
c031b6691e
Moved common example make code to a central file. Added more gitignores.
14 years ago
Uwe Hermann
eebbd508fc
TIM1 GPIO remapping + gpio_port_config_lock().
Thanks to Philip Court <philip@greenstage.co.nz> for the patch.
14 years ago
Uwe Hermann
9539f3bf06
Fix typo.
14 years ago
Uwe Hermann
e2d82ff44c
Build fixes for ethernet.c, and hook it up.
14 years ago
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.
14 years ago
Uwe Hermann
4ef35380e8
Register definitions for the STM32F107 Ethernet.
Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
14 years ago
Martin Mueller
586a4740d5
adapt to new usb interface
14 years ago
Martin Mueller
963588aba0
Lisa/M board tests
14 years ago
Gareth McMullin
e0cd352990
Fixed HID example to work with new control mechanism.
14 years ago
Gareth McMullin
e355906345
Fixed DFU example to work with new control mechanism.
14 years ago
Gareth McMullin
7f002110dc
Improved dispatching of user control callbacks.
Only cdc_acm example is updated.
14 years ago
Gareth McMullin
5bba6d9206
Fixed logic for clearing data toggle bits.
14 years ago
Gareth McMullin
87960830f4
Fixed HALT condition handling and data toggle.
14 years ago
Martin Mueller
d6eacce827
add standard request
14 years ago
Uwe Hermann
6e090ccee1
Initial USB device stack for STM32.
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>,
thanks a lot!
14 years ago
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>.
14 years ago
Uwe Hermann
68b7e255ad
Add timer handling functions.
Thanks to Edward Cheeseman <cheesemanedward@gmail.com>.
14 years ago
Uwe Hermann
0287fd9029
Add more support functions for flash handling.
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
14 years ago
Uwe Hermann
6ba179b361
Various cosmetic and coding style fixes.
15 years ago
Uwe Hermann
47b31246ca
rcc: Cosmetics and coding style fixes.
15 years ago
Thomas Otto
388f940475
Initial EXTI support.
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
15 years ago
Thomas Otto
898c118e1e
Fix of rtc_set_counter_val(). supplied by Jim <lordjames@y7mail.com>
15 years ago
Thomas Otto
3dfeb30b41
Deleted double definition IWDG_PR_DIV256.
15 years ago
Thomas Otto
d08ee7e333
Changed examples to new rcc definitions.
15 years ago
Thomas Otto
b2bca1f1a4
Changed rtc.c to use the changed defines.
15 years ago
Thomas Otto
141a291e8d
Changed rcc.c to use the new definitions.
15 years ago
Thomas Otto
dd5553f122
Changed rcc.h defs to rcc_registername_ prefix.
15 years ago
Uwe Hermann
93fe67908a
Add more RTC functions and an RTC example.
Thanks Lord James <lordjames@y7mail.com> for the patch!
15 years ago
Thomas Otto
8195b1a718
Renamed power.h -> pwr.h.
15 years ago
Thomas Otto
fbb05e1536
Changed defs POWER->PWR to be in sync with datasheet.
15 years ago
Thomas Otto
8467f0ee25
Added BKP definitions.
15 years ago
Thomas Otto
5b48dc1845
Added definitions for CRC.
15 years ago
Thomas Otto
7450d0aad1
Added definitions for POWER control.
15 years ago
Thomas Otto
e172a05f86
Added definitions for WWDG.
15 years ago
Thomas Otto
11b366b27d
Corrected IWDG_BASE calculations.
15 years ago
Thomas Otto
c249c7f772
Added initial IWDG definitions.
15 years ago
Thomas Otto
ffcf53ef00
Make examples/other make use of new clock setup.
15 years ago
Thomas Otto
4f272b4ad4
Added rcc clock setup function for 16mhz crystal.
15 years ago
Thomas Otto
8dc36291d1
Fixed channel group setting with more then 6 items.
15 years ago
Thomas Otto
a104b63ea9
Added DOGM128 LCD display example (SPI).
15 years ago
Thomas Otto
4ae25c865b
Corrected comment only.
15 years ago
Thomas Otto
d3890f9b32
Added systick example to Makefile.
15 years ago
Thomas Otto
7c32f63332
Added little systick example.
15 years ago
Thomas Otto
905b5112b6
Some improvements to systick.h+c.
15 years ago
Thomas Otto
37e71e3e5c
Added spi_send() to the spi.h.
15 years ago
Thomas Otto
0fed8c6cc5
Added spi_send() equivalent to usart_send().
15 years ago
Thomas Otto
e68f248d11
Fixed typo.
15 years ago
Thomas Otto
56dd9bc887
Completed spi.h.
15 years ago