aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1
AgeCommit message (Collapse)Author
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-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.
2012-02-29Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of ↵Piotr Esden-Tempski
testing!
2012-02-21Added fancyblink for lisa/m V2Piotr Esden-Tempski
2012-02-21Renamed current lisa-m tests to lisa-m-1 as it differs a bit from v2.Piotr Esden-Tempski
2011-12-17Added USB example for stm32f4.Gareth McMullin
Moved clock enable for OTG_FS back into applications. This and gpio config are the only differences between f107 and f2xx/f4xx.
2011-11-16Added CAN example for lisa-m V1.1.Piotr Esden-Tempski
2011-11-16Updated all examples to use the new/old usart_set_baudrate api.Piotr Esden-Tempski
2011-11-13examples: Even more coding-style fixes.Uwe Hermann
2011-11-13examples: Remove duplicate example linker scripts.Uwe Hermann
Only add one linker script per eval board, and have the Makefiles use that. This avoids duplication, and various copy-paste errors and left-overs which we already have in the tree. Some of the linker scripts are not really correct, yet. Both, the comments which say which board, chip, and RAM/ROM sizes are used, as well as the actual RAM/ROM size definitions are sometimes copy-pasted from other boards and are thus incorrect. This needs to be fixed.
2011-11-13other/*: Random coding-style fixes.Uwe Hermann
2011-11-13other/i2c_stts75_sensor: Cosmetics.Uwe Hermann
2011-11-12s/led/LED/.Uwe Hermann
2011-11-12obldc examples: Fix comments and coding-style.Uwe Hermann
2011-11-12other/dogm128: Coding-style fixes.Uwe Hermann
2011-11-12other/adc_temperature_sensor: Cosmetics.Uwe Hermann
2011-11-12other/dma2mem: Fix typos and coding-style.Uwe Hermann
2011-11-12mb525: Fix coding-style and comments.Uwe Hermann
2011-11-12lisa-m/usbhid: Use short types such as u8.Uwe Hermann
2011-11-12lisa-m/usbhid: Coding-style fixes.Uwe Hermann
2011-11-12lisa-m/usb_cdcacm: Coding-style/whitespace fixes.Uwe Hermann
2011-11-12lisa-m/fancyblink: Fix copy-pasted code comments.Uwe Hermann
2011-11-10Cosmetic fixes in license headers.Uwe Hermann
2011-11-03stm32-h103 examples: Cosmetic and coding style fixes.Uwe Hermann
2011-11-02stm32f1/f2: Update to recent OpenOCD syntax.Uwe Hermann
Newer versions of OpenOCD expect stm32f1x mass_erase 0 or stm32f2x mass_erase 0 instead of stm32x mass_erase 0 So far, there doesn't seem to be an explicit F4 command, so leave that untouched for now.
2011-11-02stm32/f1/lisa-m/usb_hid: Fix compiler warning.Uwe Hermann
BUILD examples/stm32/f1/lisa-m/usb_hid usbhid.c: In function 'main': usbhid.c:316:10: warning: unused variable 'x'
2011-11-02Various cosmetic and whitespace fixes.Uwe Hermann
2011-11-02Rename STM32 discovery folders to be more specificStephen Caudle
2011-10-31Added license header to cdcacm test python script.Piotr Esden-Tempski
2011-10-31Lisa-M HID example uses accelerometer to move mouse.Gareth McMullin
2011-10-31Fixed an application side buffer issue where resending the data failed. Now ↵Piotr Esden-Tempski
the example will retry to send the mirror data untill it succeeds. Also decreased the buffer back to 64 as it needs to be changed in more then one place.
2011-10-31Improved the script to give a better error count reporting.Piotr Esden-Tempski