NuMakerMar 29, 2019 Page 15 of 31 Rev 1.00NUMICROPY USER MANUAL75. // Python internal features76. #define MICROPY_ENABLE_GC (1)77. #define MICROPY_READER_VFS (1)78. #define MICROPY_HELPER_REPL (1)Enable/Disable I/O ClassThe MicroPython defines I/O classes in pyb and machine modules. User can modifympconfigboard.h to enable/disable I/O classes or modify the pin definitions for individual I/O class.The I/O class support is disabled if the definition of I/O pin is deleted. When modifying theindividual I/O pin, it needs to be consistent with the pin alternatives function definition file(xxx_af.csv). Below are some contents of M48x/mpconfigboard.h and M48x/board/m487_af.csv. mpconfigboard.h1. // I2C busses2. #define MICROPY_HW_I2C0_SCL (pin_A5)3. #define MICROPY_HW_I2C0_SDA (pin_A4)4. #define MICROPY_HW_I2C1_SCL (pin_A3)5. #define MICROPY_HW_I2C1_SDA (pin_A2)6.7.8. // SPI busses9. #define MICROPY_HW_SPI0_NSS (pin_A3) //D1010. #define MICROPY_HW_SPI0_SCK (pin_A2) //D1311. #define MICROPY_HW_SPI0_MISO (pin_A1) //D1212. #define MICROPY_HW_SPI0_MOSI (pin_A0) //D1113.14. #define MICROPY_HW_SPI3_NSS (pin_C9) //D215. #define MICROPY_HW_SPI3_SCK (pin_C10) //D316. #define MICROPY_HW_SPI3_MISO (pin_B9) //A317. #define MICROPY_HW_SPI3_MOSI (pin_B8) //A218.19. //ADC(using EADC pin to implement ADC class)20. #define MICROPY_HW_EADC0_CH0 (pin_B0) //1021. #define MICROPY_HW_EADC0_CH1 (pin_B1) // 922. #define MICROPY_HW_EADC0_CH2 (pin_B2) // 423. #define MICROPY_HW_EADC0_CH3 (pin_B3) // 324. //#define MICROPY_HW_EADC0_CH4 (pin_B0)//not implement yet25. //#define MICROPY_HW_EADC0_CH5 (pin_B0)//not implement yet26. #define MICROPY_HW_EADC0_CH6 (pin_B6)//14427. #define MICROPY_HW_EADC0_CH7 (pin_B7)//14328. #define MICROPY_HW_EADC0_CH8 (pin_B8)//142 //A229. #define MICROPY_HW_EADC0_CH9 (pin_B9)//141 //A330. //#define MICROPY_HW_EADC0_CH10 (pin_B0)//31. //#define MICROPY_HW_EADC0_CH11 (pin_B0)//32. //#define MICROPY_HW_EADC0_CH12 (pin_B0)//33. //#define MICROPY_HW_EADC0_CH13 (pin_B0)//34. //#define MICROPY_HW_EADC0_CH14 (pin_B0)// m487_af.csv1. #Port,Pin,MFPL/MFPH,SPIM,,,,,,,,,,,,,,,,,,,,,,,EVENTOUT,2. PortA,PA0,MFPL,SPIM0_MOSI,QSPI0_MOSI0,SPI0_MOSI,SD1_DAT0,SC0_CLK,UART0_RXD,UART1_nRTS,I2C2_SDA,BPWM0_CH0,EPWM0_CH5,DAC0_ST,EVENTOUT,3. PortA,PA1,MFPL,SPIM0_MISO,QSPI0_MISO0,SPI0_MISO,SD1_DAT1,SC0_DAT,UART0_TXD,UART1_nCTS,I2C2_SCL,BPWM0_CH1,EPWM0_CH4,DAC1_ST,EVENTOUT,4. PortA,PA2,MFPL,SPIM0_CLK,QSPI0_CLK,SPI0_CLK,SD1_DAT2,SC0_RST,UART4_RXD,UART1_RXD,I2C1_SDA,BPWM0_CH2,EPWM0_CH3,EVENTOUT,5. PortA,PA3,MFPL,SPIM0_SS,QSPI0_SS,SPI0_SS,SD1_DAT3,SC0_PWR,UART4_TXD,UART1_TXD,I2C1_SCL,BPWM0_CH3,EPWM0_CH2,QEI0_B,EVENTOUT,6. PortA,PA4,MFPL,SPIM0_D3,QSPI0_MOSI1,SPI0_I2SMCLK,SD1_CLK,SC0_nCD,UART0_nRTS,UART5_RXD,I2C0_SDA,CAN0_RXD,BPWM0_CH4,EPWM0_CH1,QEI0_A,EVENTOUT,