Piotr Esden-Tempski
3441bba1c4
Changed local build target for library and linker files.
- The library files are now being built into the lib subdirectory of the
source.
- The linker files for each library are being copied into the lib source
subdirectory.
Motivation: The relative locations of files in the source directory after make
are now the same as after make install now. This makes it easier to
reuse examples with their makefiles outside of the libopencm3
sourcecode directory.
12 years ago
Michael Ossmann
14026fc31f
make install now installs lpc43xx and other non-stm32 stuff
13 years ago
Michael Ossmann
50999194d2
added lpc43xx to target list
13 years ago
Taylor Vesely
f7bf15343d
Produced build system for Blueboard-LPC1768-H miniblink.
13 years ago
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
Agreed to by all the significant contributors to the library.
13 years ago
Uwe Hermann
6c278b19b4
Makefile: Add 'doxy' target for doxygen docs.
A top-level 'make clean' will remove the whole doxygen/ output directory.
13 years ago
Uwe Hermann
42e531c7c4
Makefile: Fix 'install' target.
Thanks to CheBuzz on IRC for pointing this out.
13 years ago
Stephen Caudle
5a89d44591
Add initial support for STM32F4
13 years ago
Stephen Caudle
1dc4645732
Update makefiles to reflect stm32 lib folder name changes
13 years ago
Uwe Hermann
17d80aa5a4
Fix whitespace.
13 years ago
Gareth McMullin
b05a5dcf2a
Fixed some F105/F107 USB issues. Added user callback on SOF.
Made examples depend on lib.
13 years ago
Fergus Noble
8da4496799
Adding stm32f2 target in top level Makefile and renaming f1 target.
13 years ago
Piotr Esden-Tempski
03a4a18ed6
Switched all makefiles to arm-none-eabi default.
13 years ago
Piotr Esden-Tempski
5d97653163
Added black magic probe flashing support to the example code makefile.
13 years ago
Fergus Noble
6ab4e561f7
Change default prefix in top level Makefile.
13 years ago
Fergus Noble
f8d1005595
Adding stm32f2 target in top level Makefile and renaming f1 target.
13 years ago
Gareth McMullin
7faea389e8
Added dependency generation. Abort loops on error.
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
Gareth McMullin
769a932f3e
Added initial support for the LuminaryMicro LM3S family.
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
8c946de4d4
Some more LD paths fixes.
14 years ago
Uwe Hermann
d37a786c63
Adapt 'make install' to new structure.
14 years ago
Uwe Hermann
48b514d3ef
s/libopenstm32/libopencm3/ is some Makefiles.
14 years ago
Uwe Hermann
8e5acecc6e
More path and name changes.
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
6a16711bee
Install USB headers upon 'make install'.
14 years ago
Uwe Hermann
87df73edf2
Print "Entering directory" only upon "make V=1".
15 years ago
Uwe Hermann
428e328b7e
Install the ld script upon 'make install'.
16 years ago
Uwe Hermann
920ea7dbdb
Fix typo, s/example/examples/ after an earlier rename.
16 years ago
Uwe Hermann
db0e59da96
Rename example subdir to examples, we'll have more than one.
16 years ago
Uwe Hermann
83f5c58eb9
Switch the license to GPL, version 3 or later.
16 years ago
Uwe Hermann
caeba0c631
Rename INCLUDEDIR to INCDIR for brevity.
16 years ago
Uwe Hermann
3a2c63129e
Use a Linux kernel style build output printing.
Example:
$ make install
BUILD lib
CC gpio.o
AR libopenstm32.a
BUILD example
CC blink.o
LD blink
INSTALL headers
INSTALL lib
$ make clean
CLEAN blink.o
CLEAN blink
CLEAN gpio.o
CLEAN libopenstm32.a
16 years ago
Uwe Hermann
f0661cb343
Make default build silent, use 'make V=1' for verbose build.
16 years ago
Uwe Hermann
74620a94d0
Add initial top-level Makefile.
16 years ago