circuitpython/ports/atmel-samd/common-hal/busio
Jeff Epler dddfad6594 UART: Fix maybe-uninitialized diagnostic
The following error occurs when building with gcc 5.4.1 (debian stretch):

common-hal/busio/UART.c:104:83: error: 'sercom_index' may be used uninitialized in this function [-Werror=maybe-uninitialized]
                   sercom_insts[rx->sercom[j].index]->USART.CTRLA.bit.ENABLE == 0) ||

It may be related to the addition of rx-only UARTs; gcc is unable
to infer the intended relationship between have_tx and sercom_index
being set (I am still not entirely confident of it myself)
2018-03-19 20:40:04 -05:00
..
I2C.c Remove SERCOM pointers from pin data structure because index is 2018-03-14 11:14:32 -07:00
I2C.h Implement busio.I2c. 2017-11-07 09:59:54 -08:00
OneWire.h Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
SPI.c Remove SERCOM pointers from pin data structure because index is 2018-03-14 11:14:32 -07:00
SPI.h non-DMA SPI working; adding this now for testing; will continue with DMA 2017-11-16 19:09:35 -05:00
UART.c UART: Fix maybe-uninitialized diagnostic 2018-03-19 20:40:04 -05:00
UART.h Implement UART for 3.0 + related fixes. 2018-02-21 17:18:49 -05:00
__init__.c Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00