Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
atmega_common: allow defining rom and ram length for link.
This commit is contained in:
commit
fad4d9be19
@ -14,4 +14,7 @@ export FFLAGS += -p m328p
|
|||||||
# overridden for debugging (which requires changes that require to use an ISP)
|
# overridden for debugging (which requires changes that require to use an ISP)
|
||||||
export PROGRAMMER ?= arduino
|
export PROGRAMMER ?= arduino
|
||||||
|
|
||||||
|
BOOTLOADER_SIZE ?= 2K
|
||||||
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
||||||
|
|||||||
@ -14,4 +14,7 @@ export FFLAGS += -p m2560
|
|||||||
# overridden for debugging (which requires changes that require to use an ISP)
|
# overridden for debugging (which requires changes that require to use an ISP)
|
||||||
export PROGRAMMER ?= stk500v2
|
export PROGRAMMER ?= stk500v2
|
||||||
|
|
||||||
|
BOOTLOADER_SIZE ?= 8K
|
||||||
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
||||||
|
|||||||
@ -14,4 +14,7 @@ export FFLAGS += -p m328p
|
|||||||
# overridden for debugging (which requires changes that require to use an ISP)
|
# overridden for debugging (which requires changes that require to use an ISP)
|
||||||
export PROGRAMMER ?= arduino
|
export PROGRAMMER ?= arduino
|
||||||
|
|
||||||
|
BOOTLOADER_SIZE ?= 512
|
||||||
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
||||||
|
|||||||
@ -21,4 +21,8 @@ export BAUD = 38400
|
|||||||
# overridden for debugging (which requires changes that require to use an ISP)
|
# overridden for debugging (which requires changes that require to use an ISP)
|
||||||
export PROGRAMMER ?= wiring
|
export PROGRAMMER ?= wiring
|
||||||
|
|
||||||
|
# From current fuse configuration
|
||||||
|
BOOTLOADER_SIZE ?= 4K
|
||||||
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
# define the cpu used by the Mega Xplained board
|
# define the cpu used by the Mega Xplained board
|
||||||
export CPU = atmega1284p
|
export CPU = atmega1284p
|
||||||
|
|
||||||
|
# Found by checking fuse settings (2048 words so 4KB)
|
||||||
|
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
|
||||||
|
BOOTLOADER_SIZE ?= 4K
|
||||||
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
export PORT_LINUX ?= /dev/ttyACM0
|
export PORT_LINUX ?= /dev/ttyACM0
|
||||||
export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
# define the cpu used by the waspmote pro board
|
# define the cpu used by the waspmote pro board
|
||||||
export CPU = atmega1281
|
export CPU = atmega1281
|
||||||
|
|
||||||
|
# Bootloader uses stk500v1 protocol, which usually is implemented in
|
||||||
|
# bootloaders of 2K size.
|
||||||
|
# http://www.libelium.com/products/waspmote/hardware/
|
||||||
|
BOOTLOADER_SIZE ?= 2K
|
||||||
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||||
|
|||||||
@ -8,5 +8,8 @@ export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
|||||||
# Without this the interrupt vectors will not be linked correctly!
|
# Without this the interrupt vectors will not be linked correctly!
|
||||||
export UNDEF += $(BINDIR)/cpu/startup.o
|
export UNDEF += $(BINDIR)/cpu/startup.o
|
||||||
|
|
||||||
|
RAM_LEN = 8K
|
||||||
|
ROM_LEN = 128K
|
||||||
|
|
||||||
# CPU depends on the atmega common module, so include it
|
# CPU depends on the atmega common module, so include it
|
||||||
include $(ATMEGA_COMMON)Makefile.include
|
include $(ATMEGA_COMMON)Makefile.include
|
||||||
|
|||||||
8
cpu/atmega1281/ldscripts_compat/README.md
Normal file
8
cpu/atmega1281/ldscripts_compat/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
avr linkerscript
|
||||||
|
================
|
||||||
|
|
||||||
|
Starting from avr-binutils 2.26, the linker defines symbol that can be
|
||||||
|
overriden to configure ROM and RAM length.
|
||||||
|
|
||||||
|
This ldscript is used for supporting older versions on avr-binutils like on
|
||||||
|
ubuntu xenial.
|
||||||
262
cpu/atmega1281/ldscripts_compat/avr_2.26.ld
Normal file
262
cpu/atmega1281/ldscripts_compat/avr_2.26.ld
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
/* Script for -n: mix text and data on same page */
|
||||||
|
/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
||||||
|
Copying and distribution of this script, with or without modification,
|
||||||
|
are permitted in any medium without royalty provided the copyright
|
||||||
|
notice and this notice are preserved. */
|
||||||
|
OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr")
|
||||||
|
OUTPUT_ARCH(avr:51)
|
||||||
|
__TEXT_REGION_LENGTH__ = DEFINED(__TEXT_REGION_LENGTH__) ? __TEXT_REGION_LENGTH__ : 128K;
|
||||||
|
__DATA_REGION_LENGTH__ = DEFINED(__DATA_REGION_LENGTH__) ? __DATA_REGION_LENGTH__ : 0xff00;
|
||||||
|
__EEPROM_REGION_LENGTH__ = DEFINED(__EEPROM_REGION_LENGTH__) ? __EEPROM_REGION_LENGTH__ : 64K;
|
||||||
|
__FUSE_REGION_LENGTH__ = DEFINED(__FUSE_REGION_LENGTH__) ? __FUSE_REGION_LENGTH__ : 1K;
|
||||||
|
__LOCK_REGION_LENGTH__ = DEFINED(__LOCK_REGION_LENGTH__) ? __LOCK_REGION_LENGTH__ : 1K;
|
||||||
|
__SIGNATURE_REGION_LENGTH__ = DEFINED(__SIGNATURE_REGION_LENGTH__) ? __SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
__USER_SIGNATURE_REGION_LENGTH__ = DEFINED(__USER_SIGNATURE_REGION_LENGTH__) ? __USER_SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
text (rx) : ORIGIN = 0, LENGTH = __TEXT_REGION_LENGTH__
|
||||||
|
data (rw!x) : ORIGIN = 0x800100, LENGTH = __DATA_REGION_LENGTH__
|
||||||
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = __EEPROM_REGION_LENGTH__
|
||||||
|
fuse (rw!x) : ORIGIN = 0x820000, LENGTH = __FUSE_REGION_LENGTH__
|
||||||
|
lock (rw!x) : ORIGIN = 0x830000, LENGTH = __LOCK_REGION_LENGTH__
|
||||||
|
signature (rw!x) : ORIGIN = 0x840000, LENGTH = __SIGNATURE_REGION_LENGTH__
|
||||||
|
user_signatures (rw!x) : ORIGIN = 0x850000, LENGTH = __USER_SIGNATURE_REGION_LENGTH__
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
.hash : { *(.hash) }
|
||||||
|
.dynsym : { *(.dynsym) }
|
||||||
|
.dynstr : { *(.dynstr) }
|
||||||
|
.gnu.version : { *(.gnu.version) }
|
||||||
|
.gnu.version_d : { *(.gnu.version_d) }
|
||||||
|
.gnu.version_r : { *(.gnu.version_r) }
|
||||||
|
.rel.init : { *(.rel.init) }
|
||||||
|
.rela.init : { *(.rela.init) }
|
||||||
|
.rel.text :
|
||||||
|
{
|
||||||
|
*(.rel.text)
|
||||||
|
*(.rel.text.*)
|
||||||
|
*(.rel.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rela.text :
|
||||||
|
{
|
||||||
|
*(.rela.text)
|
||||||
|
*(.rela.text.*)
|
||||||
|
*(.rela.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rel.fini : { *(.rel.fini) }
|
||||||
|
.rela.fini : { *(.rela.fini) }
|
||||||
|
.rel.rodata :
|
||||||
|
{
|
||||||
|
*(.rel.rodata)
|
||||||
|
*(.rel.rodata.*)
|
||||||
|
*(.rel.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rela.rodata :
|
||||||
|
{
|
||||||
|
*(.rela.rodata)
|
||||||
|
*(.rela.rodata.*)
|
||||||
|
*(.rela.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rel.data :
|
||||||
|
{
|
||||||
|
*(.rel.data)
|
||||||
|
*(.rel.data.*)
|
||||||
|
*(.rel.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rela.data :
|
||||||
|
{
|
||||||
|
*(.rela.data)
|
||||||
|
*(.rela.data.*)
|
||||||
|
*(.rela.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rel.ctors : { *(.rel.ctors) }
|
||||||
|
.rela.ctors : { *(.rela.ctors) }
|
||||||
|
.rel.dtors : { *(.rel.dtors) }
|
||||||
|
.rela.dtors : { *(.rela.dtors) }
|
||||||
|
.rel.got : { *(.rel.got) }
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.bss : { *(.rel.bss) }
|
||||||
|
.rela.bss : { *(.rela.bss) }
|
||||||
|
.rel.plt : { *(.rel.plt) }
|
||||||
|
.rela.plt : { *(.rela.plt) }
|
||||||
|
/* Internal text space or external memory. */
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.vectors)
|
||||||
|
KEEP(*(.vectors))
|
||||||
|
/* For data that needs to reside in the lower 64k of progmem. */
|
||||||
|
*(.progmem.gcc*)
|
||||||
|
/* PR 13812: Placing the trampolines here gives a better chance
|
||||||
|
that they will be in range of the code that uses them. */
|
||||||
|
. = ALIGN(2);
|
||||||
|
__trampolines_start = . ;
|
||||||
|
/* The jump trampolines for the 16-bit limited relocs will reside here. */
|
||||||
|
*(.trampolines)
|
||||||
|
*(.trampolines*)
|
||||||
|
__trampolines_end = . ;
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
*libprintf_flt.a:*(.progmem.data)
|
||||||
|
*libc.a:*(.progmem.data)
|
||||||
|
*(.progmem*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
/* For future tablejump instruction arrays for 3 byte pc devices.
|
||||||
|
We don't relax jump/call instructions within these sections. */
|
||||||
|
*(.jumptables)
|
||||||
|
*(.jumptables*)
|
||||||
|
/* For code that needs to reside in the lower 128k progmem. */
|
||||||
|
*(.lowtext)
|
||||||
|
*(.lowtext*)
|
||||||
|
__ctors_start = . ;
|
||||||
|
*(.ctors)
|
||||||
|
__ctors_end = . ;
|
||||||
|
__dtors_start = . ;
|
||||||
|
*(.dtors)
|
||||||
|
__dtors_end = . ;
|
||||||
|
KEEP(SORT(*)(.ctors))
|
||||||
|
KEEP(SORT(*)(.dtors))
|
||||||
|
/* From this point on, we don't bother about wether the insns are
|
||||||
|
below or above the 16 bits boundary. */
|
||||||
|
*(.init0) /* Start here after reset. */
|
||||||
|
KEEP (*(.init0))
|
||||||
|
*(.init1)
|
||||||
|
KEEP (*(.init1))
|
||||||
|
*(.init2) /* Clear __zero_reg__, set up stack pointer. */
|
||||||
|
KEEP (*(.init2))
|
||||||
|
*(.init3)
|
||||||
|
KEEP (*(.init3))
|
||||||
|
*(.init4) /* Initialize data and BSS. */
|
||||||
|
KEEP (*(.init4))
|
||||||
|
*(.init5)
|
||||||
|
KEEP (*(.init5))
|
||||||
|
*(.init6) /* C++ constructors. */
|
||||||
|
KEEP (*(.init6))
|
||||||
|
*(.init7)
|
||||||
|
KEEP (*(.init7))
|
||||||
|
*(.init8)
|
||||||
|
KEEP (*(.init8))
|
||||||
|
*(.init9) /* Call main(). */
|
||||||
|
KEEP (*(.init9))
|
||||||
|
*(.text)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.text.*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.fini9) /* _exit() starts here. */
|
||||||
|
KEEP (*(.fini9))
|
||||||
|
*(.fini8)
|
||||||
|
KEEP (*(.fini8))
|
||||||
|
*(.fini7)
|
||||||
|
KEEP (*(.fini7))
|
||||||
|
*(.fini6) /* C++ destructors. */
|
||||||
|
KEEP (*(.fini6))
|
||||||
|
*(.fini5)
|
||||||
|
KEEP (*(.fini5))
|
||||||
|
*(.fini4)
|
||||||
|
KEEP (*(.fini4))
|
||||||
|
*(.fini3)
|
||||||
|
KEEP (*(.fini3))
|
||||||
|
*(.fini2)
|
||||||
|
KEEP (*(.fini2))
|
||||||
|
*(.fini1)
|
||||||
|
KEEP (*(.fini1))
|
||||||
|
*(.fini0) /* Infinite loop after program termination. */
|
||||||
|
KEEP (*(.fini0))
|
||||||
|
_etext = . ;
|
||||||
|
} > text
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
PROVIDE (__data_start = .) ;
|
||||||
|
*(.data)
|
||||||
|
*(.data*)
|
||||||
|
*(.rodata) /* We need to include .rodata here if gcc is used */
|
||||||
|
*(.rodata*) /* with -fdata-sections. */
|
||||||
|
*(.gnu.linkonce.d*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
_edata = . ;
|
||||||
|
PROVIDE (__data_end = .) ;
|
||||||
|
} > data AT> text
|
||||||
|
.bss ADDR(.data) + SIZEOF (.data) : AT (ADDR (.bss))
|
||||||
|
{
|
||||||
|
PROVIDE (__bss_start = .) ;
|
||||||
|
*(.bss)
|
||||||
|
*(.bss*)
|
||||||
|
*(COMMON)
|
||||||
|
PROVIDE (__bss_end = .) ;
|
||||||
|
} > data
|
||||||
|
__data_load_start = LOADADDR(.data);
|
||||||
|
__data_load_end = __data_load_start + SIZEOF(.data);
|
||||||
|
/* Global data not cleared after reset. */
|
||||||
|
.noinit ADDR(.bss) + SIZEOF (.bss) : AT (ADDR (.noinit))
|
||||||
|
{
|
||||||
|
PROVIDE (__noinit_start = .) ;
|
||||||
|
*(.noinit*)
|
||||||
|
PROVIDE (__noinit_end = .) ;
|
||||||
|
_end = . ;
|
||||||
|
PROVIDE (__heap_start = .) ;
|
||||||
|
} > data
|
||||||
|
.eeprom :
|
||||||
|
{
|
||||||
|
/* See .data above... */
|
||||||
|
KEEP(*(.eeprom*))
|
||||||
|
__eeprom_end = . ;
|
||||||
|
} > eeprom
|
||||||
|
.fuse :
|
||||||
|
{
|
||||||
|
KEEP(*(.fuse))
|
||||||
|
KEEP(*(.lfuse))
|
||||||
|
KEEP(*(.hfuse))
|
||||||
|
KEEP(*(.efuse))
|
||||||
|
} > fuse
|
||||||
|
.lock :
|
||||||
|
{
|
||||||
|
KEEP(*(.lock*))
|
||||||
|
} > lock
|
||||||
|
.signature :
|
||||||
|
{
|
||||||
|
KEEP(*(.signature*))
|
||||||
|
} > signature
|
||||||
|
.user_signatures :
|
||||||
|
{
|
||||||
|
KEEP(*(.user_signatures*))
|
||||||
|
} > user_signatures
|
||||||
|
/* Stabs debugging sections. */
|
||||||
|
.stab 0 : { *(.stab) }
|
||||||
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
.stab.excl 0 : { *(.stab.excl) }
|
||||||
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||||
|
.stab.index 0 : { *(.stab.index) }
|
||||||
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||||
|
.comment 0 : { *(.comment) }
|
||||||
|
.note.gnu.build-id : { *(.note.gnu.build-id) }
|
||||||
|
/* DWARF debug sections.
|
||||||
|
Symbols in the DWARF debugging sections are relative to the beginning
|
||||||
|
of the section so we begin them at 0. */
|
||||||
|
/* DWARF 1 */
|
||||||
|
.debug 0 : { *(.debug) }
|
||||||
|
.line 0 : { *(.line) }
|
||||||
|
/* GNU DWARF 1 extensions */
|
||||||
|
.debug_srcinfo 0 : { *(.debug_srcinfo) }
|
||||||
|
.debug_sfnames 0 : { *(.debug_sfnames) }
|
||||||
|
/* DWARF 1.1 and DWARF 2 */
|
||||||
|
.debug_aranges 0 : { *(.debug_aranges) }
|
||||||
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||||
|
/* DWARF 2 */
|
||||||
|
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
|
||||||
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||||
|
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
|
||||||
|
.debug_frame 0 : { *(.debug_frame) }
|
||||||
|
.debug_str 0 : { *(.debug_str) }
|
||||||
|
.debug_loc 0 : { *(.debug_loc) }
|
||||||
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
||||||
|
/* SGI/MIPS DWARF 2 extensions */
|
||||||
|
.debug_weaknames 0 : { *(.debug_weaknames) }
|
||||||
|
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||||
|
.debug_typenames 0 : { *(.debug_typenames) }
|
||||||
|
.debug_varnames 0 : { *(.debug_varnames) }
|
||||||
|
/* DWARF 3 */
|
||||||
|
.debug_pubtypes 0 : { *(.debug_pubtypes) }
|
||||||
|
.debug_ranges 0 : { *(.debug_ranges) }
|
||||||
|
/* DWARF Extension. */
|
||||||
|
.debug_macro 0 : { *(.debug_macro) }
|
||||||
|
}
|
||||||
@ -4,5 +4,8 @@ USEMODULE += atmega_common
|
|||||||
# define path to atmega common module, which is needed for this CPU
|
# define path to atmega common module, which is needed for this CPU
|
||||||
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
||||||
|
|
||||||
|
RAM_LEN = 16K
|
||||||
|
ROM_LEN = 128K
|
||||||
|
|
||||||
# CPU depends on the atmega common module, so include it
|
# CPU depends on the atmega common module, so include it
|
||||||
include $(ATMEGA_COMMON)Makefile.include
|
include $(ATMEGA_COMMON)Makefile.include
|
||||||
|
|||||||
8
cpu/atmega1284p/ldscripts_compat/README.md
Normal file
8
cpu/atmega1284p/ldscripts_compat/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
avr linkerscript
|
||||||
|
================
|
||||||
|
|
||||||
|
Starting from avr-binutils 2.26, the linker defines symbol that can be
|
||||||
|
overriden to configure ROM and RAM length.
|
||||||
|
|
||||||
|
This ldscript is used for supporting older versions on avr-binutils like on
|
||||||
|
ubuntu xenial.
|
||||||
262
cpu/atmega1284p/ldscripts_compat/avr_2.26.ld
Normal file
262
cpu/atmega1284p/ldscripts_compat/avr_2.26.ld
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
/* Script for -n: mix text and data on same page */
|
||||||
|
/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
||||||
|
Copying and distribution of this script, with or without modification,
|
||||||
|
are permitted in any medium without royalty provided the copyright
|
||||||
|
notice and this notice are preserved. */
|
||||||
|
OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr")
|
||||||
|
OUTPUT_ARCH(avr:51)
|
||||||
|
__TEXT_REGION_LENGTH__ = DEFINED(__TEXT_REGION_LENGTH__) ? __TEXT_REGION_LENGTH__ : 128K;
|
||||||
|
__DATA_REGION_LENGTH__ = DEFINED(__DATA_REGION_LENGTH__) ? __DATA_REGION_LENGTH__ : 0xff00;
|
||||||
|
__EEPROM_REGION_LENGTH__ = DEFINED(__EEPROM_REGION_LENGTH__) ? __EEPROM_REGION_LENGTH__ : 64K;
|
||||||
|
__FUSE_REGION_LENGTH__ = DEFINED(__FUSE_REGION_LENGTH__) ? __FUSE_REGION_LENGTH__ : 1K;
|
||||||
|
__LOCK_REGION_LENGTH__ = DEFINED(__LOCK_REGION_LENGTH__) ? __LOCK_REGION_LENGTH__ : 1K;
|
||||||
|
__SIGNATURE_REGION_LENGTH__ = DEFINED(__SIGNATURE_REGION_LENGTH__) ? __SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
__USER_SIGNATURE_REGION_LENGTH__ = DEFINED(__USER_SIGNATURE_REGION_LENGTH__) ? __USER_SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
text (rx) : ORIGIN = 0, LENGTH = __TEXT_REGION_LENGTH__
|
||||||
|
data (rw!x) : ORIGIN = 0x800100, LENGTH = __DATA_REGION_LENGTH__
|
||||||
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = __EEPROM_REGION_LENGTH__
|
||||||
|
fuse (rw!x) : ORIGIN = 0x820000, LENGTH = __FUSE_REGION_LENGTH__
|
||||||
|
lock (rw!x) : ORIGIN = 0x830000, LENGTH = __LOCK_REGION_LENGTH__
|
||||||
|
signature (rw!x) : ORIGIN = 0x840000, LENGTH = __SIGNATURE_REGION_LENGTH__
|
||||||
|
user_signatures (rw!x) : ORIGIN = 0x850000, LENGTH = __USER_SIGNATURE_REGION_LENGTH__
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
.hash : { *(.hash) }
|
||||||
|
.dynsym : { *(.dynsym) }
|
||||||
|
.dynstr : { *(.dynstr) }
|
||||||
|
.gnu.version : { *(.gnu.version) }
|
||||||
|
.gnu.version_d : { *(.gnu.version_d) }
|
||||||
|
.gnu.version_r : { *(.gnu.version_r) }
|
||||||
|
.rel.init : { *(.rel.init) }
|
||||||
|
.rela.init : { *(.rela.init) }
|
||||||
|
.rel.text :
|
||||||
|
{
|
||||||
|
*(.rel.text)
|
||||||
|
*(.rel.text.*)
|
||||||
|
*(.rel.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rela.text :
|
||||||
|
{
|
||||||
|
*(.rela.text)
|
||||||
|
*(.rela.text.*)
|
||||||
|
*(.rela.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rel.fini : { *(.rel.fini) }
|
||||||
|
.rela.fini : { *(.rela.fini) }
|
||||||
|
.rel.rodata :
|
||||||
|
{
|
||||||
|
*(.rel.rodata)
|
||||||
|
*(.rel.rodata.*)
|
||||||
|
*(.rel.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rela.rodata :
|
||||||
|
{
|
||||||
|
*(.rela.rodata)
|
||||||
|
*(.rela.rodata.*)
|
||||||
|
*(.rela.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rel.data :
|
||||||
|
{
|
||||||
|
*(.rel.data)
|
||||||
|
*(.rel.data.*)
|
||||||
|
*(.rel.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rela.data :
|
||||||
|
{
|
||||||
|
*(.rela.data)
|
||||||
|
*(.rela.data.*)
|
||||||
|
*(.rela.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rel.ctors : { *(.rel.ctors) }
|
||||||
|
.rela.ctors : { *(.rela.ctors) }
|
||||||
|
.rel.dtors : { *(.rel.dtors) }
|
||||||
|
.rela.dtors : { *(.rela.dtors) }
|
||||||
|
.rel.got : { *(.rel.got) }
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.bss : { *(.rel.bss) }
|
||||||
|
.rela.bss : { *(.rela.bss) }
|
||||||
|
.rel.plt : { *(.rel.plt) }
|
||||||
|
.rela.plt : { *(.rela.plt) }
|
||||||
|
/* Internal text space or external memory. */
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.vectors)
|
||||||
|
KEEP(*(.vectors))
|
||||||
|
/* For data that needs to reside in the lower 64k of progmem. */
|
||||||
|
*(.progmem.gcc*)
|
||||||
|
/* PR 13812: Placing the trampolines here gives a better chance
|
||||||
|
that they will be in range of the code that uses them. */
|
||||||
|
. = ALIGN(2);
|
||||||
|
__trampolines_start = . ;
|
||||||
|
/* The jump trampolines for the 16-bit limited relocs will reside here. */
|
||||||
|
*(.trampolines)
|
||||||
|
*(.trampolines*)
|
||||||
|
__trampolines_end = . ;
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
*libprintf_flt.a:*(.progmem.data)
|
||||||
|
*libc.a:*(.progmem.data)
|
||||||
|
*(.progmem*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
/* For future tablejump instruction arrays for 3 byte pc devices.
|
||||||
|
We don't relax jump/call instructions within these sections. */
|
||||||
|
*(.jumptables)
|
||||||
|
*(.jumptables*)
|
||||||
|
/* For code that needs to reside in the lower 128k progmem. */
|
||||||
|
*(.lowtext)
|
||||||
|
*(.lowtext*)
|
||||||
|
__ctors_start = . ;
|
||||||
|
*(.ctors)
|
||||||
|
__ctors_end = . ;
|
||||||
|
__dtors_start = . ;
|
||||||
|
*(.dtors)
|
||||||
|
__dtors_end = . ;
|
||||||
|
KEEP(SORT(*)(.ctors))
|
||||||
|
KEEP(SORT(*)(.dtors))
|
||||||
|
/* From this point on, we don't bother about wether the insns are
|
||||||
|
below or above the 16 bits boundary. */
|
||||||
|
*(.init0) /* Start here after reset. */
|
||||||
|
KEEP (*(.init0))
|
||||||
|
*(.init1)
|
||||||
|
KEEP (*(.init1))
|
||||||
|
*(.init2) /* Clear __zero_reg__, set up stack pointer. */
|
||||||
|
KEEP (*(.init2))
|
||||||
|
*(.init3)
|
||||||
|
KEEP (*(.init3))
|
||||||
|
*(.init4) /* Initialize data and BSS. */
|
||||||
|
KEEP (*(.init4))
|
||||||
|
*(.init5)
|
||||||
|
KEEP (*(.init5))
|
||||||
|
*(.init6) /* C++ constructors. */
|
||||||
|
KEEP (*(.init6))
|
||||||
|
*(.init7)
|
||||||
|
KEEP (*(.init7))
|
||||||
|
*(.init8)
|
||||||
|
KEEP (*(.init8))
|
||||||
|
*(.init9) /* Call main(). */
|
||||||
|
KEEP (*(.init9))
|
||||||
|
*(.text)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.text.*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.fini9) /* _exit() starts here. */
|
||||||
|
KEEP (*(.fini9))
|
||||||
|
*(.fini8)
|
||||||
|
KEEP (*(.fini8))
|
||||||
|
*(.fini7)
|
||||||
|
KEEP (*(.fini7))
|
||||||
|
*(.fini6) /* C++ destructors. */
|
||||||
|
KEEP (*(.fini6))
|
||||||
|
*(.fini5)
|
||||||
|
KEEP (*(.fini5))
|
||||||
|
*(.fini4)
|
||||||
|
KEEP (*(.fini4))
|
||||||
|
*(.fini3)
|
||||||
|
KEEP (*(.fini3))
|
||||||
|
*(.fini2)
|
||||||
|
KEEP (*(.fini2))
|
||||||
|
*(.fini1)
|
||||||
|
KEEP (*(.fini1))
|
||||||
|
*(.fini0) /* Infinite loop after program termination. */
|
||||||
|
KEEP (*(.fini0))
|
||||||
|
_etext = . ;
|
||||||
|
} > text
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
PROVIDE (__data_start = .) ;
|
||||||
|
*(.data)
|
||||||
|
*(.data*)
|
||||||
|
*(.rodata) /* We need to include .rodata here if gcc is used */
|
||||||
|
*(.rodata*) /* with -fdata-sections. */
|
||||||
|
*(.gnu.linkonce.d*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
_edata = . ;
|
||||||
|
PROVIDE (__data_end = .) ;
|
||||||
|
} > data AT> text
|
||||||
|
.bss ADDR(.data) + SIZEOF (.data) : AT (ADDR (.bss))
|
||||||
|
{
|
||||||
|
PROVIDE (__bss_start = .) ;
|
||||||
|
*(.bss)
|
||||||
|
*(.bss*)
|
||||||
|
*(COMMON)
|
||||||
|
PROVIDE (__bss_end = .) ;
|
||||||
|
} > data
|
||||||
|
__data_load_start = LOADADDR(.data);
|
||||||
|
__data_load_end = __data_load_start + SIZEOF(.data);
|
||||||
|
/* Global data not cleared after reset. */
|
||||||
|
.noinit ADDR(.bss) + SIZEOF (.bss) : AT (ADDR (.noinit))
|
||||||
|
{
|
||||||
|
PROVIDE (__noinit_start = .) ;
|
||||||
|
*(.noinit*)
|
||||||
|
PROVIDE (__noinit_end = .) ;
|
||||||
|
_end = . ;
|
||||||
|
PROVIDE (__heap_start = .) ;
|
||||||
|
} > data
|
||||||
|
.eeprom :
|
||||||
|
{
|
||||||
|
/* See .data above... */
|
||||||
|
KEEP(*(.eeprom*))
|
||||||
|
__eeprom_end = . ;
|
||||||
|
} > eeprom
|
||||||
|
.fuse :
|
||||||
|
{
|
||||||
|
KEEP(*(.fuse))
|
||||||
|
KEEP(*(.lfuse))
|
||||||
|
KEEP(*(.hfuse))
|
||||||
|
KEEP(*(.efuse))
|
||||||
|
} > fuse
|
||||||
|
.lock :
|
||||||
|
{
|
||||||
|
KEEP(*(.lock*))
|
||||||
|
} > lock
|
||||||
|
.signature :
|
||||||
|
{
|
||||||
|
KEEP(*(.signature*))
|
||||||
|
} > signature
|
||||||
|
.user_signatures :
|
||||||
|
{
|
||||||
|
KEEP(*(.user_signatures*))
|
||||||
|
} > user_signatures
|
||||||
|
/* Stabs debugging sections. */
|
||||||
|
.stab 0 : { *(.stab) }
|
||||||
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
.stab.excl 0 : { *(.stab.excl) }
|
||||||
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||||
|
.stab.index 0 : { *(.stab.index) }
|
||||||
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||||
|
.comment 0 : { *(.comment) }
|
||||||
|
.note.gnu.build-id : { *(.note.gnu.build-id) }
|
||||||
|
/* DWARF debug sections.
|
||||||
|
Symbols in the DWARF debugging sections are relative to the beginning
|
||||||
|
of the section so we begin them at 0. */
|
||||||
|
/* DWARF 1 */
|
||||||
|
.debug 0 : { *(.debug) }
|
||||||
|
.line 0 : { *(.line) }
|
||||||
|
/* GNU DWARF 1 extensions */
|
||||||
|
.debug_srcinfo 0 : { *(.debug_srcinfo) }
|
||||||
|
.debug_sfnames 0 : { *(.debug_sfnames) }
|
||||||
|
/* DWARF 1.1 and DWARF 2 */
|
||||||
|
.debug_aranges 0 : { *(.debug_aranges) }
|
||||||
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||||
|
/* DWARF 2 */
|
||||||
|
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
|
||||||
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||||
|
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
|
||||||
|
.debug_frame 0 : { *(.debug_frame) }
|
||||||
|
.debug_str 0 : { *(.debug_str) }
|
||||||
|
.debug_loc 0 : { *(.debug_loc) }
|
||||||
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
||||||
|
/* SGI/MIPS DWARF 2 extensions */
|
||||||
|
.debug_weaknames 0 : { *(.debug_weaknames) }
|
||||||
|
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||||
|
.debug_typenames 0 : { *(.debug_typenames) }
|
||||||
|
.debug_varnames 0 : { *(.debug_varnames) }
|
||||||
|
/* DWARF 3 */
|
||||||
|
.debug_pubtypes 0 : { *(.debug_pubtypes) }
|
||||||
|
.debug_ranges 0 : { *(.debug_ranges) }
|
||||||
|
/* DWARF Extension. */
|
||||||
|
.debug_macro 0 : { *(.debug_macro) }
|
||||||
|
}
|
||||||
@ -8,5 +8,8 @@ export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
|||||||
# Without this the interrupt vectors will not be linked correctly!
|
# Without this the interrupt vectors will not be linked correctly!
|
||||||
export UNDEF += $(BINDIR)/cpu/startup.o
|
export UNDEF += $(BINDIR)/cpu/startup.o
|
||||||
|
|
||||||
|
RAM_LEN = 8K
|
||||||
|
ROM_LEN = 256K
|
||||||
|
|
||||||
# CPU depends on the atmega common module, so include it
|
# CPU depends on the atmega common module, so include it
|
||||||
include $(ATMEGA_COMMON)Makefile.include
|
include $(ATMEGA_COMMON)Makefile.include
|
||||||
|
|||||||
8
cpu/atmega2560/ldscripts_compat/README.md
Normal file
8
cpu/atmega2560/ldscripts_compat/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
avr linkerscript
|
||||||
|
================
|
||||||
|
|
||||||
|
Starting from avr-binutils 2.26, the linker defines symbol that can be
|
||||||
|
overriden to configure ROM and RAM length.
|
||||||
|
|
||||||
|
This ldscript is used for supporting older versions on avr-binutils like on
|
||||||
|
ubuntu xenial.
|
||||||
262
cpu/atmega2560/ldscripts_compat/avr_2.26.ld
Normal file
262
cpu/atmega2560/ldscripts_compat/avr_2.26.ld
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
/* Script for -n: mix text and data on same page */
|
||||||
|
/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
||||||
|
Copying and distribution of this script, with or without modification,
|
||||||
|
are permitted in any medium without royalty provided the copyright
|
||||||
|
notice and this notice are preserved. */
|
||||||
|
OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr")
|
||||||
|
OUTPUT_ARCH(avr:6)
|
||||||
|
__TEXT_REGION_LENGTH__ = DEFINED(__TEXT_REGION_LENGTH__) ? __TEXT_REGION_LENGTH__ : 1024K;
|
||||||
|
__DATA_REGION_LENGTH__ = DEFINED(__DATA_REGION_LENGTH__) ? __DATA_REGION_LENGTH__ : 0xfe00;
|
||||||
|
__EEPROM_REGION_LENGTH__ = DEFINED(__EEPROM_REGION_LENGTH__) ? __EEPROM_REGION_LENGTH__ : 64K;
|
||||||
|
__FUSE_REGION_LENGTH__ = DEFINED(__FUSE_REGION_LENGTH__) ? __FUSE_REGION_LENGTH__ : 1K;
|
||||||
|
__LOCK_REGION_LENGTH__ = DEFINED(__LOCK_REGION_LENGTH__) ? __LOCK_REGION_LENGTH__ : 1K;
|
||||||
|
__SIGNATURE_REGION_LENGTH__ = DEFINED(__SIGNATURE_REGION_LENGTH__) ? __SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
__USER_SIGNATURE_REGION_LENGTH__ = DEFINED(__USER_SIGNATURE_REGION_LENGTH__) ? __USER_SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
text (rx) : ORIGIN = 0, LENGTH = __TEXT_REGION_LENGTH__
|
||||||
|
data (rw!x) : ORIGIN = 0x800200, LENGTH = __DATA_REGION_LENGTH__
|
||||||
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = __EEPROM_REGION_LENGTH__
|
||||||
|
fuse (rw!x) : ORIGIN = 0x820000, LENGTH = __FUSE_REGION_LENGTH__
|
||||||
|
lock (rw!x) : ORIGIN = 0x830000, LENGTH = __LOCK_REGION_LENGTH__
|
||||||
|
signature (rw!x) : ORIGIN = 0x840000, LENGTH = __SIGNATURE_REGION_LENGTH__
|
||||||
|
user_signatures (rw!x) : ORIGIN = 0x850000, LENGTH = __USER_SIGNATURE_REGION_LENGTH__
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
.hash : { *(.hash) }
|
||||||
|
.dynsym : { *(.dynsym) }
|
||||||
|
.dynstr : { *(.dynstr) }
|
||||||
|
.gnu.version : { *(.gnu.version) }
|
||||||
|
.gnu.version_d : { *(.gnu.version_d) }
|
||||||
|
.gnu.version_r : { *(.gnu.version_r) }
|
||||||
|
.rel.init : { *(.rel.init) }
|
||||||
|
.rela.init : { *(.rela.init) }
|
||||||
|
.rel.text :
|
||||||
|
{
|
||||||
|
*(.rel.text)
|
||||||
|
*(.rel.text.*)
|
||||||
|
*(.rel.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rela.text :
|
||||||
|
{
|
||||||
|
*(.rela.text)
|
||||||
|
*(.rela.text.*)
|
||||||
|
*(.rela.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rel.fini : { *(.rel.fini) }
|
||||||
|
.rela.fini : { *(.rela.fini) }
|
||||||
|
.rel.rodata :
|
||||||
|
{
|
||||||
|
*(.rel.rodata)
|
||||||
|
*(.rel.rodata.*)
|
||||||
|
*(.rel.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rela.rodata :
|
||||||
|
{
|
||||||
|
*(.rela.rodata)
|
||||||
|
*(.rela.rodata.*)
|
||||||
|
*(.rela.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rel.data :
|
||||||
|
{
|
||||||
|
*(.rel.data)
|
||||||
|
*(.rel.data.*)
|
||||||
|
*(.rel.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rela.data :
|
||||||
|
{
|
||||||
|
*(.rela.data)
|
||||||
|
*(.rela.data.*)
|
||||||
|
*(.rela.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rel.ctors : { *(.rel.ctors) }
|
||||||
|
.rela.ctors : { *(.rela.ctors) }
|
||||||
|
.rel.dtors : { *(.rel.dtors) }
|
||||||
|
.rela.dtors : { *(.rela.dtors) }
|
||||||
|
.rel.got : { *(.rel.got) }
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.bss : { *(.rel.bss) }
|
||||||
|
.rela.bss : { *(.rela.bss) }
|
||||||
|
.rel.plt : { *(.rel.plt) }
|
||||||
|
.rela.plt : { *(.rela.plt) }
|
||||||
|
/* Internal text space or external memory. */
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.vectors)
|
||||||
|
KEEP(*(.vectors))
|
||||||
|
/* For data that needs to reside in the lower 64k of progmem. */
|
||||||
|
*(.progmem.gcc*)
|
||||||
|
/* PR 13812: Placing the trampolines here gives a better chance
|
||||||
|
that they will be in range of the code that uses them. */
|
||||||
|
. = ALIGN(2);
|
||||||
|
__trampolines_start = . ;
|
||||||
|
/* The jump trampolines for the 16-bit limited relocs will reside here. */
|
||||||
|
*(.trampolines)
|
||||||
|
*(.trampolines*)
|
||||||
|
__trampolines_end = . ;
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
*libprintf_flt.a:*(.progmem.data)
|
||||||
|
*libc.a:*(.progmem.data)
|
||||||
|
*(.progmem*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
/* For future tablejump instruction arrays for 3 byte pc devices.
|
||||||
|
We don't relax jump/call instructions within these sections. */
|
||||||
|
*(.jumptables)
|
||||||
|
*(.jumptables*)
|
||||||
|
/* For code that needs to reside in the lower 128k progmem. */
|
||||||
|
*(.lowtext)
|
||||||
|
*(.lowtext*)
|
||||||
|
__ctors_start = . ;
|
||||||
|
*(.ctors)
|
||||||
|
__ctors_end = . ;
|
||||||
|
__dtors_start = . ;
|
||||||
|
*(.dtors)
|
||||||
|
__dtors_end = . ;
|
||||||
|
KEEP(SORT(*)(.ctors))
|
||||||
|
KEEP(SORT(*)(.dtors))
|
||||||
|
/* From this point on, we don't bother about wether the insns are
|
||||||
|
below or above the 16 bits boundary. */
|
||||||
|
*(.init0) /* Start here after reset. */
|
||||||
|
KEEP (*(.init0))
|
||||||
|
*(.init1)
|
||||||
|
KEEP (*(.init1))
|
||||||
|
*(.init2) /* Clear __zero_reg__, set up stack pointer. */
|
||||||
|
KEEP (*(.init2))
|
||||||
|
*(.init3)
|
||||||
|
KEEP (*(.init3))
|
||||||
|
*(.init4) /* Initialize data and BSS. */
|
||||||
|
KEEP (*(.init4))
|
||||||
|
*(.init5)
|
||||||
|
KEEP (*(.init5))
|
||||||
|
*(.init6) /* C++ constructors. */
|
||||||
|
KEEP (*(.init6))
|
||||||
|
*(.init7)
|
||||||
|
KEEP (*(.init7))
|
||||||
|
*(.init8)
|
||||||
|
KEEP (*(.init8))
|
||||||
|
*(.init9) /* Call main(). */
|
||||||
|
KEEP (*(.init9))
|
||||||
|
*(.text)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.text.*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.fini9) /* _exit() starts here. */
|
||||||
|
KEEP (*(.fini9))
|
||||||
|
*(.fini8)
|
||||||
|
KEEP (*(.fini8))
|
||||||
|
*(.fini7)
|
||||||
|
KEEP (*(.fini7))
|
||||||
|
*(.fini6) /* C++ destructors. */
|
||||||
|
KEEP (*(.fini6))
|
||||||
|
*(.fini5)
|
||||||
|
KEEP (*(.fini5))
|
||||||
|
*(.fini4)
|
||||||
|
KEEP (*(.fini4))
|
||||||
|
*(.fini3)
|
||||||
|
KEEP (*(.fini3))
|
||||||
|
*(.fini2)
|
||||||
|
KEEP (*(.fini2))
|
||||||
|
*(.fini1)
|
||||||
|
KEEP (*(.fini1))
|
||||||
|
*(.fini0) /* Infinite loop after program termination. */
|
||||||
|
KEEP (*(.fini0))
|
||||||
|
_etext = . ;
|
||||||
|
} > text
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
PROVIDE (__data_start = .) ;
|
||||||
|
*(.data)
|
||||||
|
*(.data*)
|
||||||
|
*(.rodata) /* We need to include .rodata here if gcc is used */
|
||||||
|
*(.rodata*) /* with -fdata-sections. */
|
||||||
|
*(.gnu.linkonce.d*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
_edata = . ;
|
||||||
|
PROVIDE (__data_end = .) ;
|
||||||
|
} > data AT> text
|
||||||
|
.bss ADDR(.data) + SIZEOF (.data) : AT (ADDR (.bss))
|
||||||
|
{
|
||||||
|
PROVIDE (__bss_start = .) ;
|
||||||
|
*(.bss)
|
||||||
|
*(.bss*)
|
||||||
|
*(COMMON)
|
||||||
|
PROVIDE (__bss_end = .) ;
|
||||||
|
} > data
|
||||||
|
__data_load_start = LOADADDR(.data);
|
||||||
|
__data_load_end = __data_load_start + SIZEOF(.data);
|
||||||
|
/* Global data not cleared after reset. */
|
||||||
|
.noinit ADDR(.bss) + SIZEOF (.bss) : AT (ADDR (.noinit))
|
||||||
|
{
|
||||||
|
PROVIDE (__noinit_start = .) ;
|
||||||
|
*(.noinit*)
|
||||||
|
PROVIDE (__noinit_end = .) ;
|
||||||
|
_end = . ;
|
||||||
|
PROVIDE (__heap_start = .) ;
|
||||||
|
} > data
|
||||||
|
.eeprom :
|
||||||
|
{
|
||||||
|
/* See .data above... */
|
||||||
|
KEEP(*(.eeprom*))
|
||||||
|
__eeprom_end = . ;
|
||||||
|
} > eeprom
|
||||||
|
.fuse :
|
||||||
|
{
|
||||||
|
KEEP(*(.fuse))
|
||||||
|
KEEP(*(.lfuse))
|
||||||
|
KEEP(*(.hfuse))
|
||||||
|
KEEP(*(.efuse))
|
||||||
|
} > fuse
|
||||||
|
.lock :
|
||||||
|
{
|
||||||
|
KEEP(*(.lock*))
|
||||||
|
} > lock
|
||||||
|
.signature :
|
||||||
|
{
|
||||||
|
KEEP(*(.signature*))
|
||||||
|
} > signature
|
||||||
|
.user_signatures :
|
||||||
|
{
|
||||||
|
KEEP(*(.user_signatures*))
|
||||||
|
} > user_signatures
|
||||||
|
/* Stabs debugging sections. */
|
||||||
|
.stab 0 : { *(.stab) }
|
||||||
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
.stab.excl 0 : { *(.stab.excl) }
|
||||||
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||||
|
.stab.index 0 : { *(.stab.index) }
|
||||||
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||||
|
.comment 0 : { *(.comment) }
|
||||||
|
.note.gnu.build-id : { *(.note.gnu.build-id) }
|
||||||
|
/* DWARF debug sections.
|
||||||
|
Symbols in the DWARF debugging sections are relative to the beginning
|
||||||
|
of the section so we begin them at 0. */
|
||||||
|
/* DWARF 1 */
|
||||||
|
.debug 0 : { *(.debug) }
|
||||||
|
.line 0 : { *(.line) }
|
||||||
|
/* GNU DWARF 1 extensions */
|
||||||
|
.debug_srcinfo 0 : { *(.debug_srcinfo) }
|
||||||
|
.debug_sfnames 0 : { *(.debug_sfnames) }
|
||||||
|
/* DWARF 1.1 and DWARF 2 */
|
||||||
|
.debug_aranges 0 : { *(.debug_aranges) }
|
||||||
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||||
|
/* DWARF 2 */
|
||||||
|
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
|
||||||
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||||
|
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
|
||||||
|
.debug_frame 0 : { *(.debug_frame) }
|
||||||
|
.debug_str 0 : { *(.debug_str) }
|
||||||
|
.debug_loc 0 : { *(.debug_loc) }
|
||||||
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
||||||
|
/* SGI/MIPS DWARF 2 extensions */
|
||||||
|
.debug_weaknames 0 : { *(.debug_weaknames) }
|
||||||
|
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||||
|
.debug_typenames 0 : { *(.debug_typenames) }
|
||||||
|
.debug_varnames 0 : { *(.debug_varnames) }
|
||||||
|
/* DWARF 3 */
|
||||||
|
.debug_pubtypes 0 : { *(.debug_pubtypes) }
|
||||||
|
.debug_ranges 0 : { *(.debug_ranges) }
|
||||||
|
/* DWARF Extension. */
|
||||||
|
.debug_macro 0 : { *(.debug_macro) }
|
||||||
|
}
|
||||||
@ -10,5 +10,8 @@ export UNDEF += $(BINDIR)/cpu/startup.o
|
|||||||
#include periph module
|
#include periph module
|
||||||
USEMODULE += periph
|
USEMODULE += periph
|
||||||
|
|
||||||
|
RAM_LEN = 32K
|
||||||
|
ROM_LEN = 256K
|
||||||
|
|
||||||
# CPU depends on the atmega common module, so include it
|
# CPU depends on the atmega common module, so include it
|
||||||
include $(ATMEGA_COMMON)Makefile.include
|
include $(ATMEGA_COMMON)Makefile.include
|
||||||
|
|||||||
8
cpu/atmega256rfr2/ldscripts_compat/README.md
Normal file
8
cpu/atmega256rfr2/ldscripts_compat/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
avr linkerscript
|
||||||
|
================
|
||||||
|
|
||||||
|
Starting from avr-binutils 2.26, the linker defines symbol that can be
|
||||||
|
overriden to configure ROM and RAM length.
|
||||||
|
|
||||||
|
This ldscript is used for supporting older versions on avr-binutils like on
|
||||||
|
ubuntu xenial.
|
||||||
262
cpu/atmega256rfr2/ldscripts_compat/avr_2.26.ld
Normal file
262
cpu/atmega256rfr2/ldscripts_compat/avr_2.26.ld
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
/* Script for -n: mix text and data on same page */
|
||||||
|
/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
||||||
|
Copying and distribution of this script, with or without modification,
|
||||||
|
are permitted in any medium without royalty provided the copyright
|
||||||
|
notice and this notice are preserved. */
|
||||||
|
OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr")
|
||||||
|
OUTPUT_ARCH(avr:6)
|
||||||
|
__TEXT_REGION_LENGTH__ = DEFINED(__TEXT_REGION_LENGTH__) ? __TEXT_REGION_LENGTH__ : 1024K;
|
||||||
|
__DATA_REGION_LENGTH__ = DEFINED(__DATA_REGION_LENGTH__) ? __DATA_REGION_LENGTH__ : 0xfe00;
|
||||||
|
__EEPROM_REGION_LENGTH__ = DEFINED(__EEPROM_REGION_LENGTH__) ? __EEPROM_REGION_LENGTH__ : 64K;
|
||||||
|
__FUSE_REGION_LENGTH__ = DEFINED(__FUSE_REGION_LENGTH__) ? __FUSE_REGION_LENGTH__ : 1K;
|
||||||
|
__LOCK_REGION_LENGTH__ = DEFINED(__LOCK_REGION_LENGTH__) ? __LOCK_REGION_LENGTH__ : 1K;
|
||||||
|
__SIGNATURE_REGION_LENGTH__ = DEFINED(__SIGNATURE_REGION_LENGTH__) ? __SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
__USER_SIGNATURE_REGION_LENGTH__ = DEFINED(__USER_SIGNATURE_REGION_LENGTH__) ? __USER_SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
text (rx) : ORIGIN = 0, LENGTH = __TEXT_REGION_LENGTH__
|
||||||
|
data (rw!x) : ORIGIN = 0x800200, LENGTH = __DATA_REGION_LENGTH__
|
||||||
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = __EEPROM_REGION_LENGTH__
|
||||||
|
fuse (rw!x) : ORIGIN = 0x820000, LENGTH = __FUSE_REGION_LENGTH__
|
||||||
|
lock (rw!x) : ORIGIN = 0x830000, LENGTH = __LOCK_REGION_LENGTH__
|
||||||
|
signature (rw!x) : ORIGIN = 0x840000, LENGTH = __SIGNATURE_REGION_LENGTH__
|
||||||
|
user_signatures (rw!x) : ORIGIN = 0x850000, LENGTH = __USER_SIGNATURE_REGION_LENGTH__
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
.hash : { *(.hash) }
|
||||||
|
.dynsym : { *(.dynsym) }
|
||||||
|
.dynstr : { *(.dynstr) }
|
||||||
|
.gnu.version : { *(.gnu.version) }
|
||||||
|
.gnu.version_d : { *(.gnu.version_d) }
|
||||||
|
.gnu.version_r : { *(.gnu.version_r) }
|
||||||
|
.rel.init : { *(.rel.init) }
|
||||||
|
.rela.init : { *(.rela.init) }
|
||||||
|
.rel.text :
|
||||||
|
{
|
||||||
|
*(.rel.text)
|
||||||
|
*(.rel.text.*)
|
||||||
|
*(.rel.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rela.text :
|
||||||
|
{
|
||||||
|
*(.rela.text)
|
||||||
|
*(.rela.text.*)
|
||||||
|
*(.rela.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rel.fini : { *(.rel.fini) }
|
||||||
|
.rela.fini : { *(.rela.fini) }
|
||||||
|
.rel.rodata :
|
||||||
|
{
|
||||||
|
*(.rel.rodata)
|
||||||
|
*(.rel.rodata.*)
|
||||||
|
*(.rel.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rela.rodata :
|
||||||
|
{
|
||||||
|
*(.rela.rodata)
|
||||||
|
*(.rela.rodata.*)
|
||||||
|
*(.rela.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rel.data :
|
||||||
|
{
|
||||||
|
*(.rel.data)
|
||||||
|
*(.rel.data.*)
|
||||||
|
*(.rel.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rela.data :
|
||||||
|
{
|
||||||
|
*(.rela.data)
|
||||||
|
*(.rela.data.*)
|
||||||
|
*(.rela.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rel.ctors : { *(.rel.ctors) }
|
||||||
|
.rela.ctors : { *(.rela.ctors) }
|
||||||
|
.rel.dtors : { *(.rel.dtors) }
|
||||||
|
.rela.dtors : { *(.rela.dtors) }
|
||||||
|
.rel.got : { *(.rel.got) }
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.bss : { *(.rel.bss) }
|
||||||
|
.rela.bss : { *(.rela.bss) }
|
||||||
|
.rel.plt : { *(.rel.plt) }
|
||||||
|
.rela.plt : { *(.rela.plt) }
|
||||||
|
/* Internal text space or external memory. */
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.vectors)
|
||||||
|
KEEP(*(.vectors))
|
||||||
|
/* For data that needs to reside in the lower 64k of progmem. */
|
||||||
|
*(.progmem.gcc*)
|
||||||
|
/* PR 13812: Placing the trampolines here gives a better chance
|
||||||
|
that they will be in range of the code that uses them. */
|
||||||
|
. = ALIGN(2);
|
||||||
|
__trampolines_start = . ;
|
||||||
|
/* The jump trampolines for the 16-bit limited relocs will reside here. */
|
||||||
|
*(.trampolines)
|
||||||
|
*(.trampolines*)
|
||||||
|
__trampolines_end = . ;
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
*libprintf_flt.a:*(.progmem.data)
|
||||||
|
*libc.a:*(.progmem.data)
|
||||||
|
*(.progmem*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
/* For future tablejump instruction arrays for 3 byte pc devices.
|
||||||
|
We don't relax jump/call instructions within these sections. */
|
||||||
|
*(.jumptables)
|
||||||
|
*(.jumptables*)
|
||||||
|
/* For code that needs to reside in the lower 128k progmem. */
|
||||||
|
*(.lowtext)
|
||||||
|
*(.lowtext*)
|
||||||
|
__ctors_start = . ;
|
||||||
|
*(.ctors)
|
||||||
|
__ctors_end = . ;
|
||||||
|
__dtors_start = . ;
|
||||||
|
*(.dtors)
|
||||||
|
__dtors_end = . ;
|
||||||
|
KEEP(SORT(*)(.ctors))
|
||||||
|
KEEP(SORT(*)(.dtors))
|
||||||
|
/* From this point on, we don't bother about wether the insns are
|
||||||
|
below or above the 16 bits boundary. */
|
||||||
|
*(.init0) /* Start here after reset. */
|
||||||
|
KEEP (*(.init0))
|
||||||
|
*(.init1)
|
||||||
|
KEEP (*(.init1))
|
||||||
|
*(.init2) /* Clear __zero_reg__, set up stack pointer. */
|
||||||
|
KEEP (*(.init2))
|
||||||
|
*(.init3)
|
||||||
|
KEEP (*(.init3))
|
||||||
|
*(.init4) /* Initialize data and BSS. */
|
||||||
|
KEEP (*(.init4))
|
||||||
|
*(.init5)
|
||||||
|
KEEP (*(.init5))
|
||||||
|
*(.init6) /* C++ constructors. */
|
||||||
|
KEEP (*(.init6))
|
||||||
|
*(.init7)
|
||||||
|
KEEP (*(.init7))
|
||||||
|
*(.init8)
|
||||||
|
KEEP (*(.init8))
|
||||||
|
*(.init9) /* Call main(). */
|
||||||
|
KEEP (*(.init9))
|
||||||
|
*(.text)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.text.*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.fini9) /* _exit() starts here. */
|
||||||
|
KEEP (*(.fini9))
|
||||||
|
*(.fini8)
|
||||||
|
KEEP (*(.fini8))
|
||||||
|
*(.fini7)
|
||||||
|
KEEP (*(.fini7))
|
||||||
|
*(.fini6) /* C++ destructors. */
|
||||||
|
KEEP (*(.fini6))
|
||||||
|
*(.fini5)
|
||||||
|
KEEP (*(.fini5))
|
||||||
|
*(.fini4)
|
||||||
|
KEEP (*(.fini4))
|
||||||
|
*(.fini3)
|
||||||
|
KEEP (*(.fini3))
|
||||||
|
*(.fini2)
|
||||||
|
KEEP (*(.fini2))
|
||||||
|
*(.fini1)
|
||||||
|
KEEP (*(.fini1))
|
||||||
|
*(.fini0) /* Infinite loop after program termination. */
|
||||||
|
KEEP (*(.fini0))
|
||||||
|
_etext = . ;
|
||||||
|
} > text
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
PROVIDE (__data_start = .) ;
|
||||||
|
*(.data)
|
||||||
|
*(.data*)
|
||||||
|
*(.rodata) /* We need to include .rodata here if gcc is used */
|
||||||
|
*(.rodata*) /* with -fdata-sections. */
|
||||||
|
*(.gnu.linkonce.d*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
_edata = . ;
|
||||||
|
PROVIDE (__data_end = .) ;
|
||||||
|
} > data AT> text
|
||||||
|
.bss ADDR(.data) + SIZEOF (.data) : AT (ADDR (.bss))
|
||||||
|
{
|
||||||
|
PROVIDE (__bss_start = .) ;
|
||||||
|
*(.bss)
|
||||||
|
*(.bss*)
|
||||||
|
*(COMMON)
|
||||||
|
PROVIDE (__bss_end = .) ;
|
||||||
|
} > data
|
||||||
|
__data_load_start = LOADADDR(.data);
|
||||||
|
__data_load_end = __data_load_start + SIZEOF(.data);
|
||||||
|
/* Global data not cleared after reset. */
|
||||||
|
.noinit ADDR(.bss) + SIZEOF (.bss) : AT (ADDR (.noinit))
|
||||||
|
{
|
||||||
|
PROVIDE (__noinit_start = .) ;
|
||||||
|
*(.noinit*)
|
||||||
|
PROVIDE (__noinit_end = .) ;
|
||||||
|
_end = . ;
|
||||||
|
PROVIDE (__heap_start = .) ;
|
||||||
|
} > data
|
||||||
|
.eeprom :
|
||||||
|
{
|
||||||
|
/* See .data above... */
|
||||||
|
KEEP(*(.eeprom*))
|
||||||
|
__eeprom_end = . ;
|
||||||
|
} > eeprom
|
||||||
|
.fuse :
|
||||||
|
{
|
||||||
|
KEEP(*(.fuse))
|
||||||
|
KEEP(*(.lfuse))
|
||||||
|
KEEP(*(.hfuse))
|
||||||
|
KEEP(*(.efuse))
|
||||||
|
} > fuse
|
||||||
|
.lock :
|
||||||
|
{
|
||||||
|
KEEP(*(.lock*))
|
||||||
|
} > lock
|
||||||
|
.signature :
|
||||||
|
{
|
||||||
|
KEEP(*(.signature*))
|
||||||
|
} > signature
|
||||||
|
.user_signatures :
|
||||||
|
{
|
||||||
|
KEEP(*(.user_signatures*))
|
||||||
|
} > user_signatures
|
||||||
|
/* Stabs debugging sections. */
|
||||||
|
.stab 0 : { *(.stab) }
|
||||||
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
.stab.excl 0 : { *(.stab.excl) }
|
||||||
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||||
|
.stab.index 0 : { *(.stab.index) }
|
||||||
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||||
|
.comment 0 : { *(.comment) }
|
||||||
|
.note.gnu.build-id : { *(.note.gnu.build-id) }
|
||||||
|
/* DWARF debug sections.
|
||||||
|
Symbols in the DWARF debugging sections are relative to the beginning
|
||||||
|
of the section so we begin them at 0. */
|
||||||
|
/* DWARF 1 */
|
||||||
|
.debug 0 : { *(.debug) }
|
||||||
|
.line 0 : { *(.line) }
|
||||||
|
/* GNU DWARF 1 extensions */
|
||||||
|
.debug_srcinfo 0 : { *(.debug_srcinfo) }
|
||||||
|
.debug_sfnames 0 : { *(.debug_sfnames) }
|
||||||
|
/* DWARF 1.1 and DWARF 2 */
|
||||||
|
.debug_aranges 0 : { *(.debug_aranges) }
|
||||||
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||||
|
/* DWARF 2 */
|
||||||
|
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
|
||||||
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||||
|
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
|
||||||
|
.debug_frame 0 : { *(.debug_frame) }
|
||||||
|
.debug_str 0 : { *(.debug_str) }
|
||||||
|
.debug_loc 0 : { *(.debug_loc) }
|
||||||
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
||||||
|
/* SGI/MIPS DWARF 2 extensions */
|
||||||
|
.debug_weaknames 0 : { *(.debug_weaknames) }
|
||||||
|
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||||
|
.debug_typenames 0 : { *(.debug_typenames) }
|
||||||
|
.debug_varnames 0 : { *(.debug_varnames) }
|
||||||
|
/* DWARF 3 */
|
||||||
|
.debug_pubtypes 0 : { *(.debug_pubtypes) }
|
||||||
|
.debug_ranges 0 : { *(.debug_ranges) }
|
||||||
|
/* DWARF Extension. */
|
||||||
|
.debug_macro 0 : { *(.debug_macro) }
|
||||||
|
}
|
||||||
@ -4,5 +4,8 @@ USEMODULE += atmega_common
|
|||||||
# define path to atmega common module, which is needed for this CPU
|
# define path to atmega common module, which is needed for this CPU
|
||||||
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
||||||
|
|
||||||
|
RAM_LEN = 2K
|
||||||
|
ROM_LEN = 32K
|
||||||
|
|
||||||
# CPU depends on the atmega common module, so include it
|
# CPU depends on the atmega common module, so include it
|
||||||
include $(ATMEGA_COMMON)Makefile.include
|
include $(ATMEGA_COMMON)Makefile.include
|
||||||
|
|||||||
8
cpu/atmega328p/ldscripts_compat/README.md
Normal file
8
cpu/atmega328p/ldscripts_compat/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
avr linkerscript
|
||||||
|
================
|
||||||
|
|
||||||
|
Starting from avr-binutils 2.26, the linker defines symbol that can be
|
||||||
|
overriden to configure ROM and RAM length.
|
||||||
|
|
||||||
|
This ldscript is used for supporting older versions on avr-binutils like on
|
||||||
|
ubuntu xenial.
|
||||||
262
cpu/atmega328p/ldscripts_compat/avr_2.26.ld
Normal file
262
cpu/atmega328p/ldscripts_compat/avr_2.26.ld
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
/* Script for -n: mix text and data on same page */
|
||||||
|
/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
|
||||||
|
Copying and distribution of this script, with or without modification,
|
||||||
|
are permitted in any medium without royalty provided the copyright
|
||||||
|
notice and this notice are preserved. */
|
||||||
|
OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr")
|
||||||
|
OUTPUT_ARCH(avr:5)
|
||||||
|
__TEXT_REGION_LENGTH__ = DEFINED(__TEXT_REGION_LENGTH__) ? __TEXT_REGION_LENGTH__ : 128K;
|
||||||
|
__DATA_REGION_LENGTH__ = DEFINED(__DATA_REGION_LENGTH__) ? __DATA_REGION_LENGTH__ : 0xffa0;
|
||||||
|
__EEPROM_REGION_LENGTH__ = DEFINED(__EEPROM_REGION_LENGTH__) ? __EEPROM_REGION_LENGTH__ : 64K;
|
||||||
|
__FUSE_REGION_LENGTH__ = DEFINED(__FUSE_REGION_LENGTH__) ? __FUSE_REGION_LENGTH__ : 1K;
|
||||||
|
__LOCK_REGION_LENGTH__ = DEFINED(__LOCK_REGION_LENGTH__) ? __LOCK_REGION_LENGTH__ : 1K;
|
||||||
|
__SIGNATURE_REGION_LENGTH__ = DEFINED(__SIGNATURE_REGION_LENGTH__) ? __SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
__USER_SIGNATURE_REGION_LENGTH__ = DEFINED(__USER_SIGNATURE_REGION_LENGTH__) ? __USER_SIGNATURE_REGION_LENGTH__ : 1K;
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
text (rx) : ORIGIN = 0, LENGTH = __TEXT_REGION_LENGTH__
|
||||||
|
data (rw!x) : ORIGIN = 0x800060, LENGTH = __DATA_REGION_LENGTH__
|
||||||
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = __EEPROM_REGION_LENGTH__
|
||||||
|
fuse (rw!x) : ORIGIN = 0x820000, LENGTH = __FUSE_REGION_LENGTH__
|
||||||
|
lock (rw!x) : ORIGIN = 0x830000, LENGTH = __LOCK_REGION_LENGTH__
|
||||||
|
signature (rw!x) : ORIGIN = 0x840000, LENGTH = __SIGNATURE_REGION_LENGTH__
|
||||||
|
user_signatures (rw!x) : ORIGIN = 0x850000, LENGTH = __USER_SIGNATURE_REGION_LENGTH__
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
.hash : { *(.hash) }
|
||||||
|
.dynsym : { *(.dynsym) }
|
||||||
|
.dynstr : { *(.dynstr) }
|
||||||
|
.gnu.version : { *(.gnu.version) }
|
||||||
|
.gnu.version_d : { *(.gnu.version_d) }
|
||||||
|
.gnu.version_r : { *(.gnu.version_r) }
|
||||||
|
.rel.init : { *(.rel.init) }
|
||||||
|
.rela.init : { *(.rela.init) }
|
||||||
|
.rel.text :
|
||||||
|
{
|
||||||
|
*(.rel.text)
|
||||||
|
*(.rel.text.*)
|
||||||
|
*(.rel.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rela.text :
|
||||||
|
{
|
||||||
|
*(.rela.text)
|
||||||
|
*(.rela.text.*)
|
||||||
|
*(.rela.gnu.linkonce.t*)
|
||||||
|
}
|
||||||
|
.rel.fini : { *(.rel.fini) }
|
||||||
|
.rela.fini : { *(.rela.fini) }
|
||||||
|
.rel.rodata :
|
||||||
|
{
|
||||||
|
*(.rel.rodata)
|
||||||
|
*(.rel.rodata.*)
|
||||||
|
*(.rel.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rela.rodata :
|
||||||
|
{
|
||||||
|
*(.rela.rodata)
|
||||||
|
*(.rela.rodata.*)
|
||||||
|
*(.rela.gnu.linkonce.r*)
|
||||||
|
}
|
||||||
|
.rel.data :
|
||||||
|
{
|
||||||
|
*(.rel.data)
|
||||||
|
*(.rel.data.*)
|
||||||
|
*(.rel.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rela.data :
|
||||||
|
{
|
||||||
|
*(.rela.data)
|
||||||
|
*(.rela.data.*)
|
||||||
|
*(.rela.gnu.linkonce.d*)
|
||||||
|
}
|
||||||
|
.rel.ctors : { *(.rel.ctors) }
|
||||||
|
.rela.ctors : { *(.rela.ctors) }
|
||||||
|
.rel.dtors : { *(.rel.dtors) }
|
||||||
|
.rela.dtors : { *(.rela.dtors) }
|
||||||
|
.rel.got : { *(.rel.got) }
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.bss : { *(.rel.bss) }
|
||||||
|
.rela.bss : { *(.rela.bss) }
|
||||||
|
.rel.plt : { *(.rel.plt) }
|
||||||
|
.rela.plt : { *(.rela.plt) }
|
||||||
|
/* Internal text space or external memory. */
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.vectors)
|
||||||
|
KEEP(*(.vectors))
|
||||||
|
/* For data that needs to reside in the lower 64k of progmem. */
|
||||||
|
*(.progmem.gcc*)
|
||||||
|
/* PR 13812: Placing the trampolines here gives a better chance
|
||||||
|
that they will be in range of the code that uses them. */
|
||||||
|
. = ALIGN(2);
|
||||||
|
__trampolines_start = . ;
|
||||||
|
/* The jump trampolines for the 16-bit limited relocs will reside here. */
|
||||||
|
*(.trampolines)
|
||||||
|
*(.trampolines*)
|
||||||
|
__trampolines_end = . ;
|
||||||
|
/* avr-libc expects these data to reside in lower 64K. */
|
||||||
|
*libprintf_flt.a:*(.progmem.data)
|
||||||
|
*libc.a:*(.progmem.data)
|
||||||
|
*(.progmem*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
/* For future tablejump instruction arrays for 3 byte pc devices.
|
||||||
|
We don't relax jump/call instructions within these sections. */
|
||||||
|
*(.jumptables)
|
||||||
|
*(.jumptables*)
|
||||||
|
/* For code that needs to reside in the lower 128k progmem. */
|
||||||
|
*(.lowtext)
|
||||||
|
*(.lowtext*)
|
||||||
|
__ctors_start = . ;
|
||||||
|
*(.ctors)
|
||||||
|
__ctors_end = . ;
|
||||||
|
__dtors_start = . ;
|
||||||
|
*(.dtors)
|
||||||
|
__dtors_end = . ;
|
||||||
|
KEEP(SORT(*)(.ctors))
|
||||||
|
KEEP(SORT(*)(.dtors))
|
||||||
|
/* From this point on, we don't bother about wether the insns are
|
||||||
|
below or above the 16 bits boundary. */
|
||||||
|
*(.init0) /* Start here after reset. */
|
||||||
|
KEEP (*(.init0))
|
||||||
|
*(.init1)
|
||||||
|
KEEP (*(.init1))
|
||||||
|
*(.init2) /* Clear __zero_reg__, set up stack pointer. */
|
||||||
|
KEEP (*(.init2))
|
||||||
|
*(.init3)
|
||||||
|
KEEP (*(.init3))
|
||||||
|
*(.init4) /* Initialize data and BSS. */
|
||||||
|
KEEP (*(.init4))
|
||||||
|
*(.init5)
|
||||||
|
KEEP (*(.init5))
|
||||||
|
*(.init6) /* C++ constructors. */
|
||||||
|
KEEP (*(.init6))
|
||||||
|
*(.init7)
|
||||||
|
KEEP (*(.init7))
|
||||||
|
*(.init8)
|
||||||
|
KEEP (*(.init8))
|
||||||
|
*(.init9) /* Call main(). */
|
||||||
|
KEEP (*(.init9))
|
||||||
|
*(.text)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.text.*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
*(.fini9) /* _exit() starts here. */
|
||||||
|
KEEP (*(.fini9))
|
||||||
|
*(.fini8)
|
||||||
|
KEEP (*(.fini8))
|
||||||
|
*(.fini7)
|
||||||
|
KEEP (*(.fini7))
|
||||||
|
*(.fini6) /* C++ destructors. */
|
||||||
|
KEEP (*(.fini6))
|
||||||
|
*(.fini5)
|
||||||
|
KEEP (*(.fini5))
|
||||||
|
*(.fini4)
|
||||||
|
KEEP (*(.fini4))
|
||||||
|
*(.fini3)
|
||||||
|
KEEP (*(.fini3))
|
||||||
|
*(.fini2)
|
||||||
|
KEEP (*(.fini2))
|
||||||
|
*(.fini1)
|
||||||
|
KEEP (*(.fini1))
|
||||||
|
*(.fini0) /* Infinite loop after program termination. */
|
||||||
|
KEEP (*(.fini0))
|
||||||
|
_etext = . ;
|
||||||
|
} > text
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
PROVIDE (__data_start = .) ;
|
||||||
|
*(.data)
|
||||||
|
*(.data*)
|
||||||
|
*(.rodata) /* We need to include .rodata here if gcc is used */
|
||||||
|
*(.rodata*) /* with -fdata-sections. */
|
||||||
|
*(.gnu.linkonce.d*)
|
||||||
|
. = ALIGN(2);
|
||||||
|
_edata = . ;
|
||||||
|
PROVIDE (__data_end = .) ;
|
||||||
|
} > data AT> text
|
||||||
|
.bss ADDR(.data) + SIZEOF (.data) : AT (ADDR (.bss))
|
||||||
|
{
|
||||||
|
PROVIDE (__bss_start = .) ;
|
||||||
|
*(.bss)
|
||||||
|
*(.bss*)
|
||||||
|
*(COMMON)
|
||||||
|
PROVIDE (__bss_end = .) ;
|
||||||
|
} > data
|
||||||
|
__data_load_start = LOADADDR(.data);
|
||||||
|
__data_load_end = __data_load_start + SIZEOF(.data);
|
||||||
|
/* Global data not cleared after reset. */
|
||||||
|
.noinit ADDR(.bss) + SIZEOF (.bss) : AT (ADDR (.noinit))
|
||||||
|
{
|
||||||
|
PROVIDE (__noinit_start = .) ;
|
||||||
|
*(.noinit*)
|
||||||
|
PROVIDE (__noinit_end = .) ;
|
||||||
|
_end = . ;
|
||||||
|
PROVIDE (__heap_start = .) ;
|
||||||
|
} > data
|
||||||
|
.eeprom :
|
||||||
|
{
|
||||||
|
/* See .data above... */
|
||||||
|
KEEP(*(.eeprom*))
|
||||||
|
__eeprom_end = . ;
|
||||||
|
} > eeprom
|
||||||
|
.fuse :
|
||||||
|
{
|
||||||
|
KEEP(*(.fuse))
|
||||||
|
KEEP(*(.lfuse))
|
||||||
|
KEEP(*(.hfuse))
|
||||||
|
KEEP(*(.efuse))
|
||||||
|
} > fuse
|
||||||
|
.lock :
|
||||||
|
{
|
||||||
|
KEEP(*(.lock*))
|
||||||
|
} > lock
|
||||||
|
.signature :
|
||||||
|
{
|
||||||
|
KEEP(*(.signature*))
|
||||||
|
} > signature
|
||||||
|
.user_signatures :
|
||||||
|
{
|
||||||
|
KEEP(*(.user_signatures*))
|
||||||
|
} > user_signatures
|
||||||
|
/* Stabs debugging sections. */
|
||||||
|
.stab 0 : { *(.stab) }
|
||||||
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
.stab.excl 0 : { *(.stab.excl) }
|
||||||
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||||
|
.stab.index 0 : { *(.stab.index) }
|
||||||
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||||
|
.comment 0 : { *(.comment) }
|
||||||
|
.note.gnu.build-id : { *(.note.gnu.build-id) }
|
||||||
|
/* DWARF debug sections.
|
||||||
|
Symbols in the DWARF debugging sections are relative to the beginning
|
||||||
|
of the section so we begin them at 0. */
|
||||||
|
/* DWARF 1 */
|
||||||
|
.debug 0 : { *(.debug) }
|
||||||
|
.line 0 : { *(.line) }
|
||||||
|
/* GNU DWARF 1 extensions */
|
||||||
|
.debug_srcinfo 0 : { *(.debug_srcinfo) }
|
||||||
|
.debug_sfnames 0 : { *(.debug_sfnames) }
|
||||||
|
/* DWARF 1.1 and DWARF 2 */
|
||||||
|
.debug_aranges 0 : { *(.debug_aranges) }
|
||||||
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||||
|
/* DWARF 2 */
|
||||||
|
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
|
||||||
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||||
|
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
|
||||||
|
.debug_frame 0 : { *(.debug_frame) }
|
||||||
|
.debug_str 0 : { *(.debug_str) }
|
||||||
|
.debug_loc 0 : { *(.debug_loc) }
|
||||||
|
.debug_macinfo 0 : { *(.debug_macinfo) }
|
||||||
|
/* SGI/MIPS DWARF 2 extensions */
|
||||||
|
.debug_weaknames 0 : { *(.debug_weaknames) }
|
||||||
|
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||||
|
.debug_typenames 0 : { *(.debug_typenames) }
|
||||||
|
.debug_varnames 0 : { *(.debug_varnames) }
|
||||||
|
/* DWARF 3 */
|
||||||
|
.debug_pubtypes 0 : { *(.debug_pubtypes) }
|
||||||
|
.debug_ranges 0 : { *(.debug_ranges) }
|
||||||
|
/* DWARF Extension. */
|
||||||
|
.debug_macro 0 : { *(.debug_macro) }
|
||||||
|
}
|
||||||
@ -26,3 +26,14 @@ ifeq ($(LTO),1)
|
|||||||
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396
|
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396
|
||||||
export LINKFLAGS += -Wno-error
|
export LINKFLAGS += -Wno-error
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Use ROM_LEN and RAM_LEN during link
|
||||||
|
$(if $(ROM_LEN),,$(error ROM_LEN is not defined))
|
||||||
|
$(if $(RAM_LEN),,$(error RAM_LEN is not defined))
|
||||||
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=__TEXT_REGION_LENGTH__=$(ROM_LEN)$(if $(ROM_RESERVED),-$(ROM_RESERVED))
|
||||||
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=__DATA_REGION_LENGTH__=$(RAM_LEN)
|
||||||
|
|
||||||
|
# Use newer linker script to have ROM/RAM configuration symbols in binutils<2.26
|
||||||
|
LDSCRIPT_COMPAT = $(if $(shell $(TARGET_ARCH)-ld --verbose | grep __TEXT_REGION_LENGTH__),,\
|
||||||
|
-T$(RIOTCPU)/$(CPU)/ldscripts_compat/avr_2.26.ld)
|
||||||
|
LINKFLAGS += $(LDSCRIPT_COMPAT)
|
||||||
|
|||||||
@ -9,12 +9,14 @@ RIOTBASE ?= $(CURDIR)/../..
|
|||||||
|
|
||||||
# Not all boards have enough memory to build the default configuration of this
|
# Not all boards have enough memory to build the default configuration of this
|
||||||
# example...
|
# example...
|
||||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos hifive1 microbit msb-430 \
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
||||||
msb-430h nrf51dongle nrf6310 nucleo-f030r8 \
|
arduino-uno chronos hifive1 mega-xplained \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f070rb \
|
microbit msb-430 msb-430h nrf51dongle nrf6310 \
|
||||||
nucleo-f072rb nucleo-f303k8 nucleo-f334r8 \
|
nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \
|
||||||
nucleo-l031k6 nucleo-l053r8 stm32f0discovery \
|
nucleo-f070rb nucleo-f072rb nucleo-f303k8 \
|
||||||
telosb wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \
|
||||||
|
stm32f0discovery telosb waspmote-pro \
|
||||||
|
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
|
|||||||
@ -7,6 +7,8 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
# Uncomment these lines if you want to use platform support from external
|
# Uncomment these lines if you want to use platform support from external
|
||||||
# repositories:
|
# repositories:
|
||||||
#RIOTCPU ?= $(CURDIR)/../../RIOT/thirdparty_cpu
|
#RIOTCPU ?= $(CURDIR)/../../RIOT/thirdparty_cpu
|
||||||
|
|||||||
@ -4,6 +4,7 @@ APPLICATION = filesystem
|
|||||||
# If no BOARD is found in the environment, use this default:
|
# If no BOARD is found in the environment, use this default:
|
||||||
BOARD ?= native
|
BOARD ?= native
|
||||||
|
|
||||||
|
|
||||||
# Blacklisting msp430-based boards, as file syscalls are not supported
|
# Blacklisting msp430-based boards, as file syscalls are not supported
|
||||||
BOARD_BLACKLIST := chronos \
|
BOARD_BLACKLIST := chronos \
|
||||||
msb-430 \
|
msb-430 \
|
||||||
@ -14,7 +15,7 @@ BOARD_BLACKLIST := chronos \
|
|||||||
z1 \
|
z1 \
|
||||||
#
|
#
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|||||||
@ -9,10 +9,12 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-l031k6 nucleo-f030r8 nucleo-f334r8 nucleo-l053r8 \
|
chronos mega-xplained msb-430 msb-430h \
|
||||||
stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 z1 \
|
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
nucleo-f303k8
|
nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \
|
||||||
|
nucleo-l053r8 stm32f0discovery telosb \
|
||||||
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
## Uncomment to redefine port, for example use 61616 for RFC 6282 UDP compression.
|
## Uncomment to redefine port, for example use 61616 for RFC 6282 UDP compression.
|
||||||
#GCOAP_PORT = 5683
|
#GCOAP_PORT = 5683
|
||||||
|
|||||||
@ -7,13 +7,16 @@ BOARD ?= samr21-xpro
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini \
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
||||||
|
arduino-uno b-l072z-lrwan1 bluepill calliope-mini \
|
||||||
cc2650-launchpad cc2650stk hifive1 maple-mini \
|
cc2650-launchpad cc2650stk hifive1 maple-mini \
|
||||||
microbit msb-430 msb-430h nrf51dongle nrf6310 \
|
mega-xplained microbit msb-430 msb-430h \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
nrf51dongle nrf6310 nucleo-f031k6 nucleo-f042k6 \
|
||||||
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \
|
nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
||||||
nucleo-f334r8 nucleo-l053r8 nucleo-l073rz opencm904 \
|
nucleo-f070rb nucleo-f072rb nucleo-f103rb \
|
||||||
spark-core stm32f0discovery stm32mindev telosb \
|
nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
|
||||||
|
nucleo-l073rz opencm904 spark-core \
|
||||||
|
stm32f0discovery stm32mindev telosb waspmote-pro \
|
||||||
weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
||||||
|
|
||||||
# The following boards do not have an available UART
|
# The following boards do not have an available UART
|
||||||
|
|||||||
@ -7,7 +7,7 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
# Comment this out to disable code in RIOT that does safety checking
|
# Comment this out to disable code in RIOT that does safety checking
|
||||||
# which is not needed in a production environment but helps in the
|
# which is not needed in a production environment but helps in the
|
||||||
|
|||||||
@ -7,11 +7,14 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := calliope-mini chronos hifive1 microbit msb-430 msb-430h \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
calliope-mini chronos hifive1 mega-xplained \
|
||||||
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \
|
microbit msb-430 msb-430h nucleo-f031k6 \
|
||||||
nucleo-f334r8 nucleo-l053r8 spark-core stm32f0discovery telosb \
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
nucleo-f030r8 nucleo-f070rb nucleo-f072rb \
|
||||||
|
nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \
|
||||||
|
nucleo-l053r8 spark-core stm32f0discovery telosb \
|
||||||
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
|
|||||||
@ -7,12 +7,16 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini chronos \
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
||||||
hifive1 microbit msb-430 msb-430h nrf51dongle nrf6310 nucleo-f031k6 \
|
arduino-uno b-l072z-lrwan1 bluepill calliope-mini \
|
||||||
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
chronos hifive1 mega-xplained microbit \
|
||||||
nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \
|
msb-430 msb-430h nrf51dongle nrf6310 nucleo-f031k6 \
|
||||||
nucleo-l053r8 spark-core stm32f0discovery stm32mindev \
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
||||||
telosb wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
nucleo-f030r8 nucleo-f070rb nucleo-f072rb \
|
||||||
|
nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \
|
||||||
|
nucleo-l053r8 spark-core stm32f0discovery \
|
||||||
|
stm32mindev telosb waspmote-pro \
|
||||||
|
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
|
|||||||
@ -7,9 +7,11 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 stm32f0discovery \
|
chronos msb-430 msb-430h nucleo-f031k6 \
|
||||||
telosb z1 nucleo-f303k8
|
nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
||||||
|
nucleo-f303k8 nucleo-l053r8 stm32f0discovery \
|
||||||
|
telosb waspmote-pro z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
|
|||||||
@ -7,9 +7,12 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../../
|
RIOTBASE ?= $(CURDIR)/../../
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h telosb weio wsn430-v1_3b wsn430-v1_4 z1 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-f042k6 nucleo-f031k6 nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 \
|
chronos mega-xplained msb-430 msb-430h \
|
||||||
stm32f0discovery
|
nucleo-f042k6 nucleo-f031k6 nucleo-l031k6 \
|
||||||
|
nucleo-f030r8 nucleo-l053r8 stm32f0discovery \
|
||||||
|
telosb waspmote-pro weio wsn430-v1_3b wsn430-v1_4 \
|
||||||
|
z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
USEMODULE += gnrc_netdev_default
|
USEMODULE += gnrc_netdev_default
|
||||||
|
|||||||
@ -7,11 +7,14 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos msb-430 msb-430h nrf51dongle \
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
||||||
nrf6310 nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
arduino-uno chronos mega-xplained msb-430 \
|
||||||
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f334r8 \
|
msb-430h nrf51dongle nrf6310 nucleo-f031k6 \
|
||||||
nucleo-l053r8 stm32f0discovery telosb wsn430-v1_3b \
|
nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
||||||
wsn430-v1_4 yunjia-nrf51822 z1 nucleo-f303k8
|
nucleo-f070rb nucleo-f072rb nucleo-f334r8 \
|
||||||
|
nucleo-f303k8 nucleo-l053r8 stm32f0discovery \
|
||||||
|
telosb wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 \
|
||||||
|
waspmote-pro z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
|
|||||||
@ -7,10 +7,12 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos hifive1 msb-430 msb-430h nucleo-f030r8 nucleo-l053r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
chronos hifive1 msb-430 msb-430h nucleo-f030r8 \
|
||||||
stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 \
|
nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \
|
||||||
z1 nucleo-f303k8 nucleo-f334r8
|
nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \
|
||||||
|
stm32f0discovery telosb waspmote-pro \
|
||||||
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
# Enable GNRC networking
|
# Enable GNRC networking
|
||||||
USEMODULE += gnrc_netdev_default
|
USEMODULE += gnrc_netdev_default
|
||||||
|
|||||||
@ -7,6 +7,8 @@ BOARD ?= native
|
|||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
# we want to use SAUL:
|
# we want to use SAUL:
|
||||||
USEMODULE += saul_default
|
USEMODULE += saul_default
|
||||||
# include the shell:
|
# include the shell:
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
# These boards only have a single timer in their periph_conf.h, needs special
|
# These boards only have a single timer in their periph_conf.h, needs special
|
||||||
# CFLAGS configuration to build properly
|
# CFLAGS configuration to build properly
|
||||||
SINGLE_TIMER_BOARDS = \
|
SINGLE_TIMER_BOARDS = \
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h telosb wsn430-v1_3b \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno chronos \
|
||||||
wsn430-v1_4 z1
|
msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += hashes
|
USEMODULE += hashes
|
||||||
USEMODULE += bloom
|
USEMODULE += bloom
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
export APPLICATION = can_trx
|
export APPLICATION = can_trx
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += shell_commands
|
USEMODULE += shell_commands
|
||||||
USEMODULE += ps
|
USEMODULE += ps
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos hifive1 msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \
|
chronos hifive1 msb-430 msb-430h nucleo-f031k6 \
|
||||||
nucleo-f072rb nucleo-f302r8 nucleo-f303re nucleo-f334r8 \
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
||||||
nucleo-l053r8 stm32f0discovery telosb wsn430-v1_3b \
|
nucleo-f030r8 nucleo-f070rb nucleo-f072rb \
|
||||||
wsn430-v1_4 z1
|
nucleo-f302r8 nucleo-f303re nucleo-f334r8 \
|
||||||
|
nucleo-l053r8 stm32f0discovery telosb \
|
||||||
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
CFLAGS += -DLOG_LEVEL=LOG_ALL
|
CFLAGS += -DLOG_LEVEL=LOG_ALL
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY += nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += at
|
USEMODULE += at
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
USEMODULE += at30tse75x
|
USEMODULE += at30tse75x
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += shell_commands
|
USEMODULE += shell_commands
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
# exclude boards with insufficient memory
|
# exclude boards with insufficient memory
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
DISABLE_MODULE += auto_init
|
DISABLE_MODULE += auto_init
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
USEMODULE += ata8520e
|
USEMODULE += ata8520e
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += shell_commands
|
USEMODULE += shell_commands
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
# chronos : USART_1 undeclared
|
# chronos : USART_1 undeclared
|
||||||
BOARD_BLACKLIST += chronos
|
BOARD_BLACKLIST += chronos
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-f334r8 nucleo-l053r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
msb-430 msb-430h nucleo-f334r8 nucleo-l053r8 \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
|
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
|
||||||
nucleo-l031k6 stm32f0discovery telosb \
|
nucleo-l031k6 stm32f0discovery telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
USEMODULE += enc28j60
|
USEMODULE += enc28j60
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
msb-430 msb-430h \
|
||||||
nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \
|
nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \
|
||||||
nucleo-l031k6 stm32f0discovery telosb \
|
nucleo-l031k6 stm32f0discovery telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
USEMODULE += encx24j600
|
USEMODULE += encx24j600
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
# chronos : USART_1 undeclared
|
# chronos : USART_1 undeclared
|
||||||
BOARD_BLACKLIST += chronos
|
BOARD_BLACKLIST += chronos
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,9 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-f334r8 nucleo-l053r8 stm32f0discovery
|
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
|
nucleo-f334r8 nucleo-l053r8 stm32f0discovery \
|
||||||
|
waspmote-pro
|
||||||
|
|
||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
USEMODULE += gnrc_netdev_default
|
USEMODULE += gnrc_netdev_default
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
# exclude boards with insufficient memory
|
# exclude boards with insufficient memory
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += shell_commands
|
USEMODULE += shell_commands
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += pcd8544
|
USEMODULE += pcd8544
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
DRIVER ?= rn2483
|
DRIVER ?= rn2483
|
||||||
|
|
||||||
USEMODULE += $(DRIVER)
|
USEMODULE += $(DRIVER)
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
# exclude boards with insufficient memory
|
# exclude boards with insufficient memory
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
USEMODULE += sdcard_spi
|
USEMODULE += sdcard_spi
|
||||||
USEMODULE += auto_init_storage
|
USEMODULE += auto_init_storage
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
DRIVER ?= sht11
|
DRIVER ?= sht11
|
||||||
BOARD ?= msba2
|
BOARD ?= msba2
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
USEMODULE += srf02
|
USEMODULE += srf02
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
BOARD ?= nucleo-l152re
|
BOARD ?= nucleo-l152re
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-f030r8 nucleo-f334r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
|
||||||
|
nucleo-f042k6 nucleo-f030r8 nucleo-f334r8 \
|
||||||
stm32f0discovery
|
stm32f0discovery
|
||||||
|
|
||||||
USEMODULE += xbee
|
USEMODULE += xbee
|
||||||
|
|||||||
@ -5,9 +5,10 @@ include ../Makefile.tests_common
|
|||||||
# MSP-430 doesn't support C11's atomic functionality yet
|
# MSP-430 doesn't support C11's atomic functionality yet
|
||||||
BOARD_BLACKLIST := msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
|
BOARD_BLACKLIST := msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
nucleo-f042k6 nucleo-l053r8 stm32f0discovery telosb \
|
msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
nucleo-f042k6 nucleo-l053r8 stm32f0discovery \
|
||||||
|
telosb wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEPKG += emb6
|
USEPKG += emb6
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
# name of your application
|
# name of your application
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f030r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
chronos msb-430 msb-430h nucleo-f030r8 \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
|
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
|
||||||
nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \
|
nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \
|
||||||
stm32f0discovery
|
stm32f0discovery waspmote-pro
|
||||||
|
|
||||||
# use Ethernet as link-layer protocol
|
# use Ethernet as link-layer protocol
|
||||||
USEMODULE += netdev_eth
|
USEMODULE += netdev_eth
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
telosb wsn430-v1_3b wsn430-v1_4
|
telosb wsn430-v1_3b wsn430-v1_4
|
||||||
|
|
||||||
USEMODULE += gnrc_ipv6
|
USEMODULE += gnrc_ipv6
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos nucleo-f030r8 nucleo-l053r8 nucleo-f031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
chronos nucleo-f030r8 nucleo-l053r8 nucleo-f031k6 \
|
||||||
nucleo-l031k6 nucleo-f042k6 stm32f0discovery \
|
nucleo-l031k6 nucleo-f042k6 stm32f0discovery \
|
||||||
telosb wsn430-v1_3b wsn430-v1_4
|
telosb waspmote-pro wsn430-v1_3b wsn430-v1_4
|
||||||
|
|
||||||
USEMODULE += gnrc_ipv6
|
USEMODULE += gnrc_ipv6
|
||||||
USEMODULE += gnrc_sixlowpan
|
USEMODULE += gnrc_sixlowpan
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
telosb wsn430-v1_3b wsn430-v1_4
|
chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
|
telosb waspmote-pro wsn430-v1_3b wsn430-v1_4
|
||||||
|
|
||||||
USEMODULE += gnrc_ipv6_nib_router
|
USEMODULE += gnrc_ipv6_nib_router
|
||||||
USEMODULE += gnrc_ndp
|
USEMODULE += gnrc_ndp
|
||||||
|
|||||||
@ -1,13 +1,16 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini \
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
||||||
cc2650-launchpad cc2650stk chronos hifive1 maple-mini \
|
arduino-uno b-l072z-lrwan1 bluepill calliope-mini \
|
||||||
microbit msb-430 msb-430h nrf51dongle nrf6310 \
|
cc2650-launchpad cc2650stk chronos hifive1 \
|
||||||
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb \
|
maple-mini mega-xplained microbit \
|
||||||
nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 nucleo-l073rz \
|
msb-430 msb-430h nrf51dongle nrf6310 \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
|
nucleo-f030r8 nucleo-f070rb nucleo-f072rb \
|
||||||
nucleo-l031k6 opencm904 spark-core \
|
nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \
|
||||||
stm32f0discovery stm32mindev telosb \
|
nucleo-l053r8 nucleo-l073rz nucleo-f031k6 \
|
||||||
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
||||||
|
opencm904 spark-core stm32f0discovery stm32mindev \
|
||||||
|
telosb waspmote-pro \
|
||||||
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
||||||
|
|
||||||
USEMODULE += embunit
|
USEMODULE += embunit
|
||||||
|
|||||||
@ -1,11 +1,13 @@
|
|||||||
# name of your application
|
# name of your application
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos hifive1 msb-430 msb-430h nucleo-f030r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
chronos hifive1 msb-430 msb-430h nucleo-f030r8 \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f070rb \
|
nucleo-f031k6 nucleo-f042k6 nucleo-f070rb \
|
||||||
nucleo-f070rb nucleo-f072rb nucleo-f303k8 \
|
nucleo-f070rb nucleo-f072rb nucleo-f303k8 \
|
||||||
nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \
|
nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \
|
||||||
stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 z1
|
stm32f0discovery telosb waspmote-pro \
|
||||||
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
# use IEEE 802.15.4 as link-layer protocol
|
# use IEEE 802.15.4 as link-layer protocol
|
||||||
USEMODULE += netdev_ieee802154
|
USEMODULE += netdev_ieee802154
|
||||||
|
|||||||
@ -2,9 +2,10 @@ include ../Makefile.tests_common
|
|||||||
|
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos telosb nucleo-f042k6 nucleo-f031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
chronos telosb nucleo-f042k6 nucleo-f031k6 \
|
||||||
nucleo-f030r8 nucleo-f303k8 nucleo-l053r8 \
|
nucleo-f030r8 nucleo-f303k8 nucleo-l053r8 \
|
||||||
nucleo-l031k6 stm32f0discovery z1
|
nucleo-l031k6 stm32f0discovery waspmote-pro z1
|
||||||
|
|
||||||
USEMODULE += sock_dns
|
USEMODULE += sock_dns
|
||||||
USEMODULE += gnrc_sock_udp
|
USEMODULE += gnrc_sock_udp
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
||||||
|
|
||||||
USEMODULE += gnrc_sock_ip
|
USEMODULE += gnrc_sock_ip
|
||||||
USEMODULE += gnrc_ipv6
|
USEMODULE += gnrc_ipv6
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
||||||
|
|
||||||
USEMODULE += gnrc_sock_check_reuse
|
USEMODULE += gnrc_sock_check_reuse
|
||||||
USEMODULE += gnrc_sock_udp
|
USEMODULE += gnrc_sock_udp
|
||||||
|
|||||||
@ -15,7 +15,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
|||||||
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
||||||
nucleo-f070rb nucleo-f072rb nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
|
nucleo-f070rb nucleo-f072rb nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
|
||||||
sb-430 sb-430h stm32f0discovery telosb \
|
sb-430 sb-430h stm32f0discovery telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
||||||
|
|
||||||
# Target Address, Target Port and number of Test Cycles
|
# Target Address, Target Port and number of Test Cycles
|
||||||
CFLAGS += -DTARGET_ADDR=\"$(TCP_TARGET_ADDR)\"
|
CFLAGS += -DTARGET_ADDR=\"$(TCP_TARGET_ADDR)\"
|
||||||
|
|||||||
@ -15,7 +15,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
|||||||
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
||||||
nucleo-f070rb nucleo-f072rb nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
|
nucleo-f070rb nucleo-f072rb nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
|
||||||
sb-430 sb-430h stm32f0discovery telosb \
|
sb-430 sb-430h stm32f0discovery telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
||||||
|
|
||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := calliope-mini chronos hifive1 microbit msb-430 msb-430h \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
calliope-mini chronos hifive1 mega-xplained \
|
||||||
|
microbit msb-430 msb-430h \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
||||||
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \
|
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \
|
||||||
nucleo-f334r8 nucleo-l053r8 spark-core stm32f0discovery telosb \
|
nucleo-f334r8 nucleo-l053r8 spark-core stm32f0discovery telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += gnrc_netdev_default
|
USEMODULE += gnrc_netdev_default
|
||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
nucleo-l053r8 stm32f0discovery
|
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
|
nucleo-f030r8 nucleo-l053r8 stm32f0discovery
|
||||||
|
|
||||||
# list of boards to run CI tests on
|
# list of boards to run CI tests on
|
||||||
TEST_ON_CI_WHITELIST += all
|
TEST_ON_CI_WHITELIST += all
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
CFLAGS += -DNDEBUG
|
CFLAGS += -DNDEBUG
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
DISABLE_MODULE = auto_init
|
DISABLE_MODULE = auto_init
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
FEATURES_REQUIRED = periph_gpio
|
FEATURES_REQUIRED = periph_gpio
|
||||||
FEATURES_REQUIRED = periph_gpio_irq
|
FEATURES_REQUIRED = periph_gpio_irq
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
BOARD ?= samr21-xpro
|
BOARD ?= samr21-xpro
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
FEATURES_REQUIRED = periph_i2c
|
FEATURES_REQUIRED = periph_i2c
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
BOARD ?= samr21-xpro
|
BOARD ?= samr21-xpro
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
FEATURES_REQUIRED = periph_spi
|
FEATURES_REQUIRED = periph_spi
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
FEATURES_REQUIRED = periph_timer
|
FEATURES_REQUIRED = periph_timer
|
||||||
|
|
||||||
TEST_ON_CI_WHITELIST += all
|
TEST_ON_CI_WHITELIST += all
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
FEATURES_REQUIRED = periph_uart
|
FEATURES_REQUIRED = periph_uart
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,8 @@ include ../Makefile.tests_common
|
|||||||
|
|
||||||
BOARD ?= native
|
BOARD ?= native
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
FEATURES_OPTIONAL += periph_rtc
|
FEATURES_OPTIONAL += periph_rtc
|
||||||
|
|
||||||
# this list is composed of boards that support spi/gpio + native
|
# this list is composed of boards that support spi/gpio + native
|
||||||
|
|||||||
@ -25,7 +25,8 @@ else
|
|||||||
USEMODULE += mtd_sdcard
|
USEMODULE += mtd_sdcard
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-f031k6 telosb \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
msb-430 msb-430h nucleo-f031k6 telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
# this list is composed of boards with sufficient memory and support spi/gpio + native
|
# this list is composed of boards with sufficient memory and support spi/gpio + native
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
USEMODULE += hashes
|
USEMODULE += hashes
|
||||||
USEPKG += micro-ecc
|
USEPKG += micro-ecc
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
|
chronos msb-430 msb-430h nucleo-f031k6 \
|
||||||
nucleo-l053r8 stm32f0discovery telosb z1
|
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
|
||||||
|
nucleo-f030r8 nucleo-l053r8 stm32f0discovery \
|
||||||
|
telosb waspmote-pro z1
|
||||||
|
|
||||||
# Include packages that pull up and auto-init the link layer.
|
# Include packages that pull up and auto-init the link layer.
|
||||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||||
|
|||||||
@ -2,7 +2,8 @@ BOARD ?= b-l072z-lrwan1
|
|||||||
|
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
||||||
|
|
||||||
BOARD_BLACKLIST := msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
|
BOARD_BLACKLIST := msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
||||||
|
|
||||||
BOARD_BLACKLIST := wsn430-v1_3b wsn430-v1_4
|
BOARD_BLACKLIST := wsn430-v1_3b wsn430-v1_4
|
||||||
|
|
||||||
USEPKG += tiny-asn1
|
USEPKG += tiny-asn1
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 telosb \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
chronos msb-430 msb-430h nucleo-f031k6 telosb \
|
||||||
wsn430-v1_3b wsn430-v1_4 z1
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
waspmote-pro
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|
||||||
USEPKG += ucglib
|
USEPKG += ucglib
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos mbed_lpc1768 msb-430 msb-430h nrf6310 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
chronos mbed_lpc1768 msb-430 msb-430h nrf6310 \
|
||||||
nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \
|
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
spark-core stm32f0discovery yunjia-nrf51822
|
nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \
|
||||||
|
nucleo-l053r8 spark-core stm32f0discovery \
|
||||||
|
yunjia-nrf51822
|
||||||
|
|
||||||
USEMODULE += fmt
|
USEMODULE += fmt
|
||||||
USEMODULE += posix_semaphore
|
USEMODULE += posix_semaphore
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f030r8 nucleo-l053r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
chronos msb-430 msb-430h nucleo-f030r8 \
|
||||||
stm32f0discovery telosb wsn430-v1_3b \
|
nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \
|
||||||
wsn430-v1_4 z1
|
nucleo-l031k6 stm32f0discovery telosb \
|
||||||
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += shell_commands
|
USEMODULE += shell_commands
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
nucleo-l053r8 stm32f0discovery
|
nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
|
||||||
|
nucleo-f030r8 nucleo-l053r8 stm32f0discovery
|
||||||
|
|
||||||
TEST_ON_CI_WHITELIST += all
|
TEST_ON_CI_WHITELIST += all
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
|
||||||
nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \
|
nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \
|
||||||
nucleo-f334r8 nucleo-l053r8 stm32f0discovery
|
nucleo-f334r8 nucleo-l053r8 stm32f0discovery \
|
||||||
|
waspmote-pro
|
||||||
|
|
||||||
BOARD_BLACKLIST += mips-malta
|
BOARD_BLACKLIST += mips-malta
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
|
||||||
|
chronos msb-430 msb-430h nucleo-f031k6 \
|
||||||
nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
|
||||||
nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \
|
nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \
|
||||||
stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 z1
|
stm32f0discovery telosb waspmote-pro \
|
||||||
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
|
|
||||||
USEMODULE += sntp
|
USEMODULE += sntp
|
||||||
USEMODULE += gnrc_sock_udp
|
USEMODULE += gnrc_sock_udp
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 \
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
chronos msb-430 msb-430h nucleo-f031k6 \
|
||||||
nucleo-f303k8
|
nucleo-f303k8
|
||||||
|
|
||||||
DISABLE_MODULE += auto_init
|
DISABLE_MODULE += auto_init
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
nucleo-f031k6 nucleo-f042k6
|
||||||
|
|
||||||
DISABLE_MODULE += auto_init
|
DISABLE_MODULE += auto_init
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
nucleo-f031k6 nucleo-f042k6
|
||||||
|
|
||||||
DISABLE_MODULE += auto_init
|
DISABLE_MODULE += auto_init
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
nucleo-f031k6 nucleo-f042k6
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
|
||||||
|
nucleo-f031k6 nucleo-f042k6
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
BOARD_INSUFFICIENT_MEMORY := chronos
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno chronos
|
||||||
|
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user