attiny, stm32l0: Note that these chips don't support spi duplex This makes the ms5607 driver use send/recv instead. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/attiny: Eliminate warnings from -Wconversion These have no effect on the generated code as they simply make implicit conversions explicit. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Remove ao_led_toggle API from general code The generic implementation would need to record LED status as it cannot be read back from the device on most hardware. Just get rid of it and let attiny keep its implementation (which does work). Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Eliminate 'pin' field from GPIO functions This was used with the 8051 bit-addressing mode to provide single-instruction access to GPIO pins. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Remove 8051 address space specifiers Signed-off-by: Keith Packard <keithp@keithp.com>
Switch from GPLv2 to GPLv2+ Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Check for MS5607 MISO low before sleeping If the MISO line goes low before we manage to configure the interrupts, we'll miss it entirely unless we check the pin explicitly. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/attiny: Fix ao_spi_get_bit/ao_spi_put_bit macros These were never written, so just use ao_spi_get/put_mask. A precursor to changing how the MS5607 drives the SPI bus Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Add attiny architecture files These are designed to work with the ATtiny85 processor, but can presuambly be easily adapted to others in that series Signed-off-by: Keith Packard <keithp@keithp.com>