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
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
cladmi
60aac4a75b
openocd.sh: fix verify_image with IMAGE_OFFSET
...
When flashing with an IMAGE_OFFSET, it should also be passed to
verify_image. It is handling the base address in the image too.
This works with both elf files and binaries with the base address added.
2018-09-04 13:48:16 +02:00
cladmi
09f0930f59
openocd.sh: add a debug message when flashing with an offset
2018-09-04 13:48:12 +02:00
cladmi
5bb9babfe0
openocd.sh: update to bash
...
Update to bash to have `local` variables and `=~` regex matching.
Will be used in upcoming commits.
2018-09-04 13:46:25 +02:00
Martine Lenders
d9d5828106
tests/lwip: 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. This also makes this application more
flexible for usage of non-`native` boards with Ethernet devices.
2018-09-04 13:44:48 +02:00
Martine Lenders
761f5febc3
lwip: pull in lwip_ethernet
when netdev_eth
is present
...
With out this fix the application or device drivers need to add this
module. Otherwise, compilation of the lwIP adaptation layer will fail
for Ethernet devices.
2018-09-04 13:43:09 +02:00
Dylan Laduranty
8871e5aaa6
Merge pull request #9876 from fedepell/sercomid-9875
...
sam0_common: fix sercom_id return value for SERCOM5 (#9875 )
2018-09-04 09:10:06 +02:00
57ada27dae
Merge pull request #8970 from aabadie/pr/tools/pyterm_ctrl_d
...
dist/tools/pyterm: handle ctrl+d nicely
2018-09-04 08:55:22 +02:00