Commit graph

2419 commits

Author SHA1 Message Date
Marco Grella 7e7c201c40 Updated radio parameters (in the submodule repo), to have more radio range. 2015-11-11 18:50:38 +01:00
Marco Grella 267d51acee Modified radio parameters to increase communication range. 2015-11-11 13:53:58 +01:00
Marco Grella 527903ee10 Added default BOARD value to let regression tests compile for any platform. 2015-11-11 13:48:38 +01:00
Marco Grella 41f9ca08e2 Merge with updated master. 2015-11-11 13:42:35 +01:00
Simon Duquennoy fbd78a7e3b Merge pull request #1293 from simonduq/pr/fix-warnings
Fix a number of compiler warnings and enable -Werror in Travis
2015-11-10 08:49:11 +01:00
Jelmer Tiete 7b4a9c8410 Small correction to cc26xx readme, code block in list was not propperly indented 2015-11-09 01:01:21 -08:00
George Oikonomou 3aa4547327 Merge pull request #1257 from bkozak-scanimetrics/cc26xx_fully_turnoff_radio
CC26xx - fully shutdown the rf-core & abort rx op
2015-11-04 15:45:05 +00:00
Antonio Lignan 6037e269a8 Merge pull request #1336 from sumanpanchal/z1-uart0-dma
Zolertia Z1: Direct memory access using UART.
2015-11-02 08:47:08 +01:00
George Oikonomou 984b8cd631 Configure ContikiMAC timings for CC13xx sub-ghz operation
This is required so that ContikiMAC will keep working correctly after the recent change that also turns off the RF analog part during duty cycling.
2015-11-01 23:21:04 +00:00
Oliver Schmidt 1639b712bb Removed CC_FASTCALL.
CC_FASTCALL was introduced many years ago for the cc65 tool chain. It was never used for another tool chain. With a798b1d648 the cc65 tool chain doesn't need CC_FASTCALL anymore.
2015-11-01 18:10:17 +01:00
suman_panchal 35cc40563e Zolertia Z1: Direct memory access using UART. 2015-10-31 11:45:13 +05:30
Oliver Schmidt 5443c740e9 Added 80 column IRC client / web browser for the C64.
Recently support for 80 column CONIO based on 320x200 graphics was added to the cc65 C library for the C64. This change leverages this for the IRC client and the web browser. Because not everybody prefers this 'soft80' display with its small 4x8 charbox the 40 column programs are still available as before (with the new programs called 'irc80' and 'webbrowser80').
2015-10-30 16:48:00 +01:00
Oliver Schmidt fb5d0b7ef0 Made 80 column display a cc65 application attribute.
So far 80 column display was an attribute of a cc65 platform. Now each cc65 application can ask for 80 column display by defining WITH_80COL. Of course this is ignored by platforms incapable of 80 column display.

I see three types of application:

* Applications not benefitting from 80 column at all and in fact looking better with 40 column display. These are now using 40 column display. Examples: ethconfig, ipconfig

* Applications taking advantage of 80 column display if it is available without drawbacks. These stay as they were. Examples: Telnet server, web server, wget

* Applications needing 80 column display so urgently that it is likely desirable even if the display becomes harder to read. These come now in both flavors allowing the user to choose. Examples: IRC, web browser

Note: This change doesn't actually introduce any 80 column display with drawbacks. This if left to a subsequent change.
2015-10-30 12:42:58 +01:00
Oliver Schmidt 634db88fe0 Adjusted cc65 constructor to recent cc65 change.
With 0ee9b2e446 cc65 constructor may not use the BSS anymore.
2015-10-29 22:25:48 +01:00
Oliver Schmidt 5024468c2f Rearranged ATARI memory usage.
The cc65 memory map for the ATARI XL has two holes so the linker needs hints which object files go where. Source changes lead to object file size changes requiring now and then to rearrange the object files.
2015-10-28 12:22:43 +01:00
Marco Grella e261cda8dc Compilation flags update: BOARD=ids01a4/5 SENSORBOARD=iks01a1 2015-10-27 12:12:59 +01:00
Nicolas Tsiftes 17714c2111 Merge pull request #1299 from sumanpanchal/wismote-nodeid-burn-restore-frm-xmem
Burn and restore node id using external flash of Wismote
2015-10-26 18:41:28 +01:00
suman_panchal 5a07279c4f Burn and restore node id using external flash of Wismote 2015-10-24 18:24:38 +05:30
Benoît Thébaudeau bf41de1be5 Merge pull request #1078 from drandreas/cc2538-crypto
cc2538: Add PKA drivers, ECC algorithms and examples
2015-10-21 11:24:35 +02:00
Simon Duquennoy 4edfb3671f Merge pull request #1315 from simonduq/pr/fix-jn516x-uart-printf
jn516x uart-driver.c: use DBG_vPrintf instead of printf.
2015-10-20 15:57:12 +02:00
Simon Duquennoy 810036e4f3 jn516x uart-driver.c: use DBG_vPrintf instead of printf. Issue https://github.com/contiki-os/contiki/issues/1314 2015-10-20 14:56:51 +02:00
Simon Duquennoy 2daa3d7377 Merge pull request #1269 from tadodotcom/tmp-uip-fallback-iface
More flexibility for the fallback interface
2015-10-20 11:33:14 +02:00
Simon Duquennoy c13274c550 jn516x platform: fix compiler warnings to enable -Wall -Werror compilation 2015-10-20 10:11:45 +02:00
Simon Duquennoy 7d55e89563 jn516x: enable -Wall 2015-10-20 10:11:43 +02:00
Adam Dunkels d48cf89e9b Fixed compiler warnings for the AVR platforms 2015-10-20 10:11:42 +02:00
Adam Dunkels c1ed924c67 Spell fix in function name 2015-10-20 10:11:38 +02:00
Simon Duquennoy aec8af25c0 jn516x: added WERROR 2015-10-20 10:11:22 +02:00
Simon Duquennoy 5ac4c2c867 Target cooja: fixed funciton prototype of uip_driver_send 2015-10-20 10:11:18 +02:00
Simon Duquennoy b0f21747e1 Target cooja: added missing declaration of simlog_char 2015-10-20 10:11:17 +02:00
Simon Duquennoy 43adbbf6f9 Target cooja: added missing includes 2015-10-20 10:11:16 +02:00
Simon Duquennoy 7328ee51ef micaz: added missing include 2015-10-20 10:11:14 +02:00
Simon Duquennoy 2533265d30 eval-adf7xxxmb4z: declare node_id only when needed 2015-10-20 10:11:13 +02:00
Simon Duquennoy 45af3adab4 exp5438: do not use char as array index 2015-10-20 10:11:04 +02:00
Simon Duquennoy 1957ecd94a exp5438: removed unused vairable 2015-10-20 10:10:18 +02:00
Simon Duquennoy c796ab418f exp5438: added missing include 2015-10-20 09:38:25 +02:00
Simon Duquennoy 2007863922 mbxxx: fix printf format 2015-10-20 09:37:26 +02:00
Simon Duquennoy fcd0302d02 mbxxx contiki-main.c: include uip-debug, as uip_debug_lladdr_print is used in main 2015-10-20 09:37:25 +02:00
Simon Duquennoy 16dd3af1e6 mbxxx temperature-sensor: remove unused variable 2015-10-20 09:37:24 +02:00
Simon Duquennoy 921a3c8a7b native platform: removed unused variable 2015-10-20 09:37:19 +02:00
Simon Duquennoy 10bd49a71a Merge pull request #756 from sieben/dos2unix
dos2unix fix
2015-10-18 20:26:07 +02:00
AntiCat d631270af4 cc2538: Add PKA drivers, ECC algorithms and examples 2015-10-18 20:14:17 +02:00
kkrentz c865982df5 JN516x: Call LLSEC.init instead of LLSEC.bootstrap 2015-10-15 00:41:12 -07:00
Simon Duquennoy bfeff0488d Port JN516x ccm-star implementation to new ccm_star_driver interface 2015-10-14 09:20:44 -07:00
Konrad Krentz b522c042ec llsec: Replaced bootstrap function with a simple init function 2015-10-14 08:21:40 -07:00
Oliver Schmidt 1b2028f1e0 Merge pull request #1302 from oliverschmidt/master
Removed mouse pointer initialization.
2015-10-09 22:22:07 +02:00
Marco Grella fc65757114 License headers and code style fixes. 2015-10-09 19:40:39 +02:00
Oliver Schmidt 43ac818dd2 Removed mouse pointer initialization.
Now the cc65 C library for CBM takes care of this.
2015-10-09 19:35:31 +02:00
Vladimir Pouzanov fee4476605 Fixed detection of windows-native 2015-09-29 10:36:18 +01:00
Simon Duquennoy 6d4f50e53a Merge pull request #1282 from farcaller/nativenet
Basic NETSTACK_CONF_RADIO based on kernel 802.15.4
2015-09-28 19:30:38 +02:00
Simon Duquennoy 2231cc9b0f Merge pull request #1266 from drugo72/avr-revival
AVR revival: new battery and temperature sensors and er-rest-example for the Raven
2015-09-28 17:52:26 +02:00
Mariano Alvira 94daacd244 Merge pull request #817 from SmallLars/econotag-ecc
Addet ECC functions on elliptic curve secp256r1.
2015-09-28 09:45:11 -05:00
Mariano Alvira ff7129dc53 Merge pull request #881 from drugo72/avr-fixes
Avr fixes
2015-09-28 09:41:21 -05:00
Vladimir Pouzanov bd1b7d9814 Fixed linuxradio compilation issues with native and minimal-net 2015-09-28 12:48:01 +01:00
Vladimir Pouzanov 4c8618e6ba Extracted linuxradio device name to contiki-conf 2015-09-28 12:48:00 +01:00
Vladimir Pouzanov 52c90519d9 Fixed missing #includes and restricted linuxradiodrv compilation to linux 2015-09-28 12:48:00 +01:00
Vladimir Pouzanov 867368b929 Basic NETSTACK_CONF_RADIO based on kernel 802.15.4 2015-09-28 12:47:11 +01:00
Simon Duquennoy f9537b6355 Merge pull request #1219 from simonduq/jn516x-port
NXP JN516x Platform
2015-09-25 12:09:52 +02:00
Lars Schmertmann 17ff3bb466 Added ECC functions on elliptic curve secp256r1 2015-09-24 14:11:20 +02:00
Simon Duquennoy bd7d45080d Added NXP JN516x platform 2015-09-23 14:38:31 +02:00
Cristiano De Alti 018be89b11 Revert abs -> ABS change from commit 0dab6926b3.
The avr-ravenlcd cannot include sys/cc.h since this in turns includes contiki-conf.h
which the avr-ravenlcd does not have.
2015-09-22 23:32:17 +02:00
Cristiano De Alti 7b5c57c892 See https://sourceforge.net/p/contiki/mailman/message/31702228/ 2015-09-22 23:32:17 +02:00
Cristiano De Alti 8e02955c3d Fix menu. How could it worked before? Also added a macro to disable JTAG using inline assembly 2015-09-22 23:32:17 +02:00
Cristiano De Alti a3435952ef Only output data and text sections to the hex file 2015-09-22 23:32:17 +02:00
Cristiano De Alti 65e70baa84 Tables must be const in order to be put into read-only section by means of __attribute__((progmem)) (avr-gcc 4.7.0) 2015-09-22 23:32:17 +02:00
Cristiano De Alti abac0f0381 Fix compilation of er-rest-example 2015-09-22 23:32:17 +02:00
Víctor Ariño 561e70b18e Updated current fallback_interface(s) to return int. 2015-09-22 12:53:04 +02:00
Cristiano De Alti d2528caa85 Implement battery and temperature sensors.
On the raven, the battery and temperature readings are available
from the companion 3290 cpu over the serial line.
Modify the existing raven-lcd-interface application to export
these sensors.
2015-09-21 22:45:57 +02:00
Lars Schmertmann 46ffc509c1 Added App/Tool/Example for usage of additional flash on econotag/mc1322x 2015-09-14 20:43:12 +02:00
Marco Grella 875bfd0a1a Updates of REAME files (main and submodule). 2015-09-11 15:56:12 +02:00
Marco Grella 87970a88a4 Comments and documentation fixes. 2015-09-10 14:28:08 +02:00
Mattias Buelens 72aac552ef Cooja: Track CFS file size
Previously, the Cooja mote assumed that its file was always initially empty (file.endptr == 0). Therefore, a file uploaded to a mote's CFS could never be read by the mote, as the mote would prevent reads from going past the EOF (indicated by endptr).

By tracking the file size and making it accessible to Cooja, the correct size of the uploaded file can be reported to the mote and allow it to read the uploaded file.
2015-09-09 23:06:09 +02:00
Nicolas Tsiftes bebf0f9156 Merge pull request #1246 from nvt/wismote-fixes
Minor fixes for the WisMote platform
2015-09-08 13:52:45 +02:00
Marco Grella b7459a12c1 Added radio sensor. 2015-09-07 19:59:03 +02:00
Rémy Léone 7a5071dd30 Adding a gitattributes and correcting line-endings
https://help.github.com/articles/dealing-with-line-endings/
2015-09-07 15:40:02 +02:00
Marco Grella 17aafb9daa Align to current master 2015-09-04 17:01:04 +02:00
Atis Elsts 2f79810b58 Use ENERGEST_SWITCH to switch between different power modes to improve energest accuracy. 2015-09-04 11:46:00 +02:00
Marco Grella a627a54224 Fixes to README.md instructions 2015-09-03 18:02:15 +02:00
Simon Duquennoy 265b65c67c Fix Wismote randon_init for link-layer addresses shorter than 8 bytes 2015-09-01 19:57:37 +02:00
Marco Grella 913ef068be Updated submodule stm32cube-lib 2015-09-01 15:34:34 +02:00
Simon Duquennoy 4904386f41 Wismote: init random seed 2015-09-01 10:51:25 +02:00
Simon Duquennoy db1635cf3c Z1: configure SFD timestamp with flag CC2420_CONF_TIMESTAMP, for consistency the Sky platform and with cc2420.c 2015-09-01 10:03:44 +02:00
Simon Duquennoy 34280338ac Z1: init random seed 2015-09-01 10:02:35 +02:00
Antonio Lignan 90eca482ea Remove unused RPL_CONF_MAX_DAG_ENTRIES 2015-08-29 20:22:18 +02:00
Nicolas Tsiftes 607303ecdd Merge pull request #1081 from pablocorbalan/light
Remove old unused light drivers
2015-08-28 14:13:00 +02:00
Adam Dunkels e859ad8e05 Need to increase the Cooja serial buffer size to accomodate the traffic 2015-08-27 10:28:54 +02:00
Adam Dunkels bfb29d2f11 Merge pull request #1116 from cetic/pr-uip-clear-buffer
Add uip_clear_buf() macro and replace all instances of uip_len = 0
2015-08-27 10:27:08 +02:00
Nicolas Tsiftes 5db8006d0b Merge pull request #1032 from sumanpanchal/wismote-external-flash-driver
Wismote external flash driver
2015-08-26 13:18:18 +02:00
sumanpanchal fd5b03b767 WISMOTE external flash driver support 2015-08-24 22:50:22 +05:30
Jonas Olsson 8cb7562684 Improve the SPI and external flash driver for the sensortag
For the SPI
* We improve the return semantics of _read() and _write()
* We set speed based on the value returned from ti_lib_sys_ctrl_clock_get() instead of using a hard-coded value

External flash changes:
* Rename macros to match instruction names
* verify_part(): Return a different value when the device is powered down and when communication fails
* Change return value semantics of static functions
* Adjust checks of board_spi_ return values
* Wait for BUSY to clear before attempting to send PD
* Accept two possible flash parts: W25X40CL (4MBit) as well as the W25X20CL (2MBit)
2015-08-23 20:41:13 +01:00
Jonas Olsson e96b15773a Document how to use the debugger devpack 2015-08-23 20:41:12 +01:00
Jonas Olsson f4576a635f Document CC26xx/CC13xx border router and slip-radio 2015-08-23 20:41:12 +01:00
Jonas Olsson 3d19b0036e Add support for SmarfRF06 + CC1310EM
This commit updates the srf06-cc26xx platform by adding support for the CC1310EM.

We generalise the way this platform selects CPU/board so that we can easily add more combinations in the future. These changes have implication on how to build for different devices, so make sure to have a look at the updated README
2015-08-23 19:54:43 +01:00
Oliver Schmidt 757809196e Some finishing touch on the CBM retro targets. 2015-08-08 15:41:24 +02:00
Pablo Corbalán b1c3e929c5 Remove old unused light drivers 2015-08-04 20:39:09 +01:00
Oliver Schmidt ca2552461e Adjusted retro target clock to "new" DNS resolver.
The DNS resolver requires 1/4 sec clock resolution. The retro targets had a 1/2 sec clock resolution (optimized for the 1/2 sec TCP timer) resulting in DNS resolver timeouts being 0. Therefore the retro target clock resolution is now increased to 1/4 sec.
2015-08-04 13:48:08 +02:00
Marco Grella 62c33260bd Modified structure to use a sub-module for platform APIs 2015-07-31 17:11:27 +02:00
Marco Grella 711dd02a9c Improve UART IRQ management. 2015-07-29 12:55:30 +02:00
Marco Grella bb08369b01 Regression tests fixes and Readme update. 2015-07-27 14:08:07 +02:00
Marco Grella b271a4a3c3 Updated README.md 2015-07-24 17:00:32 +02:00
Marco Grella ceff03ab2f Updated README.md 2015-07-24 16:57:34 +02:00