Commit Graph

194 Commits

Author SHA1 Message Date
Karl Palsson
a023b0a7ca stm32f1: rtc: drop redundant ld script
Now that this is known targetting h103 board, drop the duped ld script.
2015-07-16 16:28:07 +00:00
Karl Palsson
3a06a8d24c stm32f1: other: rtc example is actually for h-103 board
Move it into the directory already available for this board.
No code changes, just clarifies it a little bit
2015-07-16 16:25:46 +00:00
Ken Sarkies
697d4f307a STM32F1xx RTC example: Change usart_send to blocking form to allow time to send characters
Tested with ET-STAMP-STM32
2015-07-16 16:23:43 +00:00
Priit Laes
48b2f10e66 [BUILD] Report proper error when linker script cannot be found. 2015-06-28 22:53:55 +03:00
Piotr Esden-Tempski
c6af45ba8f [nucleo-f411re] Stylefix. 2015-02-24 19:47:28 -08:00
Chuck McManis
d90d72291a USART with Standard I/O
This example takes advantage of the big Flash memory space and
uses the standard library functions printf, and fgets to
implement a simple interactive application.
2015-02-24 19:44:14 -08:00
Chuck McManis
4837775449 Nucleo F411RE - Simple USART example
Same as the one for other boards
2015-02-24 19:44:14 -08:00
Chuck McManis
8019726f51 Nucleo Examples F411RE 2015-02-24 19:44:14 -08:00
kbob
9cee61f089 [stm32f429i-discovery] Added LTDC DMA example.
This example is just using buffers and built in alpha overlay
functionality to animate a dmond floating on a checker board. After
initializing of the frame buffers only 7 registers are being modified to
implement the animation.
2015-02-24 17:14:57 -08:00
Chuck McManis
22f59c4583 LCD version of the Mandelbrot example
This version is the ASCII one but uses the LCD display
that is attached to the board for a more colorful result.

This example also zooms into a more "interesting" place in the set so
the display stays interesting during the full 100 generations.
2015-02-16 18:13:28 -08:00
Piotr Esden-Tempski
4de8d15303 [stm32f4-discovery] Using WFI instead of nop in the main loop.
WFI (Wait for Interrupt) tells the processor to suspend untill the next
interrupt is called. Better than burning away the cycles with nop.
2015-02-13 16:41:18 -08:00
Piotr Esden-Tempski
ec7c0f318b [stm32f4-discovery] Added timer example for the stm32f4 discovery board. 2015-02-13 16:41:18 -08:00
Piotr Esden-Tempski
51dda90570 [stm32f429i-discovery] Replaced the ctrl-c handler in console for a shorter version.
Thanks to ChuckM for that.
2015-02-05 16:34:36 -08:00
Piotr Esden-Tempski
8c6eb9ca57 [stm32f429-discovery] General sweep to fix style according to make stylecheck. 2015-02-04 20:39:32 -08:00
Piotr Esden-Tempski
c06aba1603 Removed the use of ITM_Sendchar. 2015-02-04 17:07:57 -08:00
Chuck McManis
0a863789b0 Additional cleanup on lcd-serial
Remove the ISR function and remains of the hack in lcd-spi.c and
convert console.c to use the LOC3 system reset code rather than
the hack which only works on the F4 as it turns out.
2015-02-04 16:48:36 -08:00
Chuck McManis
5379525a87 Updated the LCD SPI
Now that I know a bit more about how SPI is working on the STM32F4
I removed the egregious hack and replaced it with some cleaner code
for driving the LCD. On the positive side it gets a faster update
rate on the screen.
2015-02-04 16:48:18 -08:00
Chuck McManis
b76c30cdb0 Fixups 2015-02-04 16:34:03 -08:00
Piotr Esden-Tempski
d29e4d2b7c [stm32f429i-discovery] Moved Chucks remaining examples to the correct directory.
Additionally added Chucks readme to the stm32f429i-discovery board
readme.
2015-01-22 18:38:16 -08:00
Piotr Esden-Tempski
86c42bc2dd [stm32f429i-discovery] Switched over to UART1.
UART1 is connected through two jumpers to the programmer chip on the
board. Making the use of it very streight forward.
2015-01-22 18:27:28 -08:00
Piotr Esden-Tempski
d6cb05d792 [stm32f429i-discovery] Moved Chucks usart irq example to usart irq console.
Chucks irq example is more elaborate than the ported one so we keep
both.
2015-01-22 16:08:28 -08:00
Piotr Esden-Tempski
fbcb1ca66e [stm32f429i-discovery] Moved Chucks example to usart_console
Chucks example is more elaborate than the simple ported example so we
keep both.
2015-01-22 16:05:48 -08:00
Piotr Esden-Tempski
ed4bec540c [stm32f429i-discovery] Removed Chucks blink example. 2015-01-22 15:57:20 -08:00
Piotr Esden-Tempski
c18a16d979 [stm32f429i-discovery] Merge and delete systick blink example.
Added Chucks improvements to the systick example into the ported one.
2015-01-22 15:51:20 -08:00
kbob
7629bb01e6 Switched from USART 2 to USART 1. 2015-01-21 02:00:08 -08:00
Piotr Esden-Tempski
71b2c1991f [style] Trailing white space fixes. 2015-01-20 16:27:50 -08:00
Piotr Esden-Tempski
ea5af55b92 [stm32f4-discovery] Reverted addition of console. 2015-01-20 16:18:43 -08:00
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
397780799a [copyright] Added credit copyright for Laurent. Thanks! 2015-01-19 15:54:08 -08:00
Barattero Laurent
f6a1a3ee14 adding spi exemple to stm32vl-discovery 2015-01-19 15:47:39 -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