George Oikonomou
b4393e861f
Only set CC13xx prop mode channel if a new channel is being requested
2015-11-14 01:38:24 +01:00
George Oikonomou
320a753666
Turn CC13xx RF back off after prop TX if it was off to start with
2015-11-14 01:38:24 +01:00
George Oikonomou
e0e20aa3fd
Turn off ENERGEST_TYPE_LISTEN in CC13xx prop mode off()
2015-11-14 01:38:24 +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
George Oikonomou
a63efe947f
Merge pull request #1233 from adamdunkels/pr/26xx-13xx-fixes
...
CC26xx/CC13xx fixes
2015-11-09 08:33:58 +00: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
54648591ee
Explicitly send CMD_ABORT in prop mode before powering down
2015-11-01 22:53:35 +00:00
George Oikonomou
f401c7cc60
Save new TX power setting even if the RFC is powered off.
...
The current logic attempts to send `CMD_SET_TX_POWER` before saving the new power setting. If `CMD_SET_TX_POWER` fails the power setting will not get saved. As a result, when the RFC is powered off, all attempts to change TX power will fail.
This commit changes this logic to always save the new TX setting as requested by the user. If the RFC is powered up, we apply it immediately. If it is powered down, the new setting will automatically be applied next time we send `CMD_RADIO_SETUP`.
Fixes #1340
2015-11-01 20:56:52 +00:00
George Oikonomou
1ee40ef021
Fix the logic that detects whether a command is a Radio OP
2015-11-01 20:48:28 +00:00
George Oikonomou
946b72a58d
Mask CMDSTA when waiting for a command to get accepted
2015-11-01 20:46:46 +00:00
Oliver Schmidt
9962d0720a
Merge pull request #1347 from oliverschmidt/master
...
Removed CC_FASTCALL.
2015-11-01 19:36:07 +01: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
Oliver Schmidt
692fbf5422
Merge pull request #1343 from oliverschmidt/master
...
Added 80 column IRC client / web browser for the C64.
2015-10-31 15:18:10 +01:00
suman_panchal
35cc40563e
Zolertia Z1: Direct memory access using UART.
2015-10-31 11:45:13 +05:30
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
George Oikonomou
3e0f37090c
Merge pull request #1324 from msloth/master
...
Remove LED fade in lpm.c
2015-10-29 11:36:39 +00:00
Marcus Linderoth
1906bff17c
allow lpm_shutdown without a wake-up pin set
2015-10-28 11:06:26 +01:00
Marcus Linderoth
ea7a5d1c63
Remove fade away of LED when going into shutdown mode; it consumes power and is application-layer stuff.
2015-10-28 10:51:37 +01:00
George Oikonomou
55b41863d5
Remove redundant function calls in CC26xx RFC code
...
As discussed in #1279 , the current CC13xx/CC26xx rf-core code makes some unnecessary power domain-related reads. This commit removes them.
Closes #1279
2015-10-24 20:54:33 +01:00
George Oikonomou
8636a28248
Clear interrupt flags selectively
...
As discussed in #1294 , every time a CC13xx/CC26xx RF interrupt fires, we clear all interrupt flags unconditionally. This may result in missed events. This patch fixes this bug by clearing only the flag that triggered the interrupt in the first place.
Fixes #1294
2015-10-24 20:51:34 +01:00
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
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
ca8fe618e7
cc2420 and cc2430: add comment on why we discard tbiv
2015-10-20 10:11:49 +02:00
Simon Duquennoy
f49b161795
Remove commented-out code
2015-10-20 10:11:47 +02:00
Adam Dunkels
d48cf89e9b
Fixed compiler warnings for the AVR platforms
2015-10-20 10:11:42 +02:00
George Oikonomou
2773a37857
Update CCxxwares to our warning-free version
2015-10-20 10:11:41 +02:00
Adam Dunkels
24b1eb4031
The -pedantic and -stdc flags trigger a few too many warnings
2015-10-20 10:11:35 +02:00
Adam Dunkels
4cab313b8c
Fix compiler warnings
2015-10-20 10:11:34 +02:00
Adam Dunkels
06dfce6d46
The -pedantic and -stdc flags trigger a few too many warnings
2015-10-20 10:11:33 +02:00
Adam Dunkels
12a185f394
Added the WERROR=1 flag to the CC2538 and CC26xx CPUs
2015-10-20 10:11:23 +02:00
Simon Duquennoy
a2b1934f03
mbxxx: added missing undefs
2015-10-20 09:37:28 +02:00
Simon Duquennoy
ccfdf80ff2
Removed mbxxx warning messages on the current ld file in use
2015-10-20 09:37:27 +02:00
Simon Duquennoy
0340567af8
tapdev6.c: do not ignore return value of system()
2015-10-20 09:37:18 +02:00
Simon Duquennoy
2c91ab6fad
linuxradio-drv.c: added missing include
2015-10-20 09:37:17 +02:00
Simon Duquennoy
01984f07c2
cc2420 and cc2430: removed compiler warning on unused tbiv
2015-10-20 09:37:16 +02:00
Simon Duquennoy
560d6af97b
msp430x: do not compile mtarch, which currently assumes 16-bit function pointers
2015-10-20 09:37:15 +02:00
AntiCat
d631270af4
cc2538: Add PKA drivers, ECC algorithms and examples
2015-10-18 20:14:17 +02:00
Marco Grella
fc65757114
License headers and code style fixes.
2015-10-09 19:40:39 +02:00
Vladimir Pouzanov
2d75926989
Fixed linuxradio-drv guard macro name
2015-09-29 12:29:08 +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
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
43a327df5a
Cleaned up and re-formatted source of linuxradiodrv
2015-09-28 12:47:12 +01:00
Vladimir Pouzanov
113d9761f7
Better failure handling in linuxradiodrv
2015-09-28 12:47:12 +01:00
Vladimir Pouzanov
5fed4a3f1c
Using MAX_PACKET_SIZE where appropriate in linuxradiodrv
2015-09-28 12:47:12 +01:00
Vladimir Pouzanov
beef4f5d5d
Added better error handling to linuxradiodrv transmit()
2015-09-28 12:47:12 +01:00