From 8f251e8a9d46634be4741f7f1aef3d52fb1b7dba Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 31 Dec 2010 18:18:39 +0100 Subject: Some more file/path restructuring. All #includes now explicitly use the "" 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 --- examples/stm32/stm32-h103/spi/spi.c | 4 ++-- examples/stm32/stm32-h103/spi/spi.ld | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/stm32/stm32-h103/spi') diff --git a/examples/stm32/stm32-h103/spi/spi.c b/examples/stm32/stm32-h103/spi/spi.c index 749b756..5a36bb8 100644 --- a/examples/stm32/stm32-h103/spi/spi.c +++ b/examples/stm32/stm32-h103/spi/spi.c @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#include -#include +#include +#include void clock_setup(void) { diff --git a/examples/stm32/stm32-h103/spi/spi.ld b/examples/stm32/stm32-h103/spi/spi.ld index b06cbed..25806f8 100644 --- a/examples/stm32/stm32-h103/spi/spi.ld +++ b/examples/stm32/stm32-h103/spi/spi.ld @@ -27,5 +27,5 @@ MEMORY } /* Include the common ld script. */ -INCLUDE stm32.ld +INCLUDE libopencm3_stm32.ld -- cgit v1.2.3