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
Oliver Schmidt
a30e2e0045
Allow to configure Telnetd idle timeout.
...
The default Telnetd idle timeout of 30 seconds seems somewhat short. Best to have it user-configurable (incl. the option to turn it off with an config value of 0).
2015-07-06 12:25:20 +02:00
Oliver Schmidt
5d039d9848
Optimized retro webbrowser configs.
...
The change c7b8bac006
optimized memory usage and thus allowed to adjust the retro webbrowser configs for improved web page compatibility.
2015-07-05 16:56:25 +02:00
Oliver Schmidt
2827b2d800
Rearrange Apple II language card usage.
...
The code of etimer.o has become to large to fit into $D000-$D400. So other object file have been chosen.
2015-06-28 22:12:44 +02:00
Oliver Schmidt
a70fbf1bbf
Reconfigured Telnet server.
...
In order to have the wget command make some sense the write command should be present too.
- On the Apple][ reduction of the MTU seems to gain just enough RAM to have the (rather heavy-weight) full-blown C library file I/O working.
- On the C128 there's way too little RAM so there's no wget command but only the file commands.
- On the CBMs a dummy lseek() was necessary to have the read command link.
2015-06-21 21:07:41 +02:00
Oliver Schmidt
55e568e7cb
Minor Win32 config adjustment.
2015-06-21 14:15:41 +02:00
Laurent Deru
1784338b2e
Add uip_clear_buf() macro and replace all instances of uip_len = 0; with it
2015-06-15 11:10:51 +02:00
Oliver Schmidt
74db518846
Set Win32 file i/o to binary mode.
...
This is i.e. necessary to have the file based webserver-example successfully read 'contiki.gif'.
2015-06-14 17:48:36 +02:00
Oliver Schmidt
c9edb9006b
Merge pull request #1112 from oliverschmidt/master
...
Various improvements of the HTTP client and web browser.
2015-06-14 16:12:24 +02:00
Benoît Thébaudeau
e8a268cd15
cc2538: aes: Add support for 192- and 256-bit keys
...
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-06-02 21:41:56 +02:00
Benoît Thébaudeau
117dc4e5e3
cc2538: Add crypto drivers and examples for AES-CCM and SHA-256
...
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-06-02 21:41:06 +02:00
Benoît Thébaudeau
aba0b8ab40
Merge pull request #1085 from alignan/pull/remote
...
New Zolertia Re-Mote platform (CC2538 + CC1120)
2015-05-30 00:11:57 +02:00
Antonio Lignan
330e450ba4
Zolertia Re-Mote platform ported to Contiki, developed whitin RERUM FP7 European project (grant #609094 ).
...
The port was done jointly by Zolertia and George Oikonomou (University of Bristol).
2015-05-29 22:04:43 +02:00
Benoît Thébaudeau
8c952e8026
Merge pull request #1082 from g-oikonomou/cc2538/readme-cdc
...
Update the CC2538DK README about a Win CDC driver
2015-05-26 00:29:50 +02:00
George Oikonomou
b86c26fff8
Update the CC2538DK README about a Win CDC driver
...
* The current version of the README points to a wrong URL
for the LUFA Virtual Serial driver.
* A driver is nowadays provided by TI with CC2538
Foundation Firmware
Thus, this pull updates the LUFA driver URL and also provides a
link to CC2538 Foundation Firmware
2015-05-25 22:06:25 +01:00
Nicolas Tsiftes
a14c78e1ce
Build the Wismote platform with ContikiMAC and CSMA enabled by default.
2015-05-25 17:04:39 +02:00
Nicolas Tsiftes
3d284f8ecd
Use the new path to a header file.
2015-05-25 16:52:12 +02:00
Matthieu Baerts
78b6b50194
Z1: tmp102: simple: fixed wrong cast
...
When using this code:
(int8_t)tmp102_read_temp_x100() / 100
Only the first value is casted into a int8_t type.
tmp102_read_temp_x100() returns the temperature in Celcius * 100. Most of
the time this value will be lower than -2^7 and higher than 2^7 (+/- 1.27°C).
The cast is not needed but a comment about this implicit cast has been added.
2015-05-22 18:15:26 +02:00
Antonio Lignan
2cee62eb33
Merge pull request #1074 from g-oikonomou/cc26xx/contrib/new-cc26xxware
...
Update to latest CC26xxware and add it as a submodule
2015-05-21 10:01:00 +02:00
Adam Dunkels
730bda2001
Merge pull request #883 from cmorty/pull/global-macros
...
Move MAX, MIN and ABS to contiki-macros
2015-05-18 21:33:00 +02:00
Ulf Knoblich
a388a1bcd7
CC2538: added support for SSI1
2015-05-18 10:02:55 +02:00
Moritz 'Morty' Strübe
0dab6926b3
Move MAX, MIN and ABS to sys/cc.h
2015-05-18 08:53:17 +02:00
George Oikonomou
541688235c
Update the CC26xx README in terms of CC26xxware
2015-05-17 15:01:02 +01:00
George Oikonomou
b4067560ba
Remove references to obsolete peripheral clock scaling functions
2015-05-17 15:01:01 +01:00
George Oikonomou
8b1f2ef33c
Reset I2C with HAPI call instead of register access
2015-05-17 15:01:00 +01:00
George Oikonomou
7a5b670f76
Remove references to IOC_JTAG_DISABLE
2015-05-17 14:09:52 +01:00
George Oikonomou
32840db66b
Update driverlib version macros
2015-05-17 14:09:51 +01:00
Benoît Thébaudeau
e88b3908ad
cc2538dk: README: Add URL of Sourcery G++ Lite 2008q3-66
...
Document the URL of the older Sourcery G++ Lite 2008q3-66 arm-none-eabi
toolchain mentioned by README.md so that users can easily find it if
needed.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-05-17 01:53:09 +02:00
Antonio Lignan
32afadea77
Merge pull request #1047 from g-oikonomou/cc26xx/contrib/lpm
...
CC26xx Ultra Low Power Operation
2015-05-16 10:27:22 +02:00
Antonio Lignan
402eabecca
Merge pull request #929 from lab11/delete-old-coap
...
Delete old CoAP implementation
2015-05-15 15:49:04 +02:00
George Oikonomou
7ae3cd49ba
Make sure SSI0 is powered and clocked before accessing it
...
* Fail all SSI0 operations if the module is not powered and clocked
* Make sure SERIAL is powered before trying to enable run mode clock
2015-05-15 11:38:20 +01:00
George Oikonomou
019143226b
Adjust main:
...
* Re-order OSC, VIMS cache, I/O latch configuration instructions
* Don't automatically enable UART RX: Let the example decide this
2015-05-15 09:21:04 +01:00
George Oikonomou
6e7d52b5df
Improve MPU power-cycling logic:
...
* Keep MPU_PWR low when the sensor is not in use
* Deselect the sensor when not in use, in order to restore the I2C ping state
* Explicitly control the MPU_INT pin
* Don't shutdown the sensor when it's shut down
* Remove explicit shutdown-related API extension. It is no longer required
2015-05-15 09:21:04 +01:00
George Oikonomou
dcf0d11050
Re-map tag UART-related IOID defines
2015-05-15 09:21:03 +01:00
George Oikonomou
2cc59c524a
Configure pins for unused tag peripherals
2015-05-15 09:21:03 +01:00
George Oikonomou
e893c914b6
Set SPI pins to a low leakage state
2015-05-15 09:21:03 +01:00
George Oikonomou
421fbfae25
Change the LPM locks API:
...
Instead of using a separate data structure to request that a PD remain powered during deep sleep,
we do the same within the main LPM data structure through an additional field.
This allows us to maintain only one linked list of LPM modules and overall improves code clarity
2015-05-15 09:21:02 +01:00
George Oikonomou
0e92b508b3
Don't clock GPT0 on device startup
2015-05-15 09:21:02 +01:00
George Oikonomou
6611acadc7
Don't fire-up SERIAL automatically
2015-05-15 09:21:02 +01:00
George Oikonomou
34be012661
Improve I2C power-cycling logic:
...
We only power, clock and enable the peripepheral when / if we need it
* We no longer automatically turn on the SERIAL PD when the CM3 is running
* Make sure the I2C peripheral is accessible (powered and clocked) before any operation
* If the peripheral is not accessible, automatically power it up and run the clock
* Put SDA, SCL, SDA HP and SCL HP in a low-leakage state when shutting down
* Don't automatically fire up the I2C controller when we wake up
2015-05-15 09:21:02 +01:00
George Oikonomou
0ad4b5f323
Add the ability to put the I2C in a known/default state
2015-05-15 09:21:01 +01:00
George Oikonomou
d1a1c16bd0
Define pins for more sensortag peripherals
2015-05-15 09:21:01 +01:00
George Oikonomou
4378217462
Improve sensortag external flash power management:
...
* Explicitly put in deep sleep on device startup
* Verify that the flash has actually dropped to deep sleep
* Update CLK pin to match the one used on the v1.2 sensortag
Obsoletes and Closes #988
2015-05-15 09:21:01 +01:00
George Oikonomou
cf99160706
Change lpm_shutdown() API call:
...
So that the caller can specify pin pull and wakeup state
2015-05-15 09:21:01 +01:00
George Oikonomou
5644e95fb6
Fix global interrupt manipulation
2015-05-15 09:21:00 +01:00
George Oikonomou
3f310e462f
Tidy-up clock configuration
2015-05-15 09:20:59 +01:00
George Oikonomou
450550a7d1
Explicitly configure Srf pins for unused peripherals
2015-05-15 09:20:59 +01:00
George Oikonomou
7a189d010b
Don't power on SERIAL in the Srf's board_init
2015-05-15 09:20:59 +01:00
George Oikonomou
00a6c31158
Improve OPT sensor driver and usage
...
* Query the sensor about its state, rather than using variables in the driver
* Correctly put the sensor to deep sleep
* Fix doxygen comments
* Don't turn off the sensor in examples since it is no longer needed
2015-05-15 09:20:59 +01:00
George Oikonomou
3ab1b836c4
Configure button pins with hysterisis
2015-05-15 09:20:58 +01:00
George Oikonomou
7641aa89f2
Tidy-up macro semicol usage
2015-05-15 09:20:58 +01:00
George Oikonomou
0b6813513c
Undefine CTS/RTS pins for the SmartRF
2015-05-15 09:20:58 +01:00
George Oikonomou
883c30b4ac
Handle the configuration of the TMP_RDY pin
2015-05-15 09:20:58 +01:00
George Oikonomou
cee6c190c5
Use the BMP in 'forced' mode and reduce startup delay
...
In forced mode, the BMP will turn itself off after a reading
2015-05-15 09:20:57 +01:00
Antonio Lignan
b50ae639b3
Merge pull request #986 from g-oikonomou/cc26xx-hdc-sensor
...
Replace STH21 with HDC1000 for the CC2650 SensorTag
2015-05-15 10:12:08 +02:00
Brad Campbell
6eaada0c3f
Delete old CoAP implementation
...
It seems that this implementation of CoAP in Contiki is no longer
maintained in favor of the `er-coap` implementation. This commit
removes the code to prevent confusion and further bit-rot.
2015-05-14 17:20:46 -04:00
Benoît Thébaudeau
c9324d133f
Merge pull request #1060 from g-oikonomou/cc26xx/contrib/ihex
...
Produce ihex files usable with TI's Flash Programmer
2015-05-14 19:24:36 +02:00
Benoît Thébaudeau
d64927397f
Merge pull request #968 from g-oikonomou/cc2538-contrib-on-chip-sensors
...
Move CC2538 VDD/3 and On-Chip Temp sensors to the CPU dir
2015-05-14 19:21:56 +02:00
Benoît Thébaudeau
71f22b1775
Merge pull request #966 from g-oikonomou/cc2538-startup-to-cpu-dir
...
Move cc2538 startup-gcc.c to the CPU dir
2015-05-14 18:43:39 +02:00
George Oikonomou
69c4f19336
Produce ihex files usable with TI's Flash Programmer
2015-05-14 13:22:11 +01:00
George Oikonomou
6507112b33
Remove SHT21 sources
2015-05-14 13:20:40 +01:00
George Oikonomou
d5f458509d
Adjust the CC26xx README to reflect new sensors
2015-05-14 13:20:39 +01:00
George Oikonomou
1384030d6e
Replace SHT21 with HDC1000 driver in the tag build
2015-05-14 13:20:39 +01:00
George Oikonomou
7e3b8d6fcc
Add a driver for the HDC1000 sensor
2015-05-14 13:20:39 +01:00
George Oikonomou
a32598f658
Merge pull request #1059 from g-oikonomou/cc26xx/contrib/xxware-instructions
...
Update CC26xxware download instructions
2015-05-13 12:21:48 +01:00
George Oikonomou
96e1647270
Move cc2538 startup-gcc.c to the CPU dir
2015-05-13 01:31:10 +01:00
George Oikonomou
4de471478a
Link and build tmp, vdd and als sensors
2015-05-12 23:42:20 +01:00
George Oikonomou
12ac8e1fb5
Initialise ADC in main, not in sensor drivers
2015-05-12 23:42:20 +01:00
George Oikonomou
3717522680
Re-work the CC2538 driver to be a driver for the Srf06 ALS only
2015-05-12 23:42:19 +01:00
Nicolas Tsiftes
44af0fa66b
Merge pull request #1003 from adamdunkels/pr/http-socket-dns64-tcp-socket
...
New HTTP socket, DNS64, IP64 Cooja tests
2015-05-10 17:14:31 +02:00
George Oikonomou
351b16c43c
Update CC26xxware download instructions
2015-05-10 14:53:05 +01:00
Adam Dunkels
64bae5b38d
Include the ip64-addr module, to make http-socket compile
2015-05-10 10:51:12 +02:00
Adam Dunkels
4a85d49a09
Include a subplatform-conf.h, which may override configuration parameters set by the cooja/contiki-conf.h
2015-05-10 10:51:12 +02:00
Adam Dunkels
81391c11a7
Need to specify the target name, which allows us to have platforms that inherit from the cooja platform, like the cooja-ip64 platform
2015-05-10 10:51:12 +02:00
Adam Dunkels
bab1c48912
New Cooja platform designed for runnig IP64 routers for automated testing
2015-05-10 10:51:11 +02:00
George Oikonomou
447be526ae
Merge pull request #1046 from g-oikonomou/cc26xx/contrib/slip-and-br
...
Enable slip-radio and rpl-border-router for CC26xx
2015-05-09 22:51:06 +01:00
George Oikonomou
598fd770b8
Merge pull request #960 from g-oikonomou/travis-arm-aapcs-tests
...
Test cc2538dk with the recommended toolchain
2015-05-09 22:31:18 +01:00
George Oikonomou
bd5e35c968
Merge pull request #1052 from simonduq/packetbuf-cleanup
...
Packetbuf cleanup
2015-05-09 22:30:21 +01:00
Simon Duquennoy
bb76bb8beb
Remove unused flag SICSLOWPAN_CONF_ACK_ALL. Include packetbuf attribute PACKETBUF_ATTR_RELIABLE only when RIME is compiled.
2015-05-06 16:34:26 +02:00
George Oikonomou
d808978149
Improve platform README
2015-05-03 22:36:04 +01:00
George Oikonomou
0327eea109
Printf Driverlib version at startup
2015-05-03 22:36:04 +01:00
George Oikonomou
77874dc02b
Remove unused configuration defines
2015-05-03 22:36:03 +01:00
George Oikonomou
f83c4e7286
Improve code style
2015-05-03 22:36:03 +01:00
George Oikonomou
1d97e7e11e
Improve Reed Relay macro and comments for clarity
2015-05-03 22:36:03 +01:00
George Oikonomou
8c55bc3f3d
Remove obsolete/unused make variables
2015-05-03 22:36:03 +01:00
George Oikonomou
a72d90e283
Control TCP MSS in the project's conf
2015-05-03 13:31:03 +01:00
George Oikonomou
364fc9cacf
Define button_sensor in contiki-conf.h
2015-05-03 13:30:59 +01:00
Oliver Schmidt
05d98ffca3
Adjusted some Win32 config values.
2015-05-02 00:17:53 +02:00
Oliver Schmidt
9aee07c9ad
Leverage the recently added exec() cmdline support in the cc65 C library for the Apple ][.
2015-04-26 21:45:33 +02:00
Oliver Schmidt
a824722862
Merge remote-tracking branch 'upstream/master'
2015-04-26 14:35:40 +02:00
Nicolas Tsiftes
8f50d9709d
Merge pull request #999 from adamdunkels/lebrush-rdnss-support-rebased
...
RDNSS support, again
2015-03-30 17:21:23 +02:00
George Oikonomou
7238a1628f
Merge pull request #1004 from alignan/z1-reed-sensor
...
Added Reed Sensor driver, example, and minor fix to the SHT25 sensor driver
2015-03-30 15:05:05 +01:00
Antonio Lignan
b9334a3b0e
Added Reed Sensor driver and example
2015-03-30 10:30:09 +02:00
Gaëtan Harter
d0232bb20d
Remove unused UIP_CONF_ND6_ defines in platforms
...
UIP_CONF_ND6_MAX_PREFIXE
UIP_CONF_ND6_MAX_DEFROUTERS
2015-03-24 13:09:29 +01:00
Gaëtan Harter
697d8c0d23
Remove siclowpan compressions define in platforms
...
Several platforms defined compressions modes values:
SICSLOWPAN_CONF_COMPRESSION_IPV6
SICSLOWPAN_CONF_COMPRESSION_HC1
SICSLOWPAN_CONF_COMPRESSION_HC01
instead of using the global SICSLOWPAN_COMPRESSION_LEVEL definitions
2015-03-24 11:40:32 +01:00
Gaëtan Harter
60719b8239
Remove unused SICSLOWPAN_CONF_CONVENTIONAL_MAC
2015-03-24 11:18:25 +01:00
Antonio Lignan
64fd000e5d
Removed duplicated condition in sht25 configuration
2015-03-11 14:25:23 +01:00
Antonio Lignan
1af29a5beb
Added SHT25 sensor
2015-03-10 15:33:58 +01:00
George Oikonomou
cd219e206c
Adjust the cc2538dk readme to reflect travis test changes
2015-03-02 08:41:53 +00:00
George Oikonomou
0ba7f8df52
Merge pull request #951 from hrzr/master
...
Make the CC2538DK button sensor clearer to work with
2015-02-28 15:14:53 +00:00