Uwe Hermann
a0091f18c7
Cosmetics, consistency fixes, fix compiler warnings.
14 years ago
Damjan Marion
edf230386c
Updated STM32 memory map, fixed USB_OTG_FS_BASE
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
Gareth McMullin
c11cdaf2a7
Added OTG_FS register definitions for connectivity line STM32.
14 years ago
Gareth McMullin
193a1ed3b8
Reset CTR flag for endpoint from usbd_poll if no callback.
14 years ago
Gareth McMullin
f87170e06e
Clear user control request handlers on set_configuration request.
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
1cabc38c3a
EXTI bugfix in exti_select_source().
AFIO_EXTICR[1 to 4] registers were not beeing set correctly. You have to
force a 0 on the bits that are 0 for the mutex to work.
Thanks Linus Casassa <linus@lin.cl> for the patch!
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
1ca65c4058
Add some summon-arm-toolchain hints.
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
95793aa6ce
Rename include guards to LIBOPENCM3_*.
14 years ago
Uwe Hermann
9deb34de75
Add FSMC register definitions.
14 years ago
Uwe Hermann
43856e1436
FSMC: Implement all missing bit defines.
14 years ago
Uwe Hermann
62f1bab21f
Start adding FSMC #defines (FSMC_BCRx for now).
14 years ago
Uwe Hermann
62acc424e1
Remove useless .gitignore entry.
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
d37a786c63
Adapt 'make install' to new structure.
14 years ago
Uwe Hermann
a97dd10a95
More libopenstm32 renames.
14 years ago
Uwe Hermann
18790a2454
More renames for libopenstm32 -> libopencm3.
14 years ago
Uwe Hermann
0995f73f72
Finish libopenstm32.ld to stm32.ld rename.
14 years ago
Uwe Hermann
48b514d3ef
s/libopenstm32/libopencm3/ is some Makefiles.
14 years ago
Uwe Hermann
079dc05c73
Change some names to libopencm3.
14 years ago
Uwe Hermann
deb3db7623
Drop unused and useless libopenstm32.h.
14 years ago
Uwe Hermann
8e5acecc6e
More path and name changes.
14 years ago
Uwe Hermann
7c53b252a3
Add missing files.
14 years ago
Uwe Hermann
be2ac142d9
Rename include/libopenstm32 to include/stm32.
14 years ago
Uwe Hermann
8e084b1517
Move STM32-specific source to lib/stm32 subdir.
14 years ago
Uwe Hermann
bcce98da54
Move STM32 examples to examples/stm32 subdir.
14 years ago
Uwe Hermann
b65f3f06d0
Add initial lpc-p1343/miniblink example (untested).
This is not yet tested on hardware, it probably won't work, yet.
14 years ago
Uwe Hermann
b385b7a172
NXP LPC13XX: Initial memorymap.h and gpio.h.
Add initial support for the NXP LPC13XX family of ARM Cortex-M3
devices, including the LPC1311, LPC1313, LPC1342, or LPC1343.
This should re-use parts of our generic Cortex-M3 stuff (which is
gradually moved into cm3/ subdirs) where possible.
14 years ago
Uwe Hermann
17b2e87ba3
Factor out cm3/common.h and cm3/memorymap.h.
14 years ago
Uwe Hermann
01bfbfed41
Deduplicate example README file contents.
14 years ago
Uwe Hermann
d9f6f200c1
Some more whitespace + cosmetics.
14 years ago
Uwe Hermann
b5727a6c73
USB: Cosmetics and coding-style fixes.
14 years ago
Uwe Hermann
c39eb69e4d
Replace uint8_t with u8 et al, fix whitespace.
14 years ago
Uwe Hermann
6a16711bee
Install USB headers upon 'make install'.
14 years ago
Uwe Hermann
34fd228bf9
Move generic USB stuff to a subdir, dedupe .h files.
Adapt examples and the lib code accordingly.
14 years ago
Uwe Hermann
f062777930
More whitespace fixes.
14 years ago