Made all Lisa/M 2.0 examples luftboot ready.

This commit is contained in:
Piotr Esden-Tempski 2012-11-08 15:35:17 -08:00
parent 898691e5ef
commit 1544800a23
12 changed files with 26 additions and 4 deletions

View File

@ -18,6 +18,7 @@
## ##
BINARY = adc_injec BINARY = adc_injec
# Comment the following line if you _don't_ have luftboot flashed! # Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000 LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99 CFLAGS += -std=c99

View File

@ -18,6 +18,7 @@
## ##
BINARY = adc_injec_timtrig BINARY = adc_injec_timtrig
# Comment the following line if you _don't_ have luftboot flashed! # Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000 LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99 CFLAGS += -std=c99

View File

@ -18,6 +18,7 @@
## ##
BINARY = adc_injec_timtrig_irq BINARY = adc_injec_timtrig_irq
# Comment the following line if you _don't_ have luftboot flashed! # Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000 LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99 CFLAGS += -std=c99

View File

@ -18,6 +18,7 @@
## ##
BINARY = adc_injec_timtrig_irq_4ch BINARY = adc_injec_timtrig_irq_4ch
# Comment the following line if you _don't_ have luftboot flashed! # Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000 LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99 CFLAGS += -std=c99

View File

@ -18,6 +18,7 @@
## ##
BINARY = adc BINARY = adc
# Comment the following line if you _don't_ have luftboot flashed! # Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000 LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99 CFLAGS += -std=c99

View File

@ -19,11 +19,10 @@
BINARY = can BINARY = can
LDSCRIPT = ../lisa-m.ld # Comment the following line if you _don't_ have luftboot flashed!
# You need to set this if your device is running luftboot.
# All Lisa/M 2.0 come with Luftboot preflashed.
LDFLAGS += -Wl,-Ttext=0x8002000 LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include

View File

@ -19,6 +19,9 @@
BINARY = fancyblink BINARY = fancyblink
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include

View File

@ -19,6 +19,9 @@
BINARY = usart BINARY = usart
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include

View File

@ -19,6 +19,9 @@
BINARY = usart_dma BINARY = usart_dma
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include

View File

@ -19,6 +19,9 @@
BINARY = usart_irq BINARY = usart_irq
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include

View File

@ -19,6 +19,9 @@
BINARY = usart_irq_printf BINARY = usart_irq_printf
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include

View File

@ -19,6 +19,9 @@
BINARY = usart_printf BINARY = usart_printf
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include include ../../Makefile.include