Commit Graph

12106 Commits

Author SHA1 Message Date
Simon Duquennoy
ecd1d57eec Merge pull request #1661 from yatch/pr-tsch-cooja-mote
TSCH on Cooja mote
2016-11-23 11:59:29 +01:00
Antonio Lignan
efde9132a8 Merge pull request #1769 from gebart/pr/rest-engine-periodic-add-poll
rest-engine: Allow adding periodic resources after starting REST engine
2016-11-11 09:01:32 +01:00
Cristiano De Alti
1bdec853e1 Prevent interger overflow on the AVR
Compiling examples/er-rest-example for the avr-raven gives:

  integer overflow in expression [-Woverflow]

On the AVR int is 16 bit and some calculations may overflow.
This happens for example with multiplications involving
CLOCK_SECOND where all the operands are of type int.
Casting one of the operands to clock_time_t forces
the arithmetic to clock_time_t without increasing the size
of the program (the calculation is performed at compile time).
2016-11-05 22:46:42 +01:00
Adam Dunkels
36afb693b0 Removed left-over debug printout 2016-11-02 21:54:15 +01:00
Adam Dunkels
869df3bc36 Updated copyright statements 2016-11-02 21:54:02 +01:00
Adam Dunkels
937fddbedf Removed blanks 2016-11-02 21:53:43 +01:00
Adam Dunkels
c484ee4998 Added comments 2016-11-02 21:53:31 +01:00
Antonio Lignan
1ebceb8f23 Merge pull request #1897 from mdlemay/shrink-pinmux-array
galileo: Shrink pinmux array
2016-11-02 21:40:42 +01:00
Adam Dunkels
ae4801bba6 Bugfix: make sure the TCP connection is polled immediately after tcp_socket_send() is called so that the TCP segment goes out directly 2016-11-02 15:16:00 +01:00
Adam Dunkels
f11d344d4d Add a tcp_socket_queuelen() function that returns the length of the current TCP output queue 2016-11-02 15:16:00 +01:00
Adam Dunkels
6ab9822fc2 Make debug printouts be PRINTF() statements to avoid including them in non-debug builds 2016-11-02 15:16:00 +01:00
Adam Dunkels
bb071a7fba Contiki websocket HTTP client code 2016-11-02 15:16:00 +01:00
Adam Dunkels
a7cbbe496f Contiki websocket client code 2016-11-02 15:16:00 +01:00
Adam Dunkels
5625a01baf Example node.js websocket server, to be used with the Contiki websocket client 2016-11-02 15:16:00 +01:00
Adam Dunkels
4f13d637e6 Example code for the Contiki websocket client 2016-11-02 15:16:00 +01:00
Benoît Thébaudeau
4d61e8f997 Merge pull request #1906 from bthebaudeau/fix-cc2538-disabled-lpm-warnings
cc2538: lpm: Fix build warnings with LPM_CONF_ENABLE == 0
2016-10-31 21:38:16 +01:00
Benoît Thébaudeau
6cdba10b1d Merge pull request #1895 from alignan/pull/fix-cc2538-cca
cpu/cc2538: CCA threshold was fixed
2016-10-28 23:42:18 +02:00
Antonio Lignan
0bb9052840 Merge pull request #1896 from alignan/pull/tsl-256x-rework
Renamed driver and reworked to support both TSL2561/TSL2563
2016-10-27 09:29:49 +02:00
Benoît Thébaudeau
0e7750489a Merge pull request #1905 from nfi/compiler-warnings-cc2538
Fixed compiler warnings for CC2538-based platforms
2016-10-26 13:12:47 +02:00
Niclas Finne
3982aee329 Added missing include 2016-10-26 00:04:58 +02:00
Benoît Thébaudeau
14ccffd9d4 cc2538: lpm: Fix build warnings with LPM_CONF_ENABLE == 0
Some arguments passed to the functions disabled with
LPM_CONF_ENABLE == 0 could trigger build warnings because they became
unused with this configuration option. Disable these functions by using
empty static inline functions instead of empty macros, so that the
function arguments are always considered by the compiler as used,
without having to #if-out code in many places.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2016-10-25 22:18:37 +02:00
George Oikonomou
1d59651632 Merge pull request #1903 from morphal/mqtt-debug-printf-fix
Fixed debug PRINTF definition in mqtt client
2016-10-25 12:23:43 +01:00
aho
8306aded79 fixed typo in debug PRINTF definition 2016-10-25 12:38:15 +03:00
Nicolas Tsiftes
d690dcae31 Merge pull request #1864 from sumanpanchal/wismote-battery-voltage
Wismote: Added support for Battery voltage measurement
2016-10-24 14:41:23 +02:00
Antonio Lignan
94174be708 Renamed driver and reworked to support both TSL2561/TSL2563 2016-10-19 23:13:25 +02:00
Michael LeMay
5c4cc2722e galileo: Shrink pinmux array
The pins array in galileo-gen2-pinmux.c:galileo_brd_to_cpu_gpio_pin is
unnecessarily large.  This patch reduces its size.
2016-10-19 09:31:50 -07:00
Antonio Lignan
2f76fc1f77 Merge pull request #1784 from g-oikonomou/contrib/cc1350
Add CC1350 support
2016-10-18 12:04:48 +02:00
Antonio Lignan
2a84e68e6d cpu/cc2538: CCA threshold was fixed 2016-10-18 09:35:04 +02:00
Oliver Schmidt
b8d753d35e Merge pull request #1889 from oliverschmidt/master
Several retrotarget changes
2016-10-16 13:12:24 +02:00
Oliver Schmidt
fb4c42a357 Added custom log function for CBM machines.
The log function writes directly to the screen. Combined with the usage of PFS this means that the POSIX layer of the C library isn't referenced anymore thus reducing the memory requirements.
2016-10-15 23:36:53 +02:00
Oliver Schmidt
d864e73579 Added directory functions to the Commodore Platform File System.
They reduce the Telnet server's run size by 1231 bytes.
2016-10-15 18:36:54 +02:00
Oliver Schmidt
c25e965b0c Avoid unnecessary key presses.
The recently added doesclrscrafterexit() allows cc65 programs to determine if the screen will be cleared after exit(). If that isn't the case then there's no need to ask the user to press a key in order to allow him to read the final program output.
2016-10-15 15:27:42 +02:00
Simon Duquennoy
14bfaffe00 Merge pull request #1883 from zhitaoh/fix-6LoWPAN-typo
fix comment with 6LoWPAN typo and break long lines
2016-10-12 15:05:24 +02:00
Oliver Schmidt
957ac63a7c Improved dicarding of text in the HTML header.
Plain text in the HTML header (think of <title>text</title>) is collected as usual. The decision to discard it is triggered by the first withspace following. In the usual case of the <body> no preceeded by any whitespace this means that by the point the first whitespace is encountered we're not in "discard mode" anymore and therefore incorrectly render the text.

Explicitly calling do_word() just before leaving "discard mode" discards all text collected so far.
2016-10-11 11:25:31 +02:00
Oliver Schmidt
72cc19c680 Fixed ProDOS 800kB image.
The 800kB file claimed to be a 32MB image. Now the logical size and pysical size match.
2016-10-11 11:18:23 +02:00
g.oikonomou@bristol.ac.uk
ec4b403e77 Allow and document IEEE mode for CC13xx 2016-10-07 10:05:14 +01:00
Zhitao He
7bb10dc2a0 fix comment with 6LoWPAN typo and break long lines 2016-10-03 15:53:28 +02:00
Antonio Lignan
6157dce0b5 Merge pull request #1877 from alignan/pull/fix-zoul-doc
Zoul: updated pin-out images
2016-09-28 23:05:17 +02:00
Antonio Lignan
fd881bec19 Merge pull request #1874 from alignan/pull/zolertia-firefly-reva1
Zoul: added new Firefly revision A
2016-09-28 17:01:19 +02:00
Antonio Lignan
1758eaa08c Zoul: updated pin-out images 2016-09-28 16:54:51 +02:00
Nicolas Tsiftes
272c7b92d0 Merge pull request #1875 from mdlemay/fix-dhcp-ipv6
galileo: Omit DHCP code when IPv6 is enabled
2016-09-27 17:04:23 +02:00
Michael LeMay
04446e8da5 galileo: Omit DHCP code when IPv6 is enabled 2016-09-24 17:37:07 -07:00
Nicolas Tsiftes
ef78b44a86 Merge pull request #1871 from gkelly/fix-rpl-debug
rpl: fix debugging PRINTF in find_removable_dio
2016-09-23 13:34:49 +02:00
Simon Duquennoy
75090f648a Merge pull request #1870 from simonduq/pr/cc1200-1.2kbps
CC1200 added config for 1.2 kbps
2016-09-23 13:13:26 +02:00
Antonio Lignan
75e260b2fc Zoul: added new Firefly revision A 2016-09-23 11:44:33 +02:00
Simon Duquennoy
ba739f679e cc1200: configurable tx-rx turaround time 2016-09-23 09:41:20 +02:00
Simon Duquennoy
5dd3d03699 cc1200: call watchdog_periodic while in busy-wait 2016-09-23 09:10:42 +02:00
Simon Duquennoy
086499a864 cc1200: added configuration for 868 MHz 2-FSK at 1.2 kbps 2016-09-23 09:06:14 +02:00
Simon Duquennoy
622d576439 cc1200: configure RSSI offset as part of cc1200_rf_cfg 2016-09-23 09:06:13 +02:00
Simon Duquennoy
97843ed322 cc1200: use Hz instead of kHz for channel spacing 2016-09-23 09:06:05 +02:00