Commit Graph

49 Commits

Author SHA1 Message Date
Chuck McManis
a3ff2c9250 Intermediate step in the examples tree, looking to get USB working correctly on the
429 still
2015-01-20 16:12:57 -08:00
cmcmanis
e4d106dce6 Updated to use the new rcc_periph_clock_enable code 2015-01-20 16:12:57 -08:00
cmcmanis
ae9c116e30 Pulling in some of the makefile changes that are in master into this
branch to make merging easier later on.
2015-01-20 16:12:56 -08:00
cmcmanis
4defd3e1d2 The SPI-MEMS example, its not great but it does use the SPI
port and can tell you the temperature of the room you are in.
2015-01-20 16:12:56 -08:00
cmcmanis
e5585dd07d Some examples for the STM32F4-Disco board 2015-01-20 16:12:56 -08:00
Piotr Esden-Tempski
2583cc54cc [rcc_periph_clock_enable] Using the new rcc enable format.
We are missing handling of stm32l1 AHBLP clock rail.
2015-01-20 15:33:00 -08:00
Piotr Esden-Tempski
1c4ae95729 [README] Coarse sweep to use markup in READMEs.
This should improve online readability of the readme files.
2015-01-19 19:20:12 -08:00
Piotr Esden-Tempski
ab7efee88e [README] Renamed all readme files to indicate markup format. 2015-01-19 19:19:42 -08:00
Piotr Esden-Tempski
ddd5d5a918 [copyright] Updated copyright credits on some newly added files.
We need to go through all the examples and make sure we credit them
accordingly.
2015-01-15 17:09:30 -08:00
Piotr Esden-Tempski
1120b3f1b5 [stm32f429i-discovery] Added toplevel README. 2015-01-15 16:59:39 -08:00
Piotr Esden-Tempski
4f1db00763 [stm32f429i-discovery] Added adc-dac-printf example. 2015-01-15 01:58:25 -08:00
Piotr Esden-Tempski
016923e654 [stm32f429i-discovery] Added dac dma example. 2015-01-15 01:06:48 -08:00
Piotr Esden-Tempski
dfac3be665 [stm32f429i-discovery] Added mandelbrot set example. 2015-01-14 18:51:45 -08:00
Piotr Esden-Tempski
ddd0312b10 [stm32f429i-discovery] Added random blinking example. 2015-01-14 18:44:04 -08:00
Piotr Esden-Tempski
1346cd0156 [stm32f429i-discovery] Added usb mass storage example. 2015-01-14 18:43:39 -08:00
Piotr Esden-Tempski
92c228bc63 [stm32f429i-discovery] Added usb cdcacm example. 2015-01-14 18:35:07 -08:00
Piotr Esden-Tempski
50b3522e7a [stm32f429i-discovery] Added tick blink example. 2015-01-14 18:28:00 -08:00
Piotr Esden-Tempski
25d924f699 [stm32f429i-discovery] Added button example. 2015-01-14 18:23:01 -08:00
Piotr Esden-Tempski
7bf64424ab [stm32f429i-discovery] Added USART IRQ example. 2015-01-14 18:16:03 -08:00
Piotr Esden-Tempski
23c29f1784 [stm32f429i-discovery] Added usart example. 2015-01-14 18:16:03 -08:00
Piotr Esden-Tempski
ae17f5a77b [stm32f429i-discovery] Added miniblink example. 2015-01-14 18:15:53 -08:00
Piotr Esden-Tempski
a0d379f460 [stm32f429i-discovery] Added usbmidi example.
This board connects the USB HS interface to the micro usb connector as
opposed to the USB FS interface on the stm32f4-discovery board. This is
why we are using different pins, different periph and different driver.
At the end it should(TM) behave the same as the HS interface implements
FS too.
2015-01-14 16:50:44 -08:00
Piotr Esden-Tempski
e8694d561f [stm32f429i-discovery] Added fancyblink example.
For some reason when setting the ram size to 256 in the linker file we
are getting a memory access error. Needs more investigation.
2015-01-14 16:21:56 -08:00
Daniel Thompson
75389c665d stm32f4: usb_midi: Introduce example MIDI firmware
Tested on STM32F4Discovery with Linux host using both amidi (raw
messages to/from device) and a synthesizer (note on/off) and on
Windows 7 using MIDI-OX.
2014-12-18 22:51:06 +00:00
Karl Palsson
9852282bcf stm32f4: drop dead code from usb example.
Presumably code that attempted to toggle a led, but it wasn't setup, and it's
not in any other examples.  Kill it for now.

Reported-by: stefanct on irc.
2014-08-21 23:56:34 +00:00
Frantisek Burian
7f215cb6fa Use libopencm3 coding style 2014-07-14 13:44:44 +02:00
Frantisek Burian
bc5d0816e5 MSC: Use another PID to load correct drivers 2014-07-14 13:44:43 +02:00
Pavol Rusnak
7c07ed97a6 example for MSC (Mass Storage Class) support 2014-07-14 13:44:43 +02:00
Karl Palsson
4aaae0086a stm32f4: Document which discovery board the examples are for
Try and reduce a little confusion if we can.
2014-07-11 13:13:17 +00:00
Frantisek Burian
dd320a6e99 [STYLE] Revert the 'const' warning in cdcacm examples.
Examples are now compilable without warnings.
2014-03-23 21:20:41 +01:00
Frantisek Burian
8ffaf0579d Fix the bug in compilation in the style fix run. 2014-02-13 20:24:22 +01:00
Frantisek Burian
3f47411e24 [Stylecheck] F0, F1, F4
There are remaining C99 comments.
2014-02-13 19:15:24 +01:00
Frantisek Burian
022cc475bf [DOC] Updated README's for F0 and F4 examples to describe the needed board connections. 2014-02-13 19:15:00 +01:00
Frantisek Burian
5bb4d47aae Examples updated to use new rcc_periph_clock_enable function 2014-02-13 19:14:59 +01:00
Ken Sarkies
523401097a [STM32F4] DAC triggered by timer and DMA transfers. 2014-01-17 11:36:37 +00:00
Frantisek Burian
ffe9376c55 [BUILD] Allow to override FP_FLAGS in make as specified in libopencm3 README 2014-01-09 07:33:11 +01:00
Frantisek Burian
9934e40fe9 [BUILD] Add generic Makefile.rules 2014-01-06 22:25:40 +01:00
Karl Palsson
04c92b6677 stm32f4: adc-dac-printf example
This is the same behaviour as the f1 and l1 examples of this code, making it
easier to test changes to unification of the adc code.
2014-01-04 00:13:34 +00:00
Onno Kortmann
3efd9f8675 Make the STM32 Makefile.includes usable from outside the examples tree
The Makefile.includes contain a hardcoded ../../../../../libopencm3
path for the TOOLCHAIN_DIR variable. They also contained another copy
of this hardcoded path, that is now generated from $TOOLCHAIN_DIR.

This allows to have a symbolic link to a Makefile.include in an
out-of-tree project and reuse the Makefile infrastructure.
2014-01-03 00:08:01 +01:00
Piotr Esden-Tempski
26d27497f2 [tick_blink] Fixed to work with the current locm3. 2014-01-02 23:30:27 +01:00
Chuck McManis
3673e4059b This is a demo that uses the System Tick counter in the STM32F4
as a way of creating accurately timed delays. A simple 'msleep'
is implemented by watching the system clock to wait a certain
number of milleseconds before it returns. Its a bit more accurate
than a for loop, although it really shines when your running multiple
threads.
2014-01-02 23:29:13 +01:00
Frantisek Burian
314ad2d877 [F24:CRYPTO] Add example using cryptographic module on F41x or F2x 2014-01-02 23:26:32 +01:00
Karl Palsson
92624b7d01 [stm32x] Use modern header include paths.
Replace includes of stm32/YY/xxxx.h with stm32/xxxx.h
Replace stm32/YY/nvic.h with cm3/nvic.h.
In some cases, the include list was resorted alphabetically when it was
complicated and I was reviewing them manually, but most of this was
automatically done.
2013-12-13 14:13:47 +00:00
Alexandru Gagniuc
408fa52ec3 Global: Remove temporary backup files
file.c~ (note the tilde at the end) are temporary backup files used by some
editors. They are not needed.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-07-08 09:59:16 -05:00
Piotr Esden-Tempski
7ee888a857 Changed echo usage for printf as it is more portable. 2013-06-30 19:49:21 -07:00
Piotr Esden-Tempski
f5b0aa5638 Updated to the new locm3 changed to stdint types. 2013-06-16 19:07:22 -07:00
Piotr Esden-Tempski
f395592764 Updated all affected examples to the usb API change. 2013-04-25 17:44:11 -07:00
Piotr Esden-Tempski
9237f2f99c Corrected the library search path. 2013-04-19 17:41:20 -07:00
Piotr Esden-Tempski
9d5526f773 Initial commit. 2013-04-19 17:19:32 -07:00