Commit graph

395 commits

Author SHA1 Message Date
Ralf Schlatterbeck
cc48b88713 New method for determining active partition 2017-08-22 20:20:07 +02:00
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
d890a492bb Set arduino LOOP_INTERVAL in project-conf.h 2017-08-20 19:42:42 +02:00
Ralf Schlatterbeck
3defa16553 Output min and max address on stderr 2017-08-20 19:41:34 +02:00
Ralf Schlatterbeck
6141e26999 Allow a second upload, reset state 2017-08-20 16:43:11 +02:00
Ralf Schlatterbeck
dd9ba9e0ef Add missing resources.h 2017-08-20 15:09:22 +02:00
Ralf Schlatterbeck
e3784fa9c7 Add query parameter to generic resouce macros
Modify all callback functions to use new signature.
ota-update now uses this to pass the partition to some get/put methods.
2017-08-20 15:01:30 +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
Marcus Priesch
6eced34422 fixed size_t, irq 2017-08-20 00:12:57 +02:00
Marcus Priesch
140f43f4c1 work in progress 2017-08-19 22:11:13 +02:00
Ralf Schlatterbeck
ed638a5f5a Add genbackupisr 2017-08-19 21:05:39 +02:00
Ralf Schlatterbeck
b774d61713 First sketch of image uploader 2017-08-19 19:26:27 +02:00
Marcus Priesch
0859e3442c added 2017-08-08 14:36:44 +02:00
Harald Pichler
5e20a17131 initial upload 2017-08-07 15:46:53 +02:00
Harald Pichler
f576ef27ce update redme 2017-08-02 10:26:54 +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
1384aad51a fixed leds 2017-07-30 13:04:56 +02:00
Ralf Schlatterbeck
181e2c436e Add description of new H-brigde breakout-board 2017-07-29 14:42:13 +02:00
Harald Pichler
fd442fb9da set direction 2017-07-25 20:16:55 +02:00
Harald Pichler
4b1580cc70 init arduino pwm driver 2017-07-21 13:31:44 +02:00
Harald Pichler
a6670d99a8 set speed 2017-07-20 17:00:16 +02:00
Harald Pichler
38430ac259 set speed 2017-07-20 16:26:38 +02:00
Harald Pichler
60c6495fa3 initial upload 2017-07-20 15:16:01 +02:00
Harald Pichler
578dbaa431 add joystick, add BB-L Bridge 2017-07-20 15:14:45 +02:00
Harald Pichler
223ea26eb4 add led bar 2017-07-20 14:03:42 +02:00
Harald Pichler
c39e10b2e7 initial upload 2017-07-20 10:33:19 +02:00
Harald Pichler
5e15ec6488 bugfix store value to d_temp_s and enable debug prints as degfault 2017-05-04 16:29:55 +02:00
Ralf Schlatterbeck
dca85a7b6b Add valve example
Used for gardena valves with 9V power supply.
2017-03-24 20:10:37 +01:00
Harald Pichler
c56142ccec add save energie 2017-03-24 16:11:28 +01:00
Harald Pichler
afde635051 initial upload 2017-03-24 11:08:45 +01:00
Harald Pichler
918b20f3cf set loop to 30 2017-03-18 20:42:47 +01:00
Harald Pichler
2942868799 bugfix format 2017-03-03 11:45:46 +01:00
Harald Pichler
362eadd821 bugfix format 2017-03-03 11:40:13 +01:00
Harald Pichler
14baf5df6c bugfix format 2017-03-03 11:37:09 +01:00
Harald Pichler
c954d22d81 bugfix format 2017-03-03 11:29:32 +01:00
Harald Pichler
f36183f2b5 Merge branch 'master' of https://github.com/osdomotics/osd-contiki 2017-03-03 11:26:28 +01:00
Harald Pichler
314c46b91a bugfix format 2017-03-03 11:24:32 +01:00
Harald Pichler
6af70ee511 bugfix warning -Wwrite-strings 2017-03-03 11:21:43 +01:00
Harald Pichler
7000323c74 bugfix format 2017-03-03 11:17:33 +01:00
Harald Pichler
ae6375d900 add humidity resource, bugfix pressure string variable 2017-02-24 10:28:35 +01:00
Harald Pichler
2137a12971 Merge branch 'master' of https://github.com/osdomotics/osd-contiki 2017-02-24 10:07:20 +01:00
Harald Pichler
4151c09e2c cleanup code 2017-02-23 22:36:32 +01:00
Harald Pichler
6677fac2ab bugfix use bmp280 and not bme280 2017-02-23 22:22:40 +01:00
Harald Pichler
8e07bab71f initial upload 2017-02-23 16:48:37 +01:00
Harald Pichler
85f3814f67 add i2c address 2017-02-23 08:59:49 +01:00
Harald Pichler
42dee52e65 initial upload 2017-02-23 08:49:02 +01:00
Harald Pichler
352f078be7 initial upload 2017-02-22 14:53:05 +01:00
Harald Pichler
5ea65cab08 temperature convert time is to short set from 50ms to 60ms 2017-02-21 20:06:15 +01:00
Harald Pichler
201a8174c6 print buffer text and hex format 2017-02-01 16:17:48 +01:00
Harald Pichler
6a9b6ae77b initial upload 2017-02-01 11:26:50 +01:00
Harald Pichler
9fb2352b08 bugfix buffer overflow 2017-02-01 10:28:02 +01:00
Harald Pichler
1ec48fcf37 bugfix repalce the same tag 2016-12-16 13:03:44 +01:00
Harald Pichler
0812b89909 bugfix only one event if pressed 2016-12-09 15:59:22 +01:00
Harald Pichler
d41197e1e7 add button code 2016-12-08 22:22:56 +01:00
Harald Pichler
52c26d31c4 initial upload 2016-12-07 09:20:49 +01:00
Harald Pichler
5fc05b102b add sencond button 2016-12-07 09:18:10 +01:00
Harald Pichler
95b8c2683e cleanup examples 2016-12-06 21:37:58 +01:00
Harald Pichler
994badaef9 cleanup code 2016-12-06 21:37:03 +01:00
Harald Pichler
353cfe723c initial upload 2016-12-06 21:32:33 +01:00
Harald Pichler
4f7476c084 bugfix type 2016-12-04 15:49:14 +01:00
Harald Pichler
f8a399d346 initial upload 2016-12-04 15:47:40 +01:00
Harald Pichler
9f40b0734c add rfid resources 2016-11-14 11:13:07 +01:00
Harald Pichler
1398ff0de6 print date to serial1 2016-11-09 15:39:24 +01:00
Harald Pichler
d2a1f8937e add coap resoure ip 2016-11-06 16:17:16 +01:00
Harald Pichler
d8bb685989 bugfix post led/RGB 2016-11-05 19:34:07 +01:00
Harald Pichler
646bb077ef move res_red .. to resources folder 2016-11-04 08:40:58 +01:00
Harald Pichler
d66e402cad bugfix linker problem mix c cpp function 2016-11-03 16:20:22 +01:00
Harald Pichler
5ea437c170 initial upload 2016-11-03 15:46:00 +01:00
Harald Pichler
20820a11e0 move rgb resource to resource folder 2016-11-03 11:27:42 +01:00
Harald Pichler
d2a650f514 cleanup code 2016-11-03 08:38:21 +01:00
Harald Pichler
79b69334df cleanup code 2016-11-03 08:11:42 +01:00
Harald Pichler
17520dc4e0 add resource res_rgb 2016-10-27 14:17:26 +02:00
Harald Pichler
e6dbb8c3f2 Merge branch 'master' into osd
Conflicts:
	examples/osd/triggerbaord/sketch.pde
2016-10-26 17:03:37 +02:00
Harald Pichler
8891a0ec44 reduce power consumtion 2016-10-19 09:45:45 +02:00
Harald Pichler
b7b3f0a33a add mcusleep set parameter to save energie 2016-10-19 08:32:21 +02:00
Harald Pichler
ed1ae480f1 initial uplaod 2016-10-17 08:24:14 +02:00
Harald Pichler
fd37296cdf more range, we have power 2016-10-17 08:22:38 +02:00
Harald Pichler
3b28df58da eliminate c++ string warnings 2016-10-17 08:20:16 +02:00
Harald Pichler
47760c57e6 add parameter to save more power 2016-10-16 22:08:18 +02:00
Harald Pichler
a152a30958 add mac layer security 2016-10-13 12:41:02 +02:00
Harald Pichler
e4ab78369e initial upload 2016-10-13 12:36:53 +02:00
Harald Pichler
8f5a033c48 move arduino app code to project 2016-10-12 10:16:41 +02:00
Harald Pichler
548bf32990 initial upload 2016-10-12 10:02:59 +02:00
Harald Pichler
9226facda8 remove warnings 2016-10-02 22:49:22 +02:00
Harald Pichler
fa11a55a45 initial upload 2016-10-02 22:35:56 +02:00
Harald Pichler
5d76c0a6af add rgb resource 2016-10-02 22:32:58 +02:00
Harald Pichler
cfca07489d coap client test 2016-09-27 18:13:03 +02:00
Harald Pichler
8302b1f762 bugfix constrain return value 2016-09-27 17:03:15 +02:00
Harald Pichler
ee5cd039a1 add ChainableLED 2016-09-27 09:51:26 +02:00
Harald Pichler
a37fd79426 disable mcusleep 2016-09-26 21:06:14 +02:00
Harald Pichler
916bebd102 reduce power consumtion 2016-09-26 21:04:05 +02:00
Harald Pichler
2fd23f99ed config as hostnode, add coap client 2016-09-20 21:49:52 +02:00
Harald Pichler
8b1745214c bugfix answear speed 2016-09-20 21:22:11 +02:00
Harald Pichler
28f2b2caa8 add coap client function 2016-09-20 21:20:34 +02:00
Harald Pichler
c663bb527e add UIP_CONF_ROUTER to project.conf 2016-09-16 14:12:37 +02:00
Harald Pichler
34a9135f83 activate reciver on 2016-09-01 09:34:57 +02:00
Harald
c7de6343d9 Merge pull request #5 from piccaso/max-age
Triggerboard: set max-age header
2016-08-24 07:54:13 +02:00
Flo
eeb90bab77 gets rid of 'deprecated conversion from string constant to char*' 2016-08-24 00:59:47 +02:00
Harald Pichler
ec34b8640c bugfix dallas remove first space 2016-08-23 20:51:21 +02:00