Skip to content

Commit

Permalink
atmel-samd: Rename Feather M0 Bluefruit files to Feather M0 Basic bec…
Browse files Browse the repository at this point in the history
…ause there isn't anything Bluefruit specific yet.
  • Loading branch information
tannewt committed Oct 14, 2016
1 parent 343ff4f commit cb99ae5
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions atmel-samd/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SAMD21x18

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

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

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.

Expand All @@ -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,
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
This method works for loading MicroPython onto the Arduino Zero via the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#endif

#ifndef USB_DEVICE_PRODUCT_NAME
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Bluefruit LE"
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Basic"
#endif

#define USB_DEVICE_GET_SERIAL_NAME_POINTER serial_number
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
// #define UART_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"
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __MICROPY_INCLUDED_ATMEL_SAMD_BOARDS_FEATHER_M0_BLUEFRUIT_LE_PINS_H__
#define __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_BASIC_PINS_H__

#include "modmachine_pin.h"

Expand All @@ -25,4 +25,4 @@ extern const pin_obj_t pin_PA16;
extern const pin_obj_t pin_PA19;
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__

0 comments on commit cb99ae5

Please sign in to comment.