summaryrefslogtreecommitdiffstatshomepage
path: root/tools/tinytest-codegen.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-11-30 21:23:25 +0000
committerDamien George <damien.p.george@gmail.com>2014-11-30 21:23:25 +0000
commit1960475ed7e190bcf537f8f7714a543b7513e2d5 (patch)
tree63399c90530b3e5d517a0ce1c2e6bc625c529698 /tools/tinytest-codegen.py
parentc7ca01ad962e70a7ecc3beb4feb41da47a372309 (diff)
downloadmicropython-1960475ed7e190bcf537f8f7714a543b7513e2d5.tar.gz
micropython-1960475ed7e190bcf537f8f7714a543b7513e2d5.zip
stmhal: Make pyb.[u]delay use systick with IRQs, busy loop otherwise.
pyb.delay and pyb.udelay now use systick if IRQs are enabled, otherwise they use a busy loop. Thus they work correctly when IRQs are disabled. The busy loop is computed from the current CPU frequency, so works no matter the CPU frequency.
Diffstat (limited to 'tools/tinytest-codegen.py')
0 files changed, 0 insertions, 0 deletions