aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2010-03-28Make 72MHz the default in usart.cThomas Otto
2010-03-28Cosmetic fixes.Thomas Otto
2010-03-26Changed address setting in dma.c+h.Thomas Otto
2010-03-26Fixed settings of groups in adc.c.Thomas Otto
2010-03-25Integrated systick into build system.Thomas Otto
2010-03-25Added systick.h definitions.Thomas Otto
2010-03-24Added some address setting functions to dma.Thomas Otto
2010-03-23Small correction in isr table.Thomas Otto
2010-03-22added some SCB defs. Added some NVIC functions.Thomas Otto
2010-03-22added dma.h and basic functionsThomas Otto
2010-03-22added basic adc funktionsThomas Otto
2010-03-06Cosmetic fixes.Uwe Hermann
2010-03-06Fix bug: PLLMUL_PLL_CLK_MUL9 is correct.Uwe Hermann
2010-03-06Cosmetic and coding style changes.Uwe Hermann
2010-03-05Add some more ADC support.Uwe Hermann
Also: - Fix a few typos (e.g. s/ADC1_BSAE/ADC1_BASE/). - adc.h: Use common SUBSYSTEMNAME_REGISTERNAME_FOO #define format.
2010-03-05gpio: Fix some issues with gpio_set_mode().Uwe Hermann
This patch, a slightly modified version of a patch from Thomas Otto, should fix the following two issues: - It generally sets the submited config to the mentioned GPIO pins but kills configs for other pins on the same GPIO port. So if we want to set PB6 and PB7 to push-pull and I2C2 SDA and SCL (PB10 and PB11) to open drain it's simply impossible, because the second config try kills the first. - The floating-bit thing isn't working correctly. If we enable a config for PB6 for instance, the same config will also apply to all following pins of that port (i.e. PB7-PB15). That's because the shifting isn't only done if a pin isn't to configure, if you are hitting a matching bit the shiftig is missing. I think shifting isn't nessessary for a separate variable. We have the counting index from the for statement. Both issues should now be fixed.
2010-03-04Use direct #includes instead of libopenstm32.h.Uwe Hermann