Skip to content

Commit cb99ae5

Browse files
committed
atmel-samd: Rename Feather M0 Bluefruit files to Feather M0 Basic because there isn't anything Bluefruit specific yet.
1 parent 343ff4f commit cb99ae5

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

atmel-samd/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SAMD21x18
22

33
This port brings MicroPython to SAMD21x18 based development boards including the
4-
Arduino Zero, Adafruit Feather M0 and Adafruit M0 BLE.
4+
Arduino Zero, Adafruit Feather M0 Basic and Adafruit M0 Bluefruit LE.
55

66
## Building
77

@@ -11,7 +11,7 @@ To build for the Arduino Zero:
1111

1212
To build for other boards you must change it by setting `BOARD`. For example:
1313

14-
make BOARD=feather_m0_ble
14+
make BOARD=feather_m0_basic
1515

1616
Board names are the directory names in the `boards` folder.
1717

@@ -23,7 +23,7 @@ to flash MicroPython. First, activate the bootloader. On Adafruit Feathers you
2323
can double click the reset button and the #13 will fade in and out. Finally,
2424
run bossac:
2525

26-
tools/bossac_osx -e -w -v -b -R build-feather_m0_ble/firmware.bin
26+
tools/bossac_osx -e -w -v -b -R build-feather_m0_basic/firmware.bin
2727

2828
### No Bootloader via GDB
2929
This method works for loading MicroPython onto the Arduino Zero via the

atmel-samd/boards/feather_m0_bluefruit_le/conf_usb.h renamed to atmel-samd/boards/feather_m0_basic/conf_usb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#endif
2020

2121
#ifndef USB_DEVICE_PRODUCT_NAME
22-
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Bluefruit LE"
22+
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Basic"
2323
#endif
2424

2525
#define USB_DEVICE_GET_SERIAL_NAME_POINTER serial_number

atmel-samd/boards/feather_m0_bluefruit_le/mpconfigboard.h renamed to atmel-samd/boards/feather_m0_basic/mpconfigboard.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
// #define UART_REPL
44
#define USB_REPL
55

6-
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Bluefruit LE"
6+
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Basic"
77
#define MICROPY_HW_MCU_NAME "samd21g18"

atmel-samd/boards/feather_m0_bluefruit_le/pins.h renamed to atmel-samd/boards/feather_m0_basic/pins.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
#ifndef __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
3-
#define __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
2+
#ifndef __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BASIC_PINS_H__
3+
#define __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BASIC_PINS_H__
44

55
#include "modmachine_pin.h"
66

@@ -25,4 +25,4 @@ extern const pin_obj_t pin_PA16;
2525
extern const pin_obj_t pin_PA19;
2626
extern const pin_obj_t pin_PA17;
2727

28-
#endif // __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
28+
#endif // __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BASIC_PINS_H__

0 commit comments

Comments
 (0)