mimxrt/machine_pin: Implement pin.irq() functionality.

This commit is contained in:
robert-hh
2021-06-05 14:06:04 +02:00
committed by Damien George
parent 689476c576
commit 7417c6ac91
13 changed files with 220 additions and 2 deletions

View File

@@ -36,6 +36,7 @@
#include "ticks.h"
#include "tusb.h"
#include "led.h"
#include "modmachine.h"
extern uint8_t _sstack, _estack, _gc_heap_start, _gc_heap_end;
@@ -90,6 +91,7 @@ int main(void) {
soft_reset_exit:
mp_printf(MP_PYTHON_PRINTER, "MPY: soft reboot\n");
machine_pin_irq_deinit();
gc_sweep_all();
mp_deinit();
}