atmel-samd: Rename Feather M0 Bluefruit files to Feather M0 Basic because there isn't anything Bluefruit specific yet.
This commit is contained in:
parent
343ff4faed
commit
cb99ae5032
|
@ -1,7 +1,7 @@
|
||||||
# SAMD21x18
|
# SAMD21x18
|
||||||
|
|
||||||
This port brings MicroPython to SAMD21x18 based development boards including the
|
This port brings MicroPython to SAMD21x18 based development boards including the
|
||||||
Arduino Zero, Adafruit Feather M0 and Adafruit M0 BLE.
|
Arduino Zero, Adafruit Feather M0 Basic and Adafruit M0 Bluefruit LE.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ To build for the Arduino Zero:
|
||||||
|
|
||||||
To build for other boards you must change it by setting `BOARD`. For example:
|
To build for other boards you must change it by setting `BOARD`. For example:
|
||||||
|
|
||||||
make BOARD=feather_m0_ble
|
make BOARD=feather_m0_basic
|
||||||
|
|
||||||
Board names are the directory names in the `boards` folder.
|
Board names are the directory names in the `boards` folder.
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ to flash MicroPython. First, activate the bootloader. On Adafruit Feathers you
|
||||||
can double click the reset button and the #13 will fade in and out. Finally,
|
can double click the reset button and the #13 will fade in and out. Finally,
|
||||||
run bossac:
|
run bossac:
|
||||||
|
|
||||||
tools/bossac_osx -e -w -v -b -R build-feather_m0_ble/firmware.bin
|
tools/bossac_osx -e -w -v -b -R build-feather_m0_basic/firmware.bin
|
||||||
|
|
||||||
### No Bootloader via GDB
|
### No Bootloader via GDB
|
||||||
This method works for loading MicroPython onto the Arduino Zero via the
|
This method works for loading MicroPython onto the Arduino Zero via the
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef USB_DEVICE_PRODUCT_NAME
|
#ifndef USB_DEVICE_PRODUCT_NAME
|
||||||
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Bluefruit LE"
|
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Basic"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USB_DEVICE_GET_SERIAL_NAME_POINTER serial_number
|
#define USB_DEVICE_GET_SERIAL_NAME_POINTER serial_number
|
|
@ -3,5 +3,5 @@
|
||||||
// #define UART_REPL
|
// #define UART_REPL
|
||||||
#define USB_REPL
|
#define USB_REPL
|
||||||
|
|
||||||
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Bluefruit LE"
|
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Basic"
|
||||||
#define MICROPY_HW_MCU_NAME "samd21g18"
|
#define MICROPY_HW_MCU_NAME "samd21g18"
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
#ifndef __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
|
#ifndef __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BASIC_PINS_H__
|
||||||
#define __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
|
#define __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BASIC_PINS_H__
|
||||||
|
|
||||||
#include "modmachine_pin.h"
|
#include "modmachine_pin.h"
|
||||||
|
|
||||||
|
@ -25,4 +25,4 @@ extern const pin_obj_t pin_PA16;
|
||||||
extern const pin_obj_t pin_PA19;
|
extern const pin_obj_t pin_PA19;
|
||||||
extern const pin_obj_t pin_PA17;
|
extern const pin_obj_t pin_PA17;
|
||||||
|
|
||||||
#endif // __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
|
#endif // __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BASIC_PINS_H__
|
Loading…
Reference in New Issue