| Age | Commit message (Collapse) | Author |
|
mp_irq_init() is useful when the IRQ object is allocated by the caller.
The mp_irq_methods_t.init method is not used anywhere so has been removed.
Signed-off-by: Damien George <damien@micropython.org>
|
|
So it can be unconditionally included in a port's build even if certain
configurations in that port do not use its features, to simplify the
Makefile.
Signed-off-by: Damien George <damien@micropython.org>
|
|
Otherwise scheduled functions may execute during the hard callback and then
fail if they try to allocate heap memory.
|
|
This is run with uncrustify 0.70.1, and black 19.10b0.
|
|
This helps to prevent mistakes, and allows easily changing the ROM value of
None if needed.
|
|
Initial implementation of this is taken from the cc3200 port.
|