micropython/drivers
Andreas Motl fbfea3b440 drivers/onewire: Fix undefined variable errors.
On CPython, and with pylint, the variables MATCH_ROM and SEARCH_ROM are
undefined.  This code works in MicroPython because these variables are
constants and the MicroPython parser/compiler optimises them out.  But it
is not valid Python because they are technically undefined within the scope
they are used.

This commit makes the code valid Python code.  The const part is removed
completely because these constants are part of the public API and so cannot
be moved to the global scope (where they could still use the MicroPython
const optimisation).
2020-03-25 01:09:14 +11:00
..
bus drivers, stm32: Support SPI/QSPI flash chips over 16MB. 2020-01-30 13:18:38 +11:00
cc3000 drivers/cc3000: Use cc3000_time_t instead of time_t for custom typedef. 2018-08-08 16:37:26 +10:00
cc3100 drivers: Update CC3100 driver library to SDK release version 1.1.0. 2015-03-16 00:42:08 +01:00
cyw43 stm32: Refactor bluetooth stack/hci/driver bindings. 2020-03-10 01:53:42 +11:00
dht all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
display all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
memory drivers, stm32: Support SPI/QSPI flash chips over 16MB. 2020-01-30 13:18:38 +11:00
nrf24l01 all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
onewire drivers/onewire: Fix undefined variable errors. 2020-03-25 01:09:14 +11:00
sdcard all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
wiznet5k drivers/wiznet5k: Allow selecting maximum fixed buffer size for MACRAW. 2019-12-13 12:34:42 +11:00
README.md Added 'drivers' directory, intended to hold code for specific hardware. 2014-09-01 22:52:37 +01:00

README.md

This directory contains drivers for specific hardware. The drivers are intended to work across multiple ports.