aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-25Mark reg32 variables as used. So that the compiler does not complain.Piotr Esden-Tempski
2012-04-25Fixed the linker scripts to be the way Tomaz Solc proposed.Piotr Esden-Tempski
Something went wrong when cherrypicking his commits in the pull request. Sorry about that. :(
2012-04-24Removed the load address statement from the .bss section.Piotr Esden-Tempski
Otherwise the linker will complain: "section has both a load address and a load region"
2012-04-24Support for exception handling in linker scripts.Tomaz Solc
This is needed even in plain C when 64 bit variable (e.g. long long int) arithmetic is used. For example it is required when newlib is compiled with --enable-newlib-io-long-long. Conflicts: lib/stm32/f1/libopencm3_stm32f1.ld lib/stm32/f2/libopencm3_stm32f2.ld
2012-04-24Added rcc.h include, needed for osc_t.Tomaz Solc
2012-04-24Wait for writes to finish upon exiting RTC configTomaz Solc
This fixes race condition when rtc_get_counter_val() call immediately follows rtc_set_counter_val().
2012-04-20Correct DMA_CCR_MSIZE and PSIZE bit masks. Thanks Tomas Solic.Piotr Esden-Tempski
2012-04-20Initial implementation of DAC registers for stm32 by Felix HeldPiotr Esden-Tempski
2012-04-20Merge remote-tracking branch 'gsmcmullin/timer_input'Piotr Esden-Tempski
2012-04-08Added functions for configuring timers in slave mode.Gareth McMullin
2012-04-08Added functions for timer input capture polarity and enable/disable.Gareth McMullin
2012-04-08Added convenience function for timer input selection.Gareth McMullin
2012-04-08Added convenience funcions for timer input capture filter and prescaler.Gareth McMullin
2012-04-07Corrected parameters of timer_set_mode() to u32.Gareth McMullin
2012-04-07Corrected bit definitions for capture/compare input selection.Gareth McMullin
Thanks to Linux Casassa.
2012-03-27Implemented gpio_clear() for LPC17xx.Taylor Vesely
2012-03-27Produced build system for Blueboard-LPC1768-H miniblink.Taylor Vesely
2012-03-26Added a bunch of register definitions and gpio_set() to LPC17xx gpio.Taylor Vesely
2012-03-22Successfully compiled and ran miniblink.c for the Blueboard-LPC1768-H.Taylor Vesely
2012-03-22Created vector.c by example. Added reset_handler entry to linker script.Taylor Vesely
2012-03-22Wrote miniblink.c for Blueboard-LPC1768-H, cleaned up gpio.h.Taylor Vesely
2012-03-22Copy-pasted linker script from LPC13xx to LPC17XX. Set up the ram andTaylor Vesely
rom regions for the Blueboard-LPC1768-H.
2012-03-22Started to set up GPIO registers.Taylor Vesely
2012-03-22Filled in the APB0 memory map for the lpc17xx. Also set values for theTaylor Vesely
GPIO on AHB.
2012-03-22Started porting to LPC17xx. Created file stubs and started conversion.Taylor Vesely
2012-03-22- Add FSMC helper macros. IMO FSMC_BTR_ACCMOD aren't much use, but I left ↵Daniel O'Connor
them in case someone uses them. - FSMC_BASE is already in memorymap.h so don't define it here.
2012-03-22Cast PERIPH_BASE to unsigned otherwise certain operations result in build ↵Daniel O'Connor
problems (overflow signed type).
2012-03-22Add mask for SWJ bits.Daniel O'Connor
(These are write only)
2012-03-21Revert "Fix setting alternate port functions on the STM32F2."Fergus Noble
This was also fixed in ac29b654a992a4855626fc0b92874d3847914f85 in a different way. I think the mask definition should be left with 1s indicating the bits of interest. See also 87ea496ca768d18e51d8654cbad9cb261a881b1b. This reverts commit 2433f17e7341d6afcda24d395d0b93c50a37b7b1.
2012-03-21Revert "Fix setting alternate port functions on the STM32F4."Fergus Noble
This was also fixed in ac29b654a992a4855626fc0b92874d3847914f85 in a different way. I think the mask definition should be left with 1s indicating the bits of interest. This reverts commit e11185d47d0a2fea6d2782761edd5fd489541512.
2012-03-19Constand value for resetting CAN_TDTxR was too big. Fixed.Piotr Esden-Tempski
2012-03-19Changed parameter size for trigger enable.Piotr Esden-Tempski
2012-03-19Started some cleanup in the ADC headers and convenience code.Piotr Esden-Tempski
2012-03-18Added basic exception handling to the stm32 linker scripts. Thanks Mike Smith!Piotr Esden-Tempski
2012-03-17Fixed position of PSIZE bits, thanks to Patrick for spotting this.Piotr Esden-Tempski
2012-03-14Made spi_init_master ignore CRC and SPE bits.Piotr Esden-Tempski
2012-03-14Added dma based usart IO example.Piotr Esden-Tempski
2012-03-13Fixed operation order for dma bit calculations.Piotr Esden-Tempski
2012-03-12Added irq usart example for lisa/m 2.0Piotr Esden-Tempski
2012-03-11Added blocking usart printf for lisa/m 2.0Piotr Esden-Tempski
2012-03-11Added usart irq example for lisa/m 2.0Piotr Esden-Tempski
2012-03-11Added usart example to lisa/m 2.0Piotr Esden-Tempski
2012-03-03Fix search-replace left-over.Uwe Hermann
2012-03-02Some additional LGPL3+ license change cleanups.Piotr Esden-Tempski
Changed the license to LGPL3+ for some makefiles that got ommited in the previous big patch commit. Corrected a find and replace error in a linker file.
2012-03-02License change of the library to LGPL, version 3 or later.Piotr Esden-Tempski
Agreed to by all the significant contributors to the library.
2012-02-29Corrected interrupt flag register defines.Piotr Esden-Tempski
2012-02-29Added dma_channel_reset prototype.Piotr Esden-Tempski
2012-02-29Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of ↵Piotr Esden-Tempski
testing!
2012-02-29Fixed spi convenience reset function to compile properly.Piotr Esden-Tempski
2012-02-28Added spi reset convenience function.Piotr Esden-Tempski