aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-01-27Added output compare channel convenience functions and adapted the pwm_6step ↵Piotr Esden-Tempski
example accordingly.
2011-01-27Started a pwm 6step output example. Enabled timer convenience functions and ↵Piotr Esden-Tempski
some minor fixes that showed themselves while writing the bare bone example.
2011-01-07EXTI bugfix in exti_select_source().Uwe Hermann
AFIO_EXTICR[1 to 4] registers were not beeing set correctly. You have to force a 0 on the bits that are 0 for the mutex to work. Thanks Linus Casassa <linus@lin.cl> for the patch!
2010-12-31Some more file/path restructuring.Uwe Hermann
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format. If you want to get rid of the "libopencm3" prefix in your local project you can add a respective -I entry in your Makefile (not recommended though). All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib directly (as before), but are now renamed to avoid potential conflicts now or in the future. Examples: libopencm3_lpc13xx.a libopencm3_lpc13xx.ld libopencm3_stm32.a libopencm3_stm32.ld
2010-12-30More libopenstm32 renames.Uwe Hermann
2010-12-30More renames for libopenstm32 -> libopencm3.Uwe Hermann
2010-12-30Finish libopenstm32.ld to stm32.ld rename.Uwe Hermann
2010-12-30s/libopenstm32/libopencm3/ is some Makefiles.Uwe Hermann
2010-12-30More path and name changes.Uwe Hermann
2010-12-30Add missing files.Uwe Hermann
2010-12-30Rename include/libopenstm32 to include/stm32.Uwe Hermann
2010-12-30Move STM32-specific source to lib/stm32 subdir.Uwe Hermann
2010-12-30Factor out cm3/common.h and cm3/memorymap.h.Uwe Hermann
2010-12-29USB: Cosmetics and coding-style fixes.Uwe Hermann
2010-12-29Replace uint8_t with u8 et al, fix whitespace.Uwe Hermann
2010-12-29Move generic USB stuff to a subdir, dedupe .h files.Uwe Hermann
Adapt examples and the lib code accordingly.
2010-12-29More whitespace fixes.Uwe Hermann
2010-12-29Make the build/clean targets a bit less verbose.Uwe Hermann
2010-12-29Merge branch 'martinmm'.Uwe Hermann
2010-12-29Improved usart api implementation to be more readable.Piotr Esden-Tempski
2010-12-27Added gc-sections. Now unused functions are being garbage collected.Piotr Esden-Tempski
2010-12-27Splitted out the usart recv and send functions to have blocking and non ↵Piotr Esden-Tempski
blocking versions of those.
2010-12-26CAN: Reduce nesting level via code transformations.Uwe Hermann
2010-12-26CAN: Cosmetics and coding-style fixes.Uwe Hermann
2010-12-25Factored out CAN helper functions out of the example. Test code now also ↵Piotr Esden-Tempski
uses the received data.
2010-12-23Fixed behavior of rcc_peripheral_clear_reset...Piotr Esden-Tempski
2010-12-17TIM1 GPIO remapping + gpio_port_config_lock().Uwe Hermann
Thanks to Philip Court <philip@greenstage.co.nz> for the patch.
2010-12-17Fix typo.Uwe Hermann
2010-12-17Build fixes for ethernet.c, and hook it up.Uwe Hermann
2010-12-17Minor ld script changes.Uwe Hermann
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-17Register definitions for the STM32F107 Ethernet.Uwe Hermann
Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-11-06Improved dispatching of user control callbacks.Gareth McMullin
Only cdc_acm example is updated.
2010-11-04Fixed HALT condition handling and data toggle.Gareth McMullin
2010-11-04add standard requestMartin Mueller
2010-11-02Initial USB device stack for STM32.Uwe Hermann
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>, thanks a lot!
2010-10-19Add proper C runtime init, add reset handler.Uwe Hermann
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-18Add timer handling functions.Uwe Hermann
Thanks to Edward Cheeseman <cheesemanedward@gmail.com>.
2010-10-18Add more support functions for flash handling.Uwe Hermann
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
2010-06-29Various cosmetic and coding style fixes.Uwe Hermann
2010-06-29rcc: Cosmetics and coding style fixes.Uwe Hermann
2010-05-12Initial EXTI support.Thomas Otto
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
2010-05-12Fix of rtc_set_counter_val(). supplied by Jim <lordjames@y7mail.com>Thomas Otto
2010-05-11Changed rtc.c to use the changed defines.Thomas Otto
2010-05-11Changed rcc.c to use the new definitions.Thomas Otto
2010-05-10Add more RTC functions and an RTC example.Uwe Hermann
Thanks Lord James <lordjames@y7mail.com> for the patch!
2010-05-02Added rcc clock setup function for 16mhz crystal.Thomas Otto
2010-05-02Fixed channel group setting with more then 6 items.Thomas Otto
2010-04-13Some improvements to systick.h+c.Thomas Otto
2010-04-12Added spi_send() equivalent to usart_send().Thomas Otto
2010-03-30Some additions to spi.c+h.Thomas Otto