Karl Palsson
2ba1619889
Update library for new gpio_toggle
2014-10-07 12:02:04 +00:00
Karl Palsson
3f4515438a
Update upstream library
2014-10-07 11:51:01 +00:00
Karl Palsson
a15300d9e4
Update upstream library.
2014-09-30 22:38:34 +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
Frantisek Burian
54c5c77823
Update the library to the newest version
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
Karl Palsson
05d46ab6cd
make V=1 no longer spews linker garbage collection
...
make V=99 will, if you realllly want it.
2014-04-05 13:14:56 +00:00
Karl Palsson
6960d2adef
stm32l1: correct misleading comments
...
Even though we eventually want to replace some of these magic defines with
board info files, let's still have correct comments.
2014-04-05 13:12:36 +00:00
Frantisek Burian
bd76fb8661
Update the library submodule to the newest version.
2014-03-23 21:24:55 +01: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
Karl Palsson
49760aa021
README: Include notes on reuse
...
This is just one way of doing it, but it shows the basic steps
2014-03-23 12:44:09 +00:00
Karl Palsson
abf774c0f4
Bump libopencm3 submodule
...
No new examples require this, but it's a better base for stm32f0 and any lcd
work.
2014-03-11 22:05:31 +00:00
Karl Palsson
f94a821712
gitignore netbeans project files
...
Just in case ;)
2014-03-08 15:20:58 +00:00
Karl Palsson
64ecb61543
f0: remove toolchain specific options
...
While nano specs are certainly handy, it should be documented how to use them,
not turned on by default. People with otherwise valid toolchains, who might
simply not care about nano specs are unable to build the examples with these
options.
2014-03-08 15:03:36 +00:00
Frantisek Burian
8ffaf0579d
Fix the bug in compilation in the style fix run.
2014-02-13 20:24:22 +01:00
Uwe Bonnes
06208be477
Whitespace changes in the tiva(stellaris/lpc directory structure commit
2014-02-13 20:04:34 +01:00
Uwe Bonnes
1740fee230
tiva(stellaris)/lpc: Use directory structure as stm32
...
EDIT: Whitespace changes to the files stripped out.
2014-02-13 20:00:25 +01:00
Frantisek Burian
3af1f8d43d
[BUILD] Make the binaries only needed for the user
...
User can specify which binaries he needs on the commandline.
'make hex' will build examples with generating hex file
'make hex bin' will build hex and bin output
'make images' will build all images as in previous versions of buildsystem
'make all' or 'make' will build only elf (+ map) files
This will have huge impact on build speed.
2014-02-13 19:35:18 +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
a265fd4d64
Correct include path in all examples
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
Karl Palsson
3f68a5ceef
stm32l: Correct openocd flash target name
2014-02-13 12:00:03 +00:00
Karl Palsson
c54ab042ef
Bump examples library code to get new adc core
2014-02-05 19:13:10 +00:00
Karl Palsson
d1cf776ebc
[lm4f] Remove usb cdc definitions moved to library
...
Requires a library bump to match
2014-01-22 20:28:32 +00:00
Frantisek Burian
5f592615d6
[BUILD] Correct inplace build for examples
2014-01-22 12:50:38 +01:00
Karl Palsson
379889e732
git ignore *.stylecheck files
...
Generated build droppings
2014-01-22 00:13:41 +00:00
Ken Sarkies
523401097a
[STM32F4] DAC triggered by timer and DMA transfers.
2014-01-17 11:36:37 +00:00
Frantisek Burian
1b98ef8bfc
Add stylecheck to the examples directory
2014-01-11 13:42:15 +01: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
94ddb178eb
[BUILD] Use the automatic variable RM=rm -f
2014-01-06 22:30:32 +01:00
Frantisek Burian
52fc38b03e
[FIX] Library paths and preprocessor defines should be in CPPFLAGS, Reorganization of *FLAGS
...
Using:
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html#Preprocessor-Options
http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#ARM-Options
To CFLAGS are added only -ffunction-sections -fdata-sections, so this should not break the build.
2014-01-06 22:30:31 +01:00
Frantisek Burian
04d4bac5af
[BUILD] Move out ARCH_FLAGS from the LDFLAGS and CFLAGS, CXXFLAGS
2014-01-06 22:30:19 +01:00
Frantisek Burian
39f6c9eb5f
[FIX] Correct the compilation of C++ files (prepared for the future)
2014-01-06 22:27:29 +01:00
Frantisek Burian
f756c99a42
[BUILD] Removed TOOLCHAIN_DIR, add autodetection of current libopencm3 library placement
2014-01-06 22:25:57 +01:00
Frantisek Burian
747e8d260b
[BUILD] Splitted long lines in targets definition
2014-01-06 22:25:57 +01:00
Frantisek Burian
07df176a8a
[BUILD] Add source library path to the examples makefile to override default paths
2014-01-06 22:25:56 +01:00
Frantisek Burian
5385b463fe
[FLASH:OPENOCD] Fixed the flashing function
2014-01-06 22:25:56 +01:00
Frantisek Burian
95fe484c42
Modify all of the examples to use the Makefile.rules
2014-01-06 22:25:56 +01:00
Onno Kortmann
58e84a9438
[BUILD] Generate *.MAP files
...
Reworked by: Frantisek Burian <BuFran@seznam.cz >
2014-01-06 22:25:55 +01:00
Frantisek Burian
02c35eee70
Make the STM32 Makefile.includes usable from outside the examples tree (Issue #28 )
2014-01-06 22:25:55 +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
Karl Palsson
cc800be89a
linker script paths: don't hardcode the path
...
While some of the examples include a "board.ld" style file, some of them were
pointing to the libopencm3 provided chip specific ld scripts. When
TOOLCHAIN_DIR has been overridden, those paths were no longer valid/correct.
2014-01-03 21:54:34 +00:00
Piotr Esden-Tempski
5bafa042c5
[locm3] Updated to the newest version of locm3.
2014-01-03 01:08:13 +01:00
Frantisek Burian
72c1a29779
Correct the F3 examples hardfaults in rare cases, correct style
2014-01-03 00:18:41 +01: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