Uwe Bonnes
32c276a708
Move enabling the USB Clock into stm32f10x_usbd_init
14 years ago
Gareth McMullin
cd88855d13
Delete example dependencies on 'make clean'
14 years ago
Gareth McMullin
67e3452855
Added simple USB example for STM32F107.
14 years ago
Piotr Esden-Tempski
4095c167d3
Small cleanup and added random blinking option.
14 years ago
Piotr Esden-Tempski
5754b9856c
Cleaned up warning in led_stripe example.
14 years ago
Gareth McMullin
7faea389e8
Added dependency generation. Abort loops on error.
14 years ago
Piotr Esden-Tempski
af33448c09
Added an example for STM32-H103 eval board to drive the ZJ168 addressable led strips, using the LPD6803 controller.
14 years ago
Gareth McMullin
95286a22f0
More build improvements and fixed broken examples.
14 years ago
Gareth McMullin
08990e5243
Simplified build system for adding new examples.
14 years ago
Piotr Esden-Tempski
1f3e431527
Usart baud rate setting function now uses the new apb1 and apb2 frequency variables. And calculates the full BRR value.
14 years ago
Piotr Esden-Tempski
675b13ed2b
Fixed a small typo in exti test.
14 years ago
Piotr Esden-Tempski
7073637430
Added 12MHz external clock rcc setup routine.
14 years ago
Piotr Esden-Tempski
6694f3dc0c
Added timer example that generates a variable frequency signal. In that particular case it is generating the SOS morse code on the eval board led.
14 years ago
Piotr Esden-Tempski
662e77b4ee
Added a printf example that is using irq and a ring buffer to write to USART1 port. It is also reflecting the text you write to the device.
14 years ago
Piotr Esden-Tempski
a71c4c128a
Added usart_printf example into the buildsystem.
14 years ago
Piotr Esden-Tempski
fedad2eb9a
Added an example using newlib printf for writing to UART1.
14 years ago
Piotr Esden-Tempski
4667760392
Added usart_irq to the build system.
14 years ago
Piotr Esden-Tempski
d1baf00629
Added usart_irq test for stm32-h103 board.
14 years ago
Piotr Esden-Tempski
310561ac50
Made usart_irq example more robust. It should not duplicate bytes anymore.
14 years ago
Gareth McMullin
4ed536c988
Added example using ITM and TPIU for TRACESWO output.
14 years ago
Piotr Esden-Tempski
7d3608f746
Added fanciblink for Lisa/M.
14 years ago
Uwe Hermann
dfa9145a34
STM32VLDISCOVERY: Fix ld file comments (STM32F100RB).
14 years ago
Uwe Hermann
1cb45d8888
STM32VLDISCOVERY: Fix some incorrect GPIO comments.
14 years ago
Uwe Hermann
5bfffcbb29
Use ST STM32VLDISCOVERY board name consistently.
14 years ago
Uwe Hermann
62f3897a2e
Add some examples for the STM32-Discovery board.
This adds a directory of examples, tested on the STM32-Discovery, just
modifications of: button, miniblink, fancyblink, usart, and rtc.
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
14 years ago
Uwe Hermann
447c333cec
Minor cosmetics, whitespace.
14 years ago
Gareth McMullin
769a932f3e
Added initial support for the LuminaryMicro LM3S family.
14 years ago
Piotr Esden-Tempski
d40fb96fcf
Added set prescaler and set repetition counter functions to timer.
14 years ago
Piotr Esden-Tempski
92edc113f9
Added timer reset function.
14 years ago
Piotr Esden-Tempski
e85c55a9a7
Added timer flag reset function.
14 years ago
Piotr Esden-Tempski
dd0018ffdf
Added interrupt and event generation handling functions to timer. Updated pwm 6step example to use those and commutate on button press using PWM ON scheme.
14 years ago
Uwe Hermann
a0091f18c7
Cosmetics, consistency fixes, fix compiler warnings.
14 years ago
Damjan Marion
7801cdf5a2
Fancyblink example for Olimex STM32-H107 board.
14 years ago
Gareth McMullin
aac65d8560
Abstracted USB driver interface to to allow driver selection.
14 years ago
Piotr Esden-Tempski
59293a9640
Added break and dead time convenience functions. Adapted 6step example to reflect that.
14 years ago
Piotr Esden-Tempski
a1bd228c87
Replaced OC mode selection with an enum, makes it simpler to use.
14 years ago
Piotr Esden-Tempski
5975750e5e
Added output compare channel convenience functions and adapted the pwm_6step example accordingly.
14 years ago
Piotr Esden-Tempski
d608049563
Started a pwm 6step output example. Enabled timer convenience functions and some minor fixes that showed themselves while writing the bare bone example.
14 years ago
Piotr Esden-Tempski
ab88871ef6
Changed button and exti tests to use floating input as pullup is not needed.
14 years ago
Piotr Esden-Tempski
51a3044232
Added a simple exti test using rising and falling trigger instead of sampling the gpio pin to determine the current state of the pin.
14 years ago
Piotr Esden-Tempski
9cea5525f6
Renamed exti test to exti_both as it uses TRIGGER_BOTH mode and sampling the gpio pin to determine the state of the pin.
14 years ago
Piotr Esden-Tempski
8530f36df1
Added basic exti interrupt test.
14 years ago
Piotr Esden-Tempski
c208e0b3c5
Added a simple input test using the button on STM32-H103 eval board.
14 years ago
Uwe Hermann
ca53311bfc
Use __asm__("nop") in the loop-based delays.
Since we recently switched from -O0 to -Os, an increase in the loop count
as well as the addition of __asm__("nop") is required (so that the loop
doesn't get optimized/removed).
The real fix is to add a proper timer-based delay function, of course.
Also, fix a bunch of cosmetic issues and typos.
14 years ago
Piotr Esden-Tempski
05f66cde4c
Ported pwmleds (pwm timer output test) to obldc.
14 years ago
Uwe Hermann
8f251e8a9d
Some more file/path restructuring.
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format.
If you want to get rid of the "libopencm3" prefix in your local project you
can add a respective -I entry in your Makefile (not recommended though).
All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib
directly (as before), but are now renamed to avoid potential
conflicts now or in the future. Examples:
libopencm3_lpc13xx.a
libopencm3_lpc13xx.ld
libopencm3_stm32.a
libopencm3_stm32.ld
14 years ago
Uwe Hermann
bc9d45556a
Cosmetics: Fix build output paths.
14 years ago
Uwe Hermann
8c946de4d4
Some more LD paths fixes.
14 years ago
Uwe Hermann
a97dd10a95
More libopenstm32 renames.
14 years ago
Uwe Hermann
18790a2454
More renames for libopenstm32 -> libopencm3.
14 years ago