aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-31lm4f: Compile in the interrupt vector tableAlexandru Gagniuc
Add an "#ifdef(LM4F)" clause to include/libopencm3/dispatch/nvic.h and lib/dispatch/vector_nvic.c. This compiles in the vector table and allows interrupts to be used. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Compile with FPU supportAlexandru Gagniuc
Specify the -mfloat-abi=hard and -mfpu=fpv4-sp-d16 flags so that FPU is enabled by default. While this compiles with FPU support, in order to use the floating point types, the FPU must be explicitly enabled at runtime. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Fix problems with example Makefile.includeAlexandru Gagniuc
Fix three distinct issues were present with examples/lm4f/Makefile.include: 1. Architecture flags were not being passed to the linker. This caused the linker to link against the wrong libraries when trying to use any C library, causing hard faults. 2. -lc and -lnosys were not linked against. Try using printf() without -lnosys 3. The makefile erroneously specified -mcpu=cortex-m3 instead of m4. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Remove erroneous references to lm3sAlexandru Gagniuc
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Add exammple for Stellaris Launchpad boardAlexandru Gagniuc
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Add lm4f support files copied from lm3sAlexandru Gagniuc
Create lm4f code infrastructure from the lm3s infrastructure. As far as the interrupt table is concerned, don't create an irq.yaml. Just include the LM3S nvic.h. The LM3S vector table seems to be compatible with the LM4F Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-11-13Change to make L1 series fit with common filesKen Sarkies
2012-11-13Adjustments to fix documentationKen Sarkies
2012-11-13rebase and fixKen Sarkies
2012-11-13Proposed deduplication of peripherals, GPIO exampleKen Sarkies
See rambling post on dev list for justification
2012-11-12[doc] Added preliminary STM32 CAN documentation.Piotr Esden-Tempski
2012-11-12[doc] Cosmetic.Piotr Esden-Tempski
2012-11-12Merge pull request #62 "Documentation updates for new devices"Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc'
2012-11-12[examples] Added usart example for obldc strip.Piotr Esden-Tempski
2012-11-12Documentation updatesKen Sarkies
2012-11-11[examples] Added CAN example for obldc strip.Piotr Esden-Tempski
2012-11-11[examples] Added systick example for obldc strip.Piotr Esden-Tempski
2012-11-11[examples] Added obldc strip led example.Piotr Esden-Tempski
2012-11-08Made all Lisa/M 2.0 examples luftboot ready.Piotr Esden-Tempski
2012-11-08Updated and backported improvements form the Lisa/M 2.0 CAN example.Piotr Esden-Tempski
2012-11-08Added updated and improved CAN example for Lisa/M 2.0.Piotr Esden-Tempski
2012-11-08Fixed cut and paste typo for CAN banks.Piotr Esden-Tempski
2012-11-08Merging pull request #60 Miscellaneous DMA fixes for F4Piotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2012-11-08stm32f4/dma: Fix cut-and-paste errorBen Gamari
2012-11-08stm32f4/dma: Fix DMA_ISR_OFFSET definitionBen Gamari
2012-11-08stm32f4: Add dma.oBen Gamari
2012-11-07Added directories with autogenerated files to the ignore list.Piotr Esden-Tempski
2012-11-07Adjusted path to nvic.h.Piotr Esden-Tempski
2012-11-07Eliminate redundant gpio code from f2/f4/l1Karl Palsson
Implemented as per exti2
2012-11-07Update documentation to reflect realityKarl Palsson
2012-11-07Remove debug code.Karl Palsson
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
2012-11-07Add L1 to nvic, now that it's all generatedKarl Palsson
2012-11-07Add usart support for L1.Karl Palsson
Only tested with basic tx blocking, ie, the same example code as on F2/F4, but the description of the block is almost identical.
2012-11-07Ignore generated filesKarl Palsson
2012-11-07STM32L1 support, rebased onto upstream generalizations branch.Karl Palsson
Working example again.
2012-11-07Add most of the rcc functions.Karl Palsson
(Add the forgotten gpio.c file from before)
2012-11-07Finish RCC definitions => Working example!Karl Palsson
2012-11-07More progress towards L1 support.Karl Palsson
Believe gpio is complete, but untested without finishing at least the RCC defines. RCC defines are a work in progress
2012-11-07Vectors and Memory Map for STM32L1 seriesKarl Palsson
2012-11-07Use make flags to help control where the library is installedKarl Palsson
Where the library is installed has quite an affect on what -L and -I flags are used. If you install into the toolchain, you don't want to use them at all, but if you install out of tree (/opt/mycm3 for example) you need to specify the -L and -I flags. Update the documentation and the example makefiles to support this
2012-10-31Merge pull request #57 F2/F4 timer merging actionPiotr Esden-Tempski
Merge remote-tracking branch 'tdaede/f4-timer'
2012-10-31Fixed header clean target find call for Darwin BSD find too.Piotr Esden-Tempski
2012-10-31Merge pull request #56 Allow make to build libs/examples in parallel.Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_parallel_makes'
2012-10-31Fixed stm32f4-discovery/usb_cdcacm example for deduplication patches.Piotr Esden-Tempski
2012-10-31Added new f4 adc module to the library makefile.Piotr Esden-Tempski
2012-10-31Merge pull request #55 STM32F4: New adc modulePiotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/adc-f4'
2012-10-31Merge pull request #53 CAN fixesPiotr Esden-Tempski
Merge remote-tracking branch 'tdaede/master'
2012-10-31STM32F4 New: headers and source code for DMAKen Sarkies
This has been tested with some dac, timer and (as yet uncommitted) adc examples.
2012-10-31STM32F1 Addition to DMA to add interrupt flag read and clear.Ken Sarkies
Additional macros and defines added to header for the purpose. Also disable of increment modes (seem to have been omitted originally).