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
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
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
Harald Pichler
0556557d8b
remove unneeded code
2016-10-28 11:43:55 +02:00
Harald Pichler
17520dc4e0
add resource res_rgb
2016-10-27 14:17:26 +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
Harald Pichler
e6dbb8c3f2
Merge branch 'master' into osd
...
Conflicts:
examples/osd/triggerbaord/sketch.pde
2016-10-26 17:03:37 +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
Harald Pichler
54e676343f
set reciever amplifier to -90dB if use nullmac
2016-10-20 15:41:26 +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
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
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
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
0fd28e0585
remove PT_YIELD to habe better ping sync
2016-10-16 22:02:54 +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
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