aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1
AgeCommit message (Collapse)Author
2013-02-26[examples] [maple] Fixed all warnings in the new leaf maple examples.Piotr Esden-Tempski
2013-02-26Add a few example programs for the Leaf Maple / IteadMaple boards.Weston Schmidt
2013-02-26SPIEX: Fixed warnings in the new SPI examples.Piotr Esden-Tempski
2013-02-26[examples] added simple spi and dma based spi examples for stm32 f1 on ↵Stephen Dwyer
Lisa/M v2 board
2013-02-26Fixed all warnings for examples.Piotr Esden-Tempski
2013-02-26Added more warning CFLAGS to all makefiles.Piotr Esden-Tempski
2013-02-19[cm3] fix doxygen for systick_get_value, add systick_get_reloadFelix Ruess
Fix the reload value in the examples: to get a SysTick interrupt every N clock pulses: set reload to N-1 see http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/BGBEEJHC.html#BABGACGG
2013-02-18Merge pull request #81 "[examples f1] ADC+DAC very basic example"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_f1_adc_dac'
2013-01-23Add examples making use of the RTCKarl Palsson
Add an example using the RTC to help with a lower power design. This is a sister example to the existing "button-irq-printf", which is functionally identical, but uses far less power. There's more tricks that can be done to lower the power even further, but this shows a few of the early steps that can be done, using the RTC wakeup instead of a timer.
2013-01-22[examples f1] ADC+DAC very basic exampleKarl Palsson
Just shows some basic working examples of using the DAC with the ADC. No special features, but very little hardware required to demonstrate.
2013-01-09Removed dummy character string from examples due to api change in: 7a5da60Piotr Esden-Tempski
2013-01-06Marked some dummy variables in examples as unused, so that the newer GCC ↵Piotr Esden-Tempski
stops complaining.
2013-01-06Fixed compilation of all the examples after merging pull requests...Piotr Esden-Tempski
2013-01-06Merging pull request #63 Improvements to STM32F1 I2C, CAN, RCC, and USB (f107)Piotr Esden-Tempski
Merge remote-tracking branch 'icd/master'
2012-11-13Merge branch 'master' of git://github.com/libopencm3/libopencm3 into ↵Jeff Ciesielski
upstream-merge
2012-11-12[examples] Added usart example for obldc strip.Piotr Esden-Tempski
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-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-11-06Enable OTG clock during initializationAndrey Smirnov
Add a call to enable USB clock, otherwise the dive will not enumerate.
2012-10-31Merge pull request #22 fixing usb and f4 alignment issuesPiotr Esden-Tempski
Merge remote-tracking branch 'jdk/master' Conflicts: lib/stm32/f1/Makefile lib/stm32/f4/Makefile
2012-10-19examples: fix lisa-m-1 can example to use new can init functionJeff Ciesielski
2012-10-18unified systick handlingchrysn
the only change this results in in the example binaries is in the hackrf-jellybean/systick example, where the the check in systick_set_clocksource for overflowing from the stm32 area gets used.
2012-10-18unify scb (system control block)chrysn
these register definitions are common to all cortex mcus. some of the registers might not be implemented everywhere (especially the floating point registers), but defining them does no harm. this modification does not result in any changes in the example binaries.
2012-10-18modified examples to use libopencm3/cm3/nvic.h instead of /stm32/chrysn
2012-10-16fix clean target for example makefiles if the compiler is not in PATHFelix Ruess
2012-10-07updated the lisa_m_2 (STM32 F1) ADC examples for recent code changes to ↵Stephen Dwyer
stm32f1 adc.c and adc.h
2012-10-07oops, had to update bin names in makefiles for adc examplesStephen Dwyer
2012-10-07added different ADC sampling examples for the LisaM v2 including:Stephen Dwyer
* simple polling of an injected channel * timer triggered sampling of an injected channel * timer triggered sampling and IRQ handling of an injected channel * timer triggered sampling and IRQ handling of 4 injected channels
2012-10-05Code changes to stm32f1 adc.c and adc.hKen Sarkies
remove rcc_set_adc_clk - use rcc version Added functions: - adc_power_on - adc_start_conversion_direct - adc_set_dual_mode - adc_eoc - adc_eoc_injected - adc_read_regular - adc_read_injected - adc_set_injected_offset Tested dual mode scanned regular, but no tests of injected yet. Changes: "discontinuous" was misspelled. - adc_set_discontinuous_mode_regular - added "length" parameter - adc_disable_discontinuous_mode_regular - name change - adc_enable_discontinuous_mode_injected - name change - adc_enable_automatic_injected_group_conversion - disable triggers - adc_enable_jeoc_interrupt - name change to match common usage in lib - adc_disable_jeoc_interrupt - ditto - adc_enable_external_trigger_regular - remove incorrect test on parameter - adc_enable_external_trigger_injected - ditto - adc_set_sample_time - name change to match function's purpose - adc_set_conversion_time_on_all_channels - ditto - adc_set_injected_sequence - changed order of register loading (ref Barlow's issue) - adc_enable_analog_watchdog_on_all_channels - flipped AWDSGL - adc_enable_analog_watchdog_on_selected_channel - ditto added aliases for expected commonly used functions to avoid sudden user code breakage In adc.h, corrected errors in SQR names added "deprecated" compiler warnings to adc_on and to aliases defined in adc.c
2012-09-25Explicitly link example binaries statically.Paul Sokolovsky
This allow good share of binaries be linkable (and actually run) with a typical distro-packaged ARM toolchain (Cortex-A and Linux targetted).
2012-09-13USB core updated for reentrance based on Christian Cier-Zniewski's branchJason Kotzin
2012-09-10Renamed adc example to be more descriptive.Piotr Esden-Tempski
2012-09-10Added simple adc example for lisa/m 2.Piotr Esden-Tempski
2012-08-14Use make wildcard command for source dir detect. Library path fix.Piotr Esden-Tempski
Thanks ni!
2012-08-13Examples detect if they are being built in src dir.Piotr Esden-Tempski
If an example is in the libopencm3 source directory it will use the locally built library instead of the system library. When you copy an example out of the libopencm3 tree it will automatically detect it and build using the system wide installation.
2012-08-13Changed local build target for library and linker files.Piotr Esden-Tempski
- The library files are now being built into the lib subdirectory of the source. - The linker files for each library are being copied into the lib source subdirectory. Motivation: The relative locations of files in the source directory after make are now the same as after make install now. This makes it easier to reuse examples with their makefiles outside of the libopencm3 sourcecode directory.
2012-06-29Fix link flags to specify cpu instead of (wrong) arch.Karl Palsson
-march=armv7 is NOT right for cortex-m3, and results in unexpected arm code being linked in when using multilib toolchains
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-03-14Added dma based usart IO example.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-02License change of the library to LGPL, version 3 or later.Piotr Esden-Tempski
Agreed to by all the significant contributors to the library.