Edvard Pettersen
3ac27dc7c9
Cleanup of global Makefiles
2018-08-31 11:05:32 +02:00
Edvard Pettersen
7cf843f601
Uncrustify
2018-08-31 11:05:32 +02:00
Edvard Pettersen
08bda8bed7
Fixed compiler errors
2018-08-31 11:05:32 +02:00
Edvard Pettersen
210db77835
Cleaned up CCFG file handling
2018-08-31 11:05:31 +02:00
Edvard Pettersen
813543b569
Implented SPI HAL for CC13xx/CC26xx
2018-08-31 11:05:31 +02:00
Edvard Pettersen
7002309c23
Makefile rework
2018-08-31 11:05:31 +02:00
Edvard Pettersen
0c17a1a7ee
Streamlined pre-RTM and RTM devices
2018-08-31 11:05:31 +02:00
Edvard Pettersen
ee0a4df7bf
Cleanup in Makefiles
2018-08-31 11:05:31 +02:00
Edvard Pettersen
8fb568a7a2
Removed Display from Board files
2018-08-31 11:05:31 +02:00
Edvard Pettersen
a199809298
Added the Core SDK submodule
2018-08-31 11:05:30 +02:00
Edvard Pettersen
66005c9232
Extracted TX Power settings to its own file
2018-08-31 11:04:52 +02:00
Edvard Pettersen
ca2e82a459
Uncrustify code style
2018-08-31 11:04:51 +02:00
Edvard Pettersen
b605e9b43f
Aligned Board Button HAL naming
2018-08-31 11:04:51 +02:00
Edvard Pettersen
3031be39a8
Added BOARD_STRING
2018-08-31 11:04:51 +02:00
Edvard Pettersen
640570cd38
Removed space between keyword and parentheses
2018-08-31 11:04:51 +02:00
Edvard Pettersen
54e8adfdec
Fixed elif
2018-08-31 11:04:51 +02:00
Edvard Pettersen
06cc883b3f
Fixed DeviceFamily_constructPath()
2018-08-31 11:04:51 +02:00
Edvard Pettersen
1d0f6227dc
Fixed doxygen
2018-08-31 11:04:50 +02:00
Edvard Pettersen
abe82f3d8e
Fixed bug in the circular data queue
2018-08-31 11:04:50 +02:00
Edvard Pettersen
824296cbc0
Removed external bias as default from RF settings, and doxygen alignment
2018-08-31 11:04:50 +02:00
Edvard Pettersen
dfc6ee611a
Doxygen alignment, and fixed missing TRNG objects
2018-08-31 11:04:49 +02:00
Edvard Pettersen
c333e9f783
Slight naming refactoring, and removed bloat .vramTable from linker
2018-08-31 11:04:49 +02:00
Edvard Pettersen
a18cac1e0c
Fixed GPIO HAL for srf06-cc26xx
2018-08-31 11:04:48 +02:00
Edvard Pettersen
8fb9b62140
Slight naming refactoring
2018-08-31 11:04:48 +02:00
Edvard Pettersen
10ff89ba01
Fixed issue with drift in synth
2018-08-31 11:04:48 +02:00
Edvard Pettersen
de0197d71f
Normalized TX power settings
2018-08-31 11:04:48 +02:00
Edvard Pettersen
178bafad2e
Fixed RX buf restart, and fixed RF prop settings include
2018-08-31 11:04:48 +02:00
Edvard Pettersen
5f8727a6ba
Added missing include for sensortag board-conf
2018-08-31 11:04:48 +02:00
Edvard Pettersen
f4a8cba371
Rehauled doxygen commenting and fixed TI drivers configuration
2018-08-31 11:04:48 +02:00
Edvard Pettersen
8cd6017305
Cleanup in config
2018-08-31 11:04:47 +02:00
Edvard Pettersen
c170a90976
Fixed RX buf full error
2018-08-31 11:04:47 +02:00
Edvard Pettersen
e0bd086b3b
Ported BLE beacond, fixed IEEE_RX_ACK.
2018-08-31 11:04:47 +02:00
Edvard Pettersen
9be3c05daa
Fixed bug in CMD_PROP_TX_ADV settings
2018-08-31 11:04:46 +02:00
Edvard Pettersen
32fed691d4
Added HardFault debugger function
2018-08-31 11:04:46 +02:00
Edvard Pettersen
10805cbbe7
Fixed wrong prop-settins for CC13x0
2018-08-31 11:04:46 +02:00
Edvard Pettersen
41cb9dd66c
Implemented RX_ACK for IEEE-mode
2018-08-31 11:04:46 +02:00
Edvard Pettersen
f307794b39
Reworked RF driver into scheduler
2018-08-31 11:04:46 +02:00
Edvard Pettersen
676b3dbcc1
Added BLE and IEEE MAC address functions
2018-08-31 11:04:46 +02:00
Edvard Pettersen
315bfc00d3
Added SUPPORT_BLE_BEACON flag
2018-08-31 11:04:46 +02:00
Edvard Pettersen
326974031e
Added BLE settings
2018-08-31 11:04:45 +02:00
Edvard Pettersen
924e4f5ea5
Removed unused files.
2018-08-31 11:04:45 +02:00
Edvard Pettersen
bb00eaa041
Normalized GPIO HAL, fixed LEDS & Buttons HAL, and aligned sensortag and
...
SRF06 boards
2018-08-31 11:04:45 +02:00
Edvard Pettersen
d4828c7baf
Fixed GPIO HAL issue.
2018-08-31 11:04:44 +02:00
Edvard Pettersen
f3a030b0a4
Fixed button-sensor for launchpad
2018-08-31 11:04:44 +02:00
Edvard Pettersen
d312dd9ebb
Refactoring of prop/ieee-mode
2018-08-31 11:04:44 +02:00
Edvard Pettersen
12a6eefa85
Lots of fixes for prop-mode and ieee-mode
2018-08-31 11:04:44 +02:00
Edvard Pettersen
f6b016c5d4
Working prop-mode
2018-08-31 11:04:44 +02:00
Edvard Pettersen
f9fcbd6a77
Fixed IEEE settings, aligned naming of RF commands
2018-08-31 11:04:44 +02:00
Edvard Pettersen
7b812e73c9
Fixed naming and alignment of RF settings, Watchdog driver, Board files
2018-08-31 11:04:44 +02:00
Edvard Pettersen
2d69241381
Fixed CC2650STK board files, and leds-arch for sensortag
2018-08-31 11:04:43 +02:00
Edvard Pettersen
40227d0817
Fixed RF Settings, Board files, Sensortag sensors
2018-08-31 11:04:43 +02:00
Edvard Pettersen
745c2b24b6
Fixed RF settings and Board files
2018-08-31 11:04:42 +02:00
Edvard Pettersen
02b812a631
[Feature]: Simplelink Platform for Simplelink SDK
...
Working Simplelink platform with the following Simplelink SDK's:
* CC13x0 SDK
* CC13x2 SDK
* CC26x2 SDK
Is also compatible with Code Composer Studio (XDCTools)
2018-08-31 11:04:41 +02:00
Edvard Pettersen
a76462b908
Initial commit of Simplelink rework
2018-08-31 11:04:40 +02:00
Edvard Pettersen
6ce955a71f
Added slip driver
2018-08-31 11:04:40 +02:00
Edvard Pettersen
9f32a96590
Removed unwanted check of RF cancel command
2018-08-31 11:04:40 +02:00
Edvard Pettersen
7e96029211
Initial try of structuring platform dependent code
2018-08-31 11:04:39 +02:00
Edvard Pettersen
6007b1be07
Implemented the Contiki leds driver
...
NB! This is by no means a future-proof implementation. However, it
should be a good starting point. Configuration of the LEDS_ARCH_*
defines in the leds-arch.c file is what determines what LEDs are
available of a given device/target. This information should be
sufficient from the Board file/device name, and can from there
hardcod what board+device combination a given LED should support.
2018-08-31 11:04:39 +02:00
Edvard Pettersen
723e59264c
Added TX power table sizes for RF-prop settings
2018-08-31 11:04:39 +02:00
Edvard Pettersen
5c058b9c52
Refactored after PR review
2018-08-31 11:04:39 +02:00
Edvard Pettersen
7f813e8e0e
Compiling and untested IEEE mode radio driver
2018-08-31 11:04:39 +02:00
Richard Weickelt
2d198a7858
Enable proper standby and idle. Just one line, thats it.
2018-08-31 11:04:39 +02:00
Richard Weickelt
56721d13cf
Working prop rf driver
2018-08-31 11:04:39 +02:00
Richard Weickelt
0102628245
Prop RF driver now complete
2018-08-31 11:04:39 +02:00
Richard Weickelt
430ba24bbd
Add more functionality
2018-08-31 11:04:38 +02:00
Richard Weickelt
df236cc05c
Add more RF functionality
2018-08-31 11:04:38 +02:00
Richard Weickelt
c98b0498a7
Adding more functionality
2018-08-31 11:04:38 +02:00
Richard Weickelt
64f440a15f
Initial commit, doesn't compile
2018-08-31 11:04:38 +02:00
Richard Weickelt
5a6578b99f
Undo watchdog changes
2018-08-31 11:04:38 +02:00
Edvard Pettersen
2b0091246d
UART0 arch driver impl
...
* Async read
* Renamed driver to uart0-arch
* Renamed arch/cpu source folder to dev/
2018-08-31 11:04:38 +02:00
Richard Weickelt
8f0b3fb49c
Undo unnecessary makefile edit
2018-08-31 11:04:38 +02:00
Edvard Pettersen
b30ef7d56d
Added async read on UART
2018-08-31 11:04:38 +02:00
Richard Weickelt
c99c3b4b5f
Rewriting clock module based upon DPL
2018-08-31 11:04:38 +02:00
Edvard Pettersen
c8023df8a5
Added UART serial interface printing
2018-08-31 11:04:38 +02:00
Edvard Pettersen
765e35ba7f
Added working simplelink platform without netstack
2018-08-31 11:04:38 +02:00
Edvard Pettersen
65ba0bb5a6
Fixed remaking Makefiles, removed implicit %.o for %.elf, aligned
...
defines, added volatile qualifier for RAM vector pointer
2018-08-31 11:04:37 +02:00
Richard Weickelt
f83579098b
Resolve remarks
2018-08-31 11:04:37 +02:00
Richard Weickelt
8cee2abae6
List only directories
2018-08-31 11:04:37 +02:00
Richard Weickelt
a40e5bc314
Build the board file and add all libraries from the SDK
2018-08-31 11:04:37 +02:00
Edvard Pettersen
12c9056cec
Cleaned up CCFG configuration, and aligned CC13x0_cc26x0 and
...
CC13x2_CC26x2 CPU conf
2018-08-31 11:04:37 +02:00
Richard Weickelt
c7aaefb4da
Add board file deduction logic and board init stages
2018-08-31 11:04:37 +02:00
Edvard Pettersen
b861190cb8
Initial commit for rtimer-arch
2018-08-31 11:04:37 +02:00
Richard Weickelt
be4131d277
Add necessary SDK libraries and include paths
2018-08-31 11:04:37 +02:00
Edvard Pettersen
ddd451a19b
Compiling example of dummy simplelink platform
2018-08-31 11:04:37 +02:00
Richard Weickelt
81b782636a
Initial port
2018-08-31 11:04:37 +02:00
Richard Weickelt
e8251d786b
Fix path errors when including arm makefiles from another location than a CPU makefile
2018-08-31 11:04:37 +02:00
Joakim Eriksson
00cd589c84
Merge branch 'develop' into contrib/ci-frag-large
2018-08-11 00:16:00 +02:00
Simon Duquennoy
4dbba4df9a
Platform native: overprovision routes, neighbor table and queues
2018-06-05 14:08:02 +02:00
Martin Hermsen
4c7474da70
rx full IRQ handling for cc13xx/cc26xx
2018-06-05 13:14:00 +02:00
George Oikonomou
11f563dc98
Harmonize login, serialdump and serialvew across all platforms
2018-05-26 13:55:03 +01:00
George Oikonomou
37f14efad5
Harmonize building of tools from within an example dir
2018-05-26 13:55:02 +01:00
George Oikonomou
9aa08fd302
Reposition the generic flash driver in the doxygen tree
2018-05-26 02:22:43 +01:00
Simon Duquennoy
1f5d109f33
Remove left-over instances of WITH_TINYOS_AUTO_IDS
2018-05-25 12:49:35 -07:00
Simon Duquennoy
3889ffe750
Simplify and homogenize node-id across all platforms
2018-05-18 14:08:24 -07:00
George Oikonomou
90b5d2a149
Differentiate flash part across sensortag/cc2650 versions
...
Older CC2650 sensortags have a Winbond W25X40CL 4MBit SPI flash. Newer ones have a Macronix MX25R8035F 8MBit part. The parts have almost identical instruction sets and are both supported by our generic external flash driver. The key difference between the two parts is that they have different Manufacturer and Device IDs.
This commit allows us to switch between the two: We default to the new revision, and allow users to build for the older one by defining `SENSORTAG_CC2650_REV_1_2_0` to 1.
Current tags are version 1.5.1. Older tags are version 1.2.0. To identify older tags, look for "Rev: 1.2" printed on the PCB. They should also have a sticker that reads "Rev: 1.3.0" and "HW Rev 1.2.0".
2018-05-18 15:06:58 +01:00
Niclas Finne
2cb4e27599
Added a configurable linker flag to enable linker warnings as errors since OSX
...
requires a diffent linker flag.
2018-05-15 00:52:12 +02:00
Simon Duquennoy
9de0f76b83
Merge remote-tracking branch 'origin/develop' into contrib/sicslowpan
2018-05-13 06:41:12 -07:00
kkrentz
21dd6209ff
uip: Support for IEEE 802.15.4 short addresses
2018-05-12 02:29:33 -07:00
Simon Duquennoy
5ef74e9cfc
Merge branch 'develop' into contrib/rtimer-config
2018-05-11 21:10:33 +02:00
Antonio Iannopollo
0b9f03f442
fixed dht22 driver
2018-05-09 19:29:24 -07:00
Antonio Iannopollo
51a4960fa8
fixed dht22 driver and example
2018-05-09 19:25:08 -07:00
Olav Frengstad
d17566aaef
Allow custom frequency bands (+ some TI radio tweak options)
...
* Add DOT_15_4G_FREQUENCY_BAND_CUSTOM for configuring non-standard frequency band
* Add option to tweak some timer settings
2018-05-03 23:05:18 +02:00
George Oikonomou
2ba54edaec
Tidy-up renode for OS X and enable for all CC2538DK
2018-04-28 15:02:05 +01:00
George Oikonomou
fc76683eef
Enable the CC13x0/CC26x0 ROM bootloader by default
2018-04-28 14:09:41 +01:00
Simon Duquennoy
4da9202d22
Add lrwrap to login and native BR
2018-04-26 03:00:04 -07:00
Simon Duquennoy
f9a1f958e1
Merge remote-tracking branch 'origin/release-4.1' into develop
2018-04-20 08:37:14 -07:00
Simon Duquennoy
f339747218
rtimer: homogenize clock size configuration
2018-04-20 05:20:37 -07:00
Simon Duquennoy
ff7c3ee042
Make rtimer 32-bit by default
2018-04-20 05:20:37 -07:00
Simon Duquennoy
f933767b4c
Remove now unnecessary pintouts of 802.15.4 panid and channel
2018-04-13 08:06:03 -07:00
Simon Duquennoy
df90e62b88
Cooja: remove leftover RF_CHANNEL
2018-04-13 08:06:03 -07:00
Simon Duquennoy
d128898420
cc2420: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 08:06:02 -07:00
Simon Duquennoy
2359cdb7c0
jn516x: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 08:06:02 -07:00
Simon Duquennoy
8bc3a7388e
cc26xx and cc13xx: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 08:06:02 -07:00
Simon Duquennoy
0b2ea0d810
cc2538-rf: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 02:27:17 -07:00
Simon Duquennoy
6fa97286b3
Merge branch 'release-4.1' into contrib/native/button-hal
2018-04-11 20:41:46 +02:00
George Oikonomou
3299780bbe
Delete trailing whitespaces (arch/cpu/)
2018-04-07 14:49:40 +01:00
George Oikonomou
f254d22bf3
Delete trailing whitespaces (various leds-arch.c files)
2018-04-07 14:49:40 +01:00
George Oikonomou
f6bd7ba47a
Fix code style
2018-04-07 14:49:40 +01:00
Simon Duquennoy
fe0b245962
Merge pull request #400 from g-oikonomou/contrib/native/interrupt-emulation
...
Emulate interrupt manipulation on native
2018-04-07 15:00:57 +02:00
Simon Duquennoy
826624c8dd
Added ping with 6lowpan fragmentation test
2018-04-06 12:47:09 -07:00
George Oikonomou
a94b868a4f
Tidy-up AROPTS for cpu native
2018-04-06 13:45:56 +01:00
Simon Duquennoy
9476148191
Cooja motes: larger log buffer
2018-04-06 04:04:55 -07:00
Simon Duquennoy
005a45009b
Merge branch 'develop' into contrib/build/cleanup
2018-04-05 08:37:55 +02:00
Xenofon (Fontas) Fafoutis
f91b223c57
ext-flash: doxygen errors fixed
2018-04-04 12:23:53 +01:00
Xenofon (Fontas) Fafoutis
629803c5e5
ext-flash driver moved to arch/dev/
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
46d1dd1293
update xmem
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
1c335e9faa
fix logging error
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
d7baa54bd0
SPI HAL API: lock()/open() and close()/unlock() merged
2018-04-04 11:30:32 +01:00
George Oikonomou
2cad626360
Rename new SPI API to spi.[ch]
2018-04-04 11:30:32 +01:00
George Oikonomou
8ea998847b
Rename old msp430/sky SPI driver
2018-04-04 11:30:32 +01:00
George Oikonomou
ee4e287fc5
Rename old SPI API to -legacy.h
2018-04-04 11:30:32 +01:00
George Oikonomou
448ee8ae96
Rename arch-specific SPI HAL implementations
2018-04-04 11:30:32 +01:00
George Oikonomou
34df610fcc
Remove spi-hal-arch.h (CC2538)
2018-04-04 11:30:32 +01:00
George Oikonomou
03c63bdd0f
Remove spi-hal-arch.h (CC13xx/CC26xx)
2018-04-04 11:30:32 +01:00
George Oikonomou
7160e1dbd2
Change the way of configuring SPI controller count
2018-04-04 11:30:32 +01:00
George Oikonomou
f6f0c15421
Rename macro and move to HAL
2018-04-04 11:30:32 +01:00
George Oikonomou
0695810044
Rename old CC2538 SPI driver
2018-04-04 11:30:32 +01:00
George Oikonomou
4a0dcf5f1e
Minor code style fixes
2018-04-04 11:30:32 +01:00
George Oikonomou
e7eee05c7d
Add some inludes explicitly
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
2a7e9f0835
SPI HAL implementation for CC2538
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
5e79f0a922
spi hal implementation for sensortag
2018-04-04 11:30:32 +01:00
xenofon (Fontas) Fafoutis
e7d7ee3962
generic spi driver for cc26xx-cc13xx
...
launchpad and ext-flash implementation
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
cf291c22f0
Minor changes in the GPIO HAL
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
1bb04f2d20
revert cc2538
2018-04-04 11:30:32 +01:00
Niclas Finne
0683d4dc3d
Imported SPI API from Yanzi Networks internal Contiki fork.
2018-04-04 11:30:32 +01:00
Simon Duquennoy
a6d8c9cf3f
Merge branch 'develop' into contrib/build/cleanup
2018-04-04 10:02:57 +02:00
George Oikonomou
e3ac8c449c
Adjust build system
...
* Remove lib from CONTIKI_TARGET_DIRS since we no longer have anything in this dir
* Build dbg.c (has been added)
* Do not build sprintf.c (has been removed)
* Add os/lib/dbg-io to MODULES
2018-04-03 22:49:41 +01:00
George Oikonomou
16f61bc769
Delete platform-specific implementation of stdio functions
2018-04-03 22:49:41 +01:00
George Oikonomou
f0315cf5c7
Implement dbg_putchar() and dbg_send_bytes()
...
Those two functions are needed so we can use os/lib/dbg-io for this platform. The old putchar() in slip.c is no longer needed.
2018-04-03 22:49:41 +01:00
George Oikonomou
76bcfcb8cc
Move slip.c to top-level platform code dir
2018-04-03 22:49:41 +01:00