summaryrefslogtreecommitdiff
path: root/src/cc1111.h
Commit message (Collapse)AuthorAge
* altos: Restructure altos build to prepare for multi-arch supportKeith Packard2011-08-25
| | | | | | | | | | | | | | Split out sources into separate directories: core: architecture and product independent bits cc1111: cc1111-specific code drivers: architecture independent drivers product: product-specific sources and Makefile fragments util: scripts for building stuff This should have no effect on the built products, but testing is encouraged Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: new versions of sdcc require __ prefixes for custom keywordsKeith Packard2011-07-09
| | | | | | | Fortunately, 2.9.1 appears to accept either, so we can switch now and prepare for sdcc 3.0.0. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use USART configuration 1 with flow control for TBTKeith Packard2011-05-06
| | | | | | It's just wired that way. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use PIO(6) on BTM to monitor BT connection. Fix BTM init.Keith Packard2011-04-07
| | | | | | | | PIo(6) appears to be an active-low indication of the Bluetooth connection status. Hook this up using an interrupt to track the link state instead of using in-band status messages. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add P2SEL_*_MASK defines to cc1111.hKeith Packard2011-04-01
| | | | | | | These are used to avoid having the code "know" which selections are 1 and which are 0 bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Internal flash ops block when running from flashKeith Packard2011-03-16
| | | | | | | | | The docs say that if you are executing from flash, then the CPU will stall after a flash write or erase command is started until the operation is complete. Take advantage of that to simplify the flash code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: prepare for sdcc 2.9.1Keith Packard2010-08-27
| | | | | | | A few minor language changes -- non-standard keywords are now prefixed with __, such as 'at', 'interrupt', 'naked'. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add Watchdog Timer Control register definitionsKeith Packard2009-11-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add RFIM registerKeith Packard2009-10-30
|
* Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4Keith Packard2009-06-17
| | | | | | | | | None of our boards have a 32kHz xtal oscillator, instead we use those pins (on Telemetrum) for the deployment firing circuits. The old clock initialization code was switching from the 32kHz RC oscillator to the 32kHz crystal and overriding our use of those pins. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use autotools, move altos to src subdirKeith Packard2009-06-04
Signed-off-by: Keith Packard <keithp@keithp.com>