Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb99ae5

Browse files
committed
atmel-samd: Rename Feather M0 Bluefruit files to Feather M0 Basic because there isn't anything Bluefruit specific yet.
1 parent343ff4f commitcb99ae5

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

‎atmel-samd/README.md‎

Lines changed: 3 additions & 3 deletions
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 M0BLE.
4+
Arduino Zero, Adafruit Feather M0Basicand Adafruit M0Bluefruit 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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#endif
2020

2121
#ifndefUSB_DEVICE_PRODUCT_NAME
22-
# defineUSB_DEVICE_PRODUCT_NAME "Feather M0Bluefruit LE"
22+
# defineUSB_DEVICE_PRODUCT_NAME "Feather M0Basic"
2323
#endif
2424

2525
#defineUSB_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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
// #define UART_REPL
44
#defineUSB_REPL
55

6-
#defineMICROPY_HW_BOARD_NAME "Adafruit Feather M0Bluefruit LE"
6+
#defineMICROPY_HW_BOARD_NAME "Adafruit Feather M0Basic"
77
#defineMICROPY_HW_MCU_NAME "samd21g18"

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

Lines changed: 3 additions & 3 deletions
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
externconstpin_obj_tpin_PA19;
2626
externconstpin_obj_tpin_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)

[8]ページ先頭

©2009-2025 Movatter.jp