Commit Graph

17 Commits

Author SHA1 Message Date
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 c3fea659d1 examples: Remove duplicate example linker scripts.
Only add one linker script per eval board, and have the Makefiles use that.

This avoids duplication, and various copy-paste errors and left-overs
which we already have in the tree.

Some of the linker scripts are not really correct, yet. Both, the comments
which say which board, chip, and RAM/ROM sizes are used, as well as the
actual RAM/ROM size definitions are sometimes copy-pasted from other boards
and are thus incorrect. This needs to be fixed.
2011-11-13 23:21:26 +01:00
Fergus Noble cbf6b8e54b Update examples Makefiles to use the make shell function rather than backticks for shell command expansion. Backticks are unreliable and don't work on all platforms. 2011-10-12 22:13:00 -04:00
Piotr Esden-Tempski 03a4a18ed6 Switched all makefiles to arm-none-eabi default. 2011-10-04 13:08:35 -07:00
Gareth McMullin cd88855d13 Delete example dependencies on 'make clean' 2011-04-24 14:05:37 +12: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
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.
2011-01-03 01:12:07 +01: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 a97dd10a95 More libopenstm32 renames. 2010-12-30 13:22:56 +01:00
Uwe Hermann 18790a2454 More renames for libopenstm32 -> libopencm3. 2010-12-30 13:19:25 +01:00
Uwe Hermann 48b514d3ef s/libopenstm32/libopencm3/ is some Makefiles. 2010-12-30 03:45:00 +01:00
Uwe Hermann 079dc05c73 Change some names to libopencm3. 2010-12-30 03:09:35 +01:00
Uwe Hermann 8e5acecc6e More path and name changes. 2010-12-30 02:57:44 +01:00
Uwe Hermann b65f3f06d0 Add initial lpc-p1343/miniblink example (untested).
This is not yet tested on hardware, it probably won't work, yet.
2010-12-30 01:36:16 +01:00