summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-05 15:31:16 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-05 15:31:16 +1100
commit4c7d799b8244bcffc94cb33eea3d627f51d0ce41 (patch)
tree37b6154a2d7550b502b5ab1909fce483d941b3ef /py/compile.c
parentaaab6a9921a9a874d9a974ecc5c3639002dc286b (diff)
downloadmicropython-4c7d799b8244bcffc94cb33eea3d627f51d0ce41.tar.gz
micropython-4c7d799b8244bcffc94cb33eea3d627f51d0ce41.zip
stmhal/uart: Add check that UART id is valid for the given board.
Previous to this patch trying to construct, but not init, a UART that didn't exist on the target board would actually succeed. Only when initialising the UART would it then raise an exception that the UART does not exist. This patch adds an explicit check that the constructed UART does in fact exist for the given board.
Diffstat (limited to 'py/compile.c')
0 files changed, 0 insertions, 0 deletions