summaryrefslogtreecommitdiffstatshomepage
path: root/tools/codeformat.py
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2020-05-26 12:59:55 +0930
committerDamien George <damien.p.george@gmail.com>2020-05-29 22:54:55 +1000
commitf03d030080ccf89c6ad677c818c949c3bd71ec37 (patch)
tree32370809010380180212a7b6e12496b0909a5905 /tools/codeformat.py
parent50a7ba234850183693d2b236e48ec0b76399123d (diff)
downloadmicropython-f03d030080ccf89c6ad677c818c949c3bd71ec37.tar.gz
micropython-f03d030080ccf89c6ad677c818c949c3bd71ec37.zip
powerpc/uart: Choose which UART to use at build time, not runtime.
Microwatt may have firmware that places data in r3, which was used to detect microwatt vs powernv. This breaks the existing probing of the UART type in this powerpc port. Instead build only the appropriate UART into the firmware, selected by passing the option UART=potato or UART=lpc_serial to the Makefile. A future enhancement would be to parse the device tree and configure MicroPython based on the settings.
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions