Commit graph

17 commits

Author SHA1 Message Date
Ralf Schlatterbeck
406fb7ea44 Add linker script
Also get rid of genbackupisr hack: We can achieve the same thing with
avr-objcopy which doesn't need additional software.
We use the new bootloader setting for irq-save area of 0x800.
2017-08-22 10:13:36 +02:00
Ralf Schlatterbeck
edc7a59091 New make environment for new bootloader
Compatible with old bootloader. Adds an additional section with a copy
of the interrupt vector table to the end of the image. This is needed by
the new bootloader and should be ok for the old bootloader.

Note that for this to work, everybody needs python installed with
the IntelHex python package. On Linux this can be achieved with

pip install IntelHex
2017-08-20 20:57:17 +02:00
Ralf Schlatterbeck
954da749eb Factor irq methods
Now methods that need interrupts turned off are wrapped.
Make genbackupisr.py executable.
New resources for bootloader-related information.
2017-08-20 11:47:13 +02:00
Ralf Schlatterbeck
b774d61713 First sketch of image uploader 2017-08-19 19:26:27 +02:00
Harald Pichler
bfdae2a7a7 bugfix compile example settings-example 2017-08-16 16:13:34 +02:00
Ralf Schlatterbeck
c35be7c066 First stab at OTA-update
Introduce new testing-app example.
Add a new coap error code for blockwise transfer.
Add include-file for bootloader callbacks (jumptable).
Note that only the bootloader for osd-merkur-256 will support
OTA-update, the -128 simply has not enough flash memory, so only
in the -256 we have the bootloader functions in the jump-table
of the bootloader and in the bootloader-if.h include-file.
2017-07-31 13:26:29 +02:00
Marcus Priesch
1a57b55d8f added bootloader_write_page_to_flash symbol 2017-07-30 13:05:09 +02:00
Marcus Priesch
1384aad51a fixed leds 2017-07-30 13:04:56 +02:00
Harald Pichler
aa1670e5d4 add used serial lines 2016-12-04 15:45:09 +01:00
Harald Pichler
f9f923d29c bugfix SPI 2016-11-15 09:36:30 +01:00
Harald Pichler
c666b18a12 add hardware serial1 to use with arduino api 2016-11-09 15:14:45 +01:00
Harald Pichler
54e676343f set reciever amplifier to -90dB if use nullmac 2016-10-20 15:41:26 +02:00
Harald Pichler
c663bb527e add UIP_CONF_ROUTER to project.conf 2016-09-16 14:12:37 +02:00
Harald Pichler
6cf4e147ed add noncoresec 2016-08-20 14:32:26 +02:00
Harald Pichler
12e77a1e58 bugfix cca threshold 2016-08-18 17:26:37 +02:00
Harald Pichler
cf40f59843 add pin status 2016-08-15 20:22:49 +02:00
Ralf Schlatterbeck
04bbba6c12 Multi-platform support, osd-merkur-{128,256}
Rename guhRF platform to osd-merkur-256, previous osd-merkur platform is
now osd-merkur-128. Also check that everything is consistent.
Add both platforms to the regression tests.
Move redundant files in platform dev directory of both platforms to
cpu/avr/dev. Note that this probably needs some rework. Already
discovered some inconsistency in io definitions of both devices in the
avr/io.h includes. Added a workaround in the obvious cases.
The platform makefiles now set correct parameters for bootloader and for
reading mac-address from flash memory.
Factor the flash programming into cpu/avr and platform/osd-merkur* and
rework *all* osd example makefiles to use the new settings. Also update
all the flash.sh and run.sh to use the new settings.
The suli ledstrip modules (and osd example) have also been removed.
2016-04-22 17:59:40 +02:00