2016-08-22 23:48:09 -07:00
|
|
|
// LEDs
|
2016-12-06 10:31:38 -08:00
|
|
|
//#define MICROPY_HW_LED_MSC PIN_PA17 // red
|
2016-08-23 16:47:53 -07:00
|
|
|
// #define UART_REPL
|
|
|
|
#define USB_REPL
|
2016-08-23 17:36:29 -07:00
|
|
|
|
2016-10-14 13:01:59 -07:00
|
|
|
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Basic"
|
2016-08-23 17:36:29 -07:00
|
|
|
#define MICROPY_HW_MCU_NAME "samd21g18"
|
2016-10-25 14:27:59 -07:00
|
|
|
|
2016-10-31 11:31:33 -07:00
|
|
|
#define AUTORESET_DELAY_MS 500
|
2016-11-03 15:50:59 -07:00
|
|
|
|
2016-12-06 10:31:38 -08:00
|
|
|
#define MICROPY_PORT_A (PORT_PA24 | PORT_PA25)
|
|
|
|
#define MICROPY_PORT_B (0)
|
|
|
|
|
2016-11-29 14:29:33 -08:00
|
|
|
#include "internal_flash.h"
|
2016-12-01 13:46:44 -08:00
|
|
|
|
|
|
|
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
|