summaryrefslogtreecommitdiff
path: root/src/stm-demo/ao_demo.c
Commit message (Collapse)AuthorAge
* altosui: Hide Tilt Angle values when not availableKeith Packard2014-03-10
| | | | | | | In the Ascent table, make sure the tilt angle fields are hidden when they are set to MISSING. Signed-off-by: Keith Packard <keithp@keithp.com>
* Re-add LCD bits to stm-demoKeith Packard2014-03-08
|
* altos: Add debounce helper. Use in button and quadrature drivers for TeleLCOKeith Packard2013-06-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use flash loader on all STM productsKeith Packard2013-05-07
| | | | | | Includes the boot chain stuff Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up boot loader supportKeith Packard2013-05-07
| | | | | | | Split out code into separate files. Add support for getting back to boot loader from application. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Call ao_task_init before initializing any driversKeith Packard2013-05-07
| | | | | | | | When using task queues, the sleep queues must be initialized before any invocation of ao_wakeup or the OS will crash. Just make sure ao_task_init is always invoked early in the task process to get that done. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: re-enable optimization for stm-demo. remove unused bitsKeith Packard2013-03-10
| | | | | | This makes stm-demo run on the discovery board again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add button driver and event queueKeith Packard2012-08-06
| | | | | | | With this, a single task can wait for any button or quadrature input device. Signed-off-by: Keith Packard <keithp@keithp.com>
* Signed-off-by: Keith Packard <keithp@keithp.com>Keith Packard2012-08-06
| | | | altos: Test quadrature driver
* altos: include targe SPI speed in get requestKeith Packard2012-06-27
| | | | | | | STM needs it to be provided when enabling the SPI device, so just fix AVR and cc1111 to do the same. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Configure STM LCD driver for giant LCD digitsKeith Packard2012-06-21
| | | | | | These devices require static mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make stm-demo compile with new ao_data structureKeith Packard2012-05-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch stm-demo to HSE clock, add USBKeith Packard2012-04-14
| | | | | | | Requires that SB17 be soldered shut so that the MCO from the STlink CPU is available the target for HSE input. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Test I2C code on discovery board.Keith Packard2012-04-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Show temperature in stm-demoKeith Packard2012-04-07
| | | | | | Use the ADC to show current temperature Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ADC tests to stm-demoKeith Packard2012-04-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shuffle stm-demo SPI test code around a bitKeith Packard2012-04-06
| | | | | | | | | Move a debug printf beyond the chip select boundary to allow for more accurate timing. Send four bytes instead of just one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add DMA, SPI and MS5607 driversKeith Packard2012-04-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Make stm-demo display a scrolling messageKeith Packard2012-03-28
| | | | | | | Instead of trying to frob the LEDs, which are now owned by the serial port. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move LCD string output code to ao_lcd_font.cKeith Packard2012-03-28
| | | | | | | It's all very specific to the 14-segment display, so stick it there. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add LCD device driver to STM32L portKeith Packard2012-03-28
| | | | | | | This enables the 6-digit 14-character display on the STM32L discovery board and provides an ascii output to it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix STM LED driver and blink LEDs on discovery boardKeith Packard2012-03-28
| | | | | | | | This adds a task to blink the LEDs, after first fixing up the LED output code to enable the GPIO and talk to the right pins for the discovery board. Signed-off-by: Keith Packard <keithp@keithp.com>
* Basic OS running on STM32LKeith Packard2012-03-28
| | | | | | This gets stm-demo working Signed-off-by: Keith Packard <keithp@keithp.com>
* Add stm-demo programKeith Packard2012-03-28
This runs AltOS and talks over the serial port. Signed-off-by: Keith Packard <keithp@keithp.com>