1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

19323 Commits

Author SHA1 Message Date
1a3bb65e3c
sys/hashes/sha256: add missing unistd.h include
It needs `size_t` definition.
2018-09-06 11:13:12 +02:00
Martine Lenders
0fccf65c27
Merge pull request #9748 from miri64/tests/enh/ula-src
tests/gnrc_netif: add test for ULA source selection
2018-09-06 10:10:53 +02:00
0c1a207bf9
Merge pull request #9867 from kaspar030/pr/unify_app_folder_search
make: unify app folder search (examples/*, tests/*, ...)
2018-09-06 09:30:12 +02:00
Francisco Acosta
fad4d9be19
Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
atmega_common: allow defining rom and ram length for link.
2018-09-05 16:00:33 +02:00
cladmi
3bf71959d7
waspmote-pro: configure BOOTLOADER_SIZE
Size is from Francisco knowledge on stk500v1.
2018-09-05 12:20:51 +02:00
cladmi
109467d881
mega-xplained: configure BOOTLOADER_SIZE
Value found by checking fuse settings
2018-09-05 12:20:49 +02:00
cladmi
f59c1c5c2d
jiminy-mega256rfr2: configure BOOTLOADER_SIZE
Value comes the maintainer.
2018-09-05 12:20:46 +02:00
cladmi
8982a08886
arduino-uno: configure BOOTLOADER_SIZE
Taken from https://store.arduino.cc/arduino-uno-rev3
2018-09-05 12:20:43 +02:00
cladmi
6a96042b4a
arduino-mega2560: configure BOOTLOADER_SIZE
Taken from https://store.arduino.cc/arduino-mega-2560-rev3
2018-09-05 12:20:41 +02:00
cladmi
2c1344fc9f
arduino-duemilanove: configure BOOTLOADER_SIZE
Taken from https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove
2018-09-05 12:20:38 +02:00
cladmi
9720d9c51c
cpu/atmega_common: Allow specifying a reserved space in ROM
It is defined using the `ROM_RESERVED` variable.

This should allow supporting arduino bootloader that is stored at the
end of the ROM.
2018-09-05 12:20:36 +02:00
cladmi
493cad03da
atmega_common: make rom and ram length definition mandatory
Now all atmega cpu define them so use them by default.
2018-09-05 12:20:33 +02:00
cladmi
e4635004f7
cpu/atmega1284p: configure RAM and ROM length
Info taken from https://www.microchip.com/wwwproducts/en/atmega1284p

TODO: update "board not enough memory".
2018-09-05 12:20:31 +02:00
cladmi
2ff7137733
cpu/atmega256rfr2: configure RAM and ROM length
Info taken from https://www.microchip.com/wwwproducts/en/atmega256rfr2

TODO: update "board not enough memory".
2018-09-05 12:20:28 +02:00
cladmi
c6a45e4082
cpu/atmega328p: configure RAM and ROM length
Info taken from https://www.microchip.com/wwwproducts/en/atmega328p

TODO: update "board not enough memory".
2018-09-05 12:20:26 +02:00
cladmi
ef20b035bd
cpu/atmega1281: configure RAM and ROM length
Info taken from https://www.microchip.com/wwwproducts/en/atmega1281

TODO: update "board not enough memory".
2018-09-05 12:20:23 +02:00
cladmi
b22832b4cd
cpu/atmega2560: configure RAM and ROM length
Info taken from https://www.microchip.com/wwwproducts/en/atmega2560

TODO: update "board not enough memory".
2018-09-05 12:20:20 +02:00
cladmi
098770aeda
atmega_common: use binutils 2.26 ldscript for older versions
This allows configuring __TEXT_REGION_LENGTH__ and __DATA_REGION_LENGTH__
for previous versions (ubuntu xenial for example).
2018-09-05 12:20:17 +02:00
Gaëtan Harter
56a1ac4f2b
cpu/atmega: add avr-binutils 2.26 linkerscripts
Generated by extracting the output of

    avr-gcc -Wl,--verbose --mmcu=$(CPU)

With avr-binutils 2.26
2018-09-05 12:08:33 +02:00
cladmi
6e148bcf1b
atmega_common: allow defining rom and ram length for link.
Allow configuring __TEXT_REGION_LENGTH__ and __DATA_REGION_LENGTH__ linkerscript
variables using ROM_LEN and RAM_LEN makefile variables.
2018-09-05 12:08:31 +02:00
cladmi
6942c376df
tests/: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:29 +02:00
cladmi
ad6f6fcb03
tests/xtimer: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:27 +02:00
cladmi
fc6c06992f
tests/thread: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:24 +02:00
cladmi
725d3d9bcd
tests/pkg: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:22 +02:00
cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:20 +02:00
cladmi
4a9187f74c
tests/gnrc: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:18 +02:00
cladmi
1bab7742c2
tests/driver: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:14 +02:00
cladmi
b3f889c7ef
examples: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:07:54 +02:00
Emmanuel Baccelli
d00aeaa995
Merge pull request #9886 from emmanuelsearch/readme-esp8266
README: update listing support of ESP8266
2018-09-05 12:06:17 +02:00
de55265835 dist/tools/compile_test: make use of makefiles/app_dirs.inc.mk 2018-09-05 12:03:09 +02:00
df9328c7aa murdock: make use of app_dirs.inc.mk 2018-09-05 12:03:09 +02:00
64ab039841 Makefile: make use of app_dirs.inc.mk 2018-09-05 12:03:09 +02:00
de64a85b74 makefiles: app_dirs.inc.mk initial commit
This helper Makefile is supposed to unify finding folders with
applications that can be built.
2018-09-05 12:03:09 +02:00
José Alamos
17b14cd8a0
Merge pull request #9883 from leandrolanzieri/pr/sensebox_sx127x_pa
boards/sensebox_samd21: Use PA_BOOST option on SX127X radios
2018-09-05 10:42:18 +02:00
Emmanuel Baccelli
0167abcfe0 README: update listing support of ESP8266 2018-09-05 09:58:03 +02:00
6495fe6dc2
Merge pull request #8921 from gschorcht/esp8266
ESP8266 port
2018-09-05 07:52:35 +02:00
Schorcht
6e3c84d3ca tests: blacklist esp8266 based boards 2018-09-05 02:39:50 +02:00
Schorcht
d2fb1ba8a5 examples: blacklist esp8266 based boards 2018-09-05 02:39:50 +02:00
Schorcht
fa213ddd86 boards: add esp8266-sparkfun-thing 2018-09-05 02:39:50 +02:00
Schorcht
081a8e8921 boards: add esp8266-olimex-mod 2018-09-05 02:39:50 +02:00
Schorcht
eca7169696 boards: add esp8266-esp-12x 2018-09-05 02:39:50 +02:00
Schorcht
bc1906ef42 boards: add common esp8266 based sources 2018-09-05 02:39:50 +02:00
Schorcht
e4ca897661 cpu: add esp8266 2018-09-05 02:39:50 +02:00
Schorcht
e528fb8e2d cpu: add esp8266 vendor files 2018-09-05 02:39:50 +02:00
Francisco Acosta
7a40aaed5e
Merge pull request #9787 from cladmi/pr/openocd/flashbin
openocd.sh: allow flashing binary files without configuration
2018-09-04 19:31:49 +02:00
Gaëtan Harter
749d8aed54
Merge pull request #9884 from miri64/pkg/fix/lwip_ethernet-dependency
pkg/lwip: fix `lwip_ethernet` dependency
2018-09-04 14:14:45 +02:00
cladmi
bc7e53f3d4
openocd.sh: include base address in IMAGE_OFFSET for binfiles
Add the rom base address to the flash address when flashing binaries.
This allows flashing binaries with the default openocd configuration.

It is an API change to IMAGE_OFFSET with binary files as it should now
only be an offset to the base address.

Force openocd type to '.bin' in case we want to flash hex/elf objects or
files not automatically recognized as bin.
2018-09-04 13:53:38 +02:00
cladmi
36b51467dd
openocd.sh: add functions to access board flash address
This allows getting the ROM base address.

It may not be available in the build system directly so better extract it from
openocd. Also openocd is board specific and this address is cpu specific
so would have definition order issue in the build system.
2018-09-04 13:50:46 +02:00
cladmi
5748d6a75f
openocd.sh: add a _is_binfile function
Returns 0 if it is true.

The test is based on the file extension, but also use the IMAGE_TYPE variable
to force setting to binary.
2018-09-04 13:49:45 +02:00
Martine Lenders
461ceb8072 tests/lwip_sock_*: remove implicit import of lwip_ethernet module
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed.
2018-09-04 13:48:22 +02:00