You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UART adaptations for modern Raspbian (uraimo#56)
- Modernized tty naming ("serial0" / "serial1")
- Added 2400 / 4800 speeds
- refactored SysFSUART init() to take a list of devices to try in order of preference (first successful wins)
Added I2C,SPI,UART and updated GPIOs for CHIP
The board supports a sysfs interface for basic PWM functionality too,
but that requires a bit more work.
Note that while I2C and UART will work out of the box, SPI requires a
modified device tree.
Delayed I2C device open
Didn't notice this during testing since I was using SysFSI2C directly,
the I2CInterface objects initialization in the presets was crashing
since /dev/i2c-0 normally does not exist. Moved open(), fd will now be
tested and the device will be opened when needed.