Harald Pichler
9b6bdd30b8
use all submodules
2015-05-21 21:31:18 +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
Ulf Knoblich
d8efa8428c
cc2538: Allow for configuration of processor speed
2015-05-19 18:55:55 +02:00
Harald Pichler
6a0d407806
Merge branch 'contiki' into osd
2015-05-19 10:54:55 +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
5d20e76346
Adjust the build system to use CC26xxware as a sub-module
2015-05-17 15:01:01 +01:00
George Oikonomou
40e82395c4
Pull CC26xxware as a submodule
2015-05-17 15:01:01 +01:00
George Oikonomou
b4067560ba
Remove references to obsolete peripheral clock scaling functions
2015-05-17 15:01:01 +01:00
George Oikonomou
ab4249a709
Adjust retention calls
...
* Rename VIMS-related calls
* Remove obsolete ones
2015-05-17 15:01:01 +01:00
George Oikonomou
b38d32b281
Rename AON WUC power status macros
2015-05-17 15:01:01 +01:00
George Oikonomou
8673bbdd55
Update linker script to accommodate for larger CCFG size
2015-05-17 15:01:00 +01:00
George Oikonomou
09a8c54eb1
Update CC26xxware glue macros
...
* Remove references to removed functions
* Add macros to new functions
* Rename macros to renamed functions
* Add macros for the HAPI
2015-05-17 14:09:52 +01:00
George Oikonomou
5f4154a0e3
Adjust AON BatMon usage
2015-05-17 14:09:51 +01:00
Benoît Thébaudeau
25532e8abf
Merge pull request #754 from wwhuang/master
...
[CC2538] Fix SPI_FLUSH
2015-05-16 20:55:30 +02:00
Antonio Lignan
e8b1a57ac6
Merge pull request #809 from cmorty/pull/msp430_gstabs
...
[MSP430] Add gstabs debug information (dwarf is broken)
2015-05-16 11:01:47 +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
George Oikonomou
1cf37e0c1a
Tidy-up code style
2015-05-15 23:36:54 +01:00
Harald Pichler
877bf27f5a
Merge branch 'contiki' into osd
2015-05-15 20:48:26 +02:00
George Oikonomou
78d04f812b
Fix typo in macro
2015-05-15 09:21:05 +01:00
George Oikonomou
07272b7cd6
Improve UART power-cycling logic:
...
* Only enable TX by default.
* Add some magic for RX handling. When an input handler is registered:
* Automatically enable RX-related and interrupts
* Automatically lock the SERIAL PD on under all power modes
* Automatically enable the UART clock under sleep and deep sleep
* Automatically undo all of the above when the input handler becomes NULL
* As a result, modules / examples that need UART RX no longer need to clock the UART and manipulate the SERIAL PD. They simply have to specify an input handler
* Don't automatically power on the UART whenever the CM3 is active
* Before accessing the UART, make sure it is powered and clocked
* Avoid falling edge glitches
* Fix garbage characters / Explicitly wait for UART TX to complete
2015-05-15 09:21:04 +01:00
George Oikonomou
34f52ed08e
Improve the LPM module:
...
* Implement new style of PD locks
* Use our own shutdown sequence rather than the one provided by cc26xxware
* Shutdown from within the interrupt that requested it. This allows shutdown to take place even if the code is stuck in a loop somewhere else
* Improve DCDC/GLDO/uLDO switching logic
* Explicitly handle oscillators and retentions
2015-05-15 09:21:04 +01:00
George Oikonomou
eb5b11a85a
Re-order instructions in the RTC startup sequence
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
b3ac3ac0c1
Add function to unregister a module from LPM
2015-05-15 09:21:02 +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
bd79e18e1e
Switch between oscillator's using the dedicated module's functions
2015-05-15 09:21:00 +01:00
George Oikonomou
ad52d68a0c
Add function to configure a pin to a default state
2015-05-15 09:21:00 +01:00
George Oikonomou
3877190196
Change function to static
2015-05-15 09:21:00 +01:00
George Oikonomou
3bbf3cc435
Add SysCtrl glue macros
2015-05-15 09:20:57 +01:00
George Oikonomou
8a42af682d
Make sure PERIPH is on before accessing GPT registers
2015-05-15 09:20:57 +01:00
George Oikonomou
9d97dee00b
Clock the GPT module only when we need it
2015-05-15 09:20:57 +01:00
George Oikonomou
b7e7d48f0b
Add oscillator control wrappers
2015-05-15 09:20:56 +01:00
Brad Campbell
3b6d9e5a64
mc1322x: remove rest tutorial
...
This tutorial was written for the older implementation of CoAP, and
while it may be possible to update it, the directions include URLs and
repos that no longer exist, so it's better to just remove it.
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
f7baf5aba2
Change CC2538 USB and UART handlers to weak
2015-05-13 01:31:26 +01:00
George Oikonomou
96e1647270
Move cc2538 startup-gcc.c to the CPU dir
2015-05-13 01:31:10 +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
George Oikonomou
06b0ee4a8b
Include CC2538 sensors in the build
2015-05-12 23:42:19 +01:00
George Oikonomou
9cc800d728
Add CC2538 VDD sensor driver
2015-05-12 23:42:19 +01:00
George Oikonomou
f474514ee5
Add CC2538 tmp sensor driver
2015-05-12 23:42:19 +01:00
George Oikonomou
40716ab515
Add generic header for CC2538 sensors
2015-05-12 23:42:18 +01:00
George Oikonomou
cf1f722a93
Merge pull request #1045 from g-oikonomou/cc26xx/contrib/cc26xx-rf-wakeup
...
Fix "CC26xx delayed wakeup after RF TX" bug
2015-05-09 22:50:50 +01:00
George Oikonomou
bd5e35c968
Merge pull request #1052 from simonduq/packetbuf-cleanup
...
Packetbuf cleanup
2015-05-09 22:30:21 +01:00
George Oikonomou
33526be5ab
Merge pull request #985 from g-oikonomou/cc26xx-minor-updates
...
Minor Updates to the CC26xx Port
2015-05-09 22:29:30 +01:00