summaryrefslogtreecommitdiff
path: root/src/lpc/ao_arch_funcs.h
Commit message (Collapse)AuthorAge
* altos: Rework packet receive for cc1120Keith Packard2014-07-05
| | | | | | | | | | Instead of blocking on PQT, just set up the receiver to start going and when the first bit interrupt comes in, grab the SPI bus if possible and configure it for reception. This improves sensitivity in the radio by a significant amount while making the code conceptually a bit nicer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc, altos/stm: ARM requires ISB after switching stack pointersKeith Packard2013-10-07
| | | | | | | This sticks a barrier in the CPU to prevent using the wrong stack register past the change. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Add boot loaderKeith Packard2013-06-24
| | | | | | Support the USB boot loader, add USB pull-up support. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Filter ADC inputsKeith Packard2013-06-15
| | | | | | | They're amazingly noisy on EasyMini, so just filter them as the only thing we use them for is battery and pyro numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Make ADC inputs workKeith Packard2013-06-15
| | | | | | | They're still very unstable (bouncing around a lot), but at least they seem to report useful stuff now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Missing parens around ao_gpio_set macroKeith Packard2013-05-19
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Use separate interrupt stackKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Fix ao_enable_input, add ao_enable_analogKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add LPC spi driverKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Get USB workingKeith Packard2013-05-17
| | | | | | | The lpc demo now has a USB command line. Also allocates system stack so we know when ram is tight at build time Signed-off-by: Keith Packard <keithp@keithp.com>
* lpc: Initial lpcxpresso bitsKeith Packard2013-05-17
This gets the LPC11U14 clock set to the PLL and blinks the LED. Signed-off-by: Keith Packard <keithp@keithp.com>