esp8266: Clean up Pin intr handler by moving all code to machine_pin.c.

The macro MP_FASTCODE is used to explicitly place required functions in
iRAM, instead of needing a separate .c file.
This commit is contained in:
Damien George
2020-05-02 14:38:54 +10:00
parent f792e6c283
commit e12de1fd9d
4 changed files with 12 additions and 43 deletions

View File

@@ -23,8 +23,6 @@ typedef struct _pyb_pin_obj_t {
const pyb_pin_obj_t pyb_pin_obj[16 + 1];
void pin_init0(void);
void pin_intr_handler_iram(void *arg);
void pin_intr_handler(uint32_t);
uint mp_obj_get_pin(mp_obj_t pin_in);
pyb_pin_obj_t *mp_obj_get_pin_obj(mp_obj_t pin_in);