Commit Graph

38 Commits

Author SHA1 Message Date
Felix Ruess b7ebe6e705 fix clean target for example makefiles if the compiler is not in PATH 2012-10-16 14:09:42 -07:00
Ken Sarkies ff83a1ae1c Setup to document entire project using doxygen.
New doc directory with config files and generated html, LaTeX/pdf.
Makefile provided for autogeneration and explanatory README.

The project structure is hostile to doxygen, which can't cope with functions
of the same name. Doxygen is run for each family separately, and separately
for LaTeX generation. Customized layout files sort of "integrate" HTML, and
separate pdfs are generated for each family. Not ideal but seems the best
solution until doxygen changes, if at all.
2012-09-15 12:51:46 +09:30
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.
2012-08-13 15:19:57 -07:00
Michael Ossmann 14026fc31f make install now installs lpc43xx and other non-stm32 stuff 2012-06-06 23:48:30 -06:00
Michael Ossmann 50999194d2 added lpc43xx to target list 2012-05-22 14:23:57 -06:00
Taylor Vesely f7bf15343d Produced build system for Blueboard-LPC1768-H miniblink. 2012-03-27 08:55:19 -06:00
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.
2012-03-02 14:44:49 -08:00
Uwe Hermann 6c278b19b4 Makefile: Add 'doxy' target for doxygen docs.
A top-level 'make clean' will remove the whole doxygen/ output directory.
2011-11-11 21:27:29 +01:00
Uwe Hermann 42e531c7c4 Makefile: Fix 'install' target.
Thanks to CheBuzz on IRC for pointing this out.
2011-11-03 20:45:04 +01:00
Stephen Caudle 5a89d44591 Add initial support for STM32F4 2011-10-31 00:41:19 -04:00
Stephen Caudle 1dc4645732 Update makefiles to reflect stm32 lib folder name changes 2011-10-30 17:42:49 -04:00
Uwe Hermann 788f3870c4 Merge remote-tracking branch 'fnoble/stm32f2' 2011-10-29 22:19:12 +02:00
Uwe Hermann 17d80aa5a4 Fix whitespace. 2011-10-29 22:14:33 +02:00
Gareth McMullin b05a5dcf2a Fixed some F105/F107 USB issues. Added user callback on SOF.
Made examples depend on lib.
2011-10-29 21:30:26 +13:00
Fergus Noble 8da4496799 Adding stm32f2 target in top level Makefile and renaming f1 target. 2011-10-12 22:13:02 -04:00
Piotr Esden-Tempski 03a4a18ed6 Switched all makefiles to arm-none-eabi default. 2011-10-04 13:08:35 -07:00
Piotr Esden-Tempski 5d97653163 Added black magic probe flashing support to the example code makefile. 2011-10-02 01:25:33 -07:00
Gareth McMullin 7faea389e8 Added dependency generation. Abort loops on error. 2011-03-14 16:45:17 +13:00
Gareth McMullin 95286a22f0 More build improvements and fixed broken examples. 2011-03-13 14:50:53 +13:00
Gareth McMullin 08990e5243 Simplified build system for adding new examples. 2011-03-13 13:58:19 +13:00
Gareth McMullin 769a932f3e Added initial support for the LuminaryMicro LM3S family. 2011-02-04 22:47:51 +13:00
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
2010-12-31 18:18:39 +01:00
Uwe Hermann 8c946de4d4 Some more LD paths fixes. 2010-12-30 14:12:32 +01:00
Uwe Hermann d37a786c63 Adapt 'make install' to new structure. 2010-12-30 13:32:52 +01:00
Uwe Hermann 48b514d3ef s/libopenstm32/libopencm3/ is some Makefiles. 2010-12-30 03:45:00 +01:00
Uwe Hermann 8e5acecc6e More path and name changes. 2010-12-30 02:57:44 +01:00
Uwe Hermann 8e084b1517 Move STM32-specific source to lib/stm32 subdir. 2010-12-30 02:12:31 +01:00
Uwe Hermann bcce98da54 Move STM32 examples to examples/stm32 subdir. 2010-12-30 01:52:44 +01:00
Uwe Hermann 6a16711bee Install USB headers upon 'make install'. 2010-12-29 17:09:22 +01:00
Uwe Hermann 87df73edf2 Print "Entering directory" only upon "make V=1". 2010-03-05 23:13:47 +01:00
Uwe Hermann 428e328b7e Install the ld script upon 'make install'. 2009-07-24 23:30:36 +02:00
Uwe Hermann 920ea7dbdb Fix typo, s/example/examples/ after an earlier rename. 2009-07-22 03:05:27 +02:00
Uwe Hermann db0e59da96 Rename example subdir to examples, we'll have more than one. 2009-07-20 15:35:12 +02:00
Uwe Hermann 83f5c58eb9 Switch the license to GPL, version 3 or later. 2009-07-18 16:27:47 +02:00
Uwe Hermann caeba0c631 Rename INCLUDEDIR to INCDIR for brevity. 2009-07-16 15:55:26 +02:00
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
2009-07-16 15:15:26 +02:00
Uwe Hermann f0661cb343 Make default build silent, use 'make V=1' for verbose build. 2009-07-16 14:55:22 +02:00
Uwe Hermann 74620a94d0 Add initial top-level Makefile. 2009-07-16 01:55:48 +02:00