Skip to content

Commit be1ed7a

Browse files
committed
Change to official Feather M0 Express branding.
1 parent ff208d7 commit be1ed7a

File tree

11 files changed

+5
-26
lines changed

11 files changed

+5
-26
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ script:
3434
- make -C mpy-cross
3535
- make -C atmel-samd BOARD=arduino_zero
3636
- make -C atmel-samd BOARD=feather_m0_basic
37-
- make -C atmel-samd BOARD=feather_m0_flash
37+
- make -C atmel-samd BOARD=feather_m0_express
3838
- make -C atmel-samd BOARD=metro_m0_flash
3939
- make -C atmel-samd BOARD=cplay_m0_flash
4040
- make -C atmel-samd BOARD=trinket_m0

atmel-samd/boards/feather_m0_flash/conf_access.h renamed to atmel-samd/boards/feather_m0_express/conf_access.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#define Lun_0_removal vfs_removal
7777
#define Lun_0_usb_read_10 vfs_usb_read_10
7878
#define Lun_0_usb_write_10 vfs_usb_write_10
79-
#define LUN_0_NAME "\"MicroPython VFS[0]\""
79+
#define LUN_0_NAME "\"CircuitPython VFS[0]\""
8080
//! @}
8181

8282
#define MEM_USB LUN_USB
File renamed without changes.
File renamed without changes.

atmel-samd/boards/feather_m0_flash/conf_usb.h renamed to atmel-samd/boards/feather_m0_express/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
#ifndef USB_DEVICE_PRODUCT_NAME
22-
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Basic"
22+
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Express"
2323
#endif
2424

2525
#define USB_DEVICE_GET_SERIAL_NAME_POINTER serial_number
File renamed without changes.

atmel-samd/boards/feather_m0_flash/mpconfigboard.h renamed to atmel-samd/boards/feather_m0_express/mpconfigboard.h

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,12 @@
1-
// LEDs
21
#define USB_REPL
32

4-
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Flash"
3+
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Express"
54
#define MICROPY_HW_MCU_NAME "samd21g18"
65

7-
// Rev. A
8-
// #define MICROPY_HW_NEOPIXEL &pin_PA14
9-
10-
// Rev. B
116
#define MICROPY_HW_NEOPIXEL &pin_PA06
127

138
#define SPI_FLASH_BAUDRATE (1000000)
149

15-
// On-board flash
16-
// Rev A.
17-
// #define SPI_FLASH_MUX_SETTING SPI_SIGNAL_MUX_SETTING_E
18-
// #define SPI_FLASH_PAD0_PINMUX PINMUX_PA12D_SERCOM4_PAD0 // MISO
19-
// // Use default pinmux for the chip select since we manage it ourselves.
20-
// #define SPI_FLASH_PAD1_PINMUX PINMUX_DEFAULT // CS
21-
// #define SPI_FLASH_PAD2_PINMUX PINMUX_PB10D_SERCOM4_PAD2 // MOSI
22-
// #define SPI_FLASH_PAD3_PINMUX PINMUX_PB11D_SERCOM4_PAD3 // SCK
23-
// #define SPI_FLASH_SERCOM SERCOM4
24-
25-
// Rev B.
2610
#define SPI_FLASH_MUX_SETTING SPI_SIGNAL_MUX_SETTING_C
2711
#define SPI_FLASH_PAD0_PINMUX PINMUX_PA08D_SERCOM2_PAD0 // MOSI
2812
// Use default pinmux for the chip select since we manage it ourselves.
@@ -33,11 +17,6 @@
3317

3418
#define SPI_FLASH_CS PIN_PA13
3519

36-
// Rev. A
37-
// #define MICROPY_PORT_A (PORT_PA12 | PORT_PA13 | PORT_PA14 | PORT_PA24 | PORT_PA25)
38-
// #define MICROPY_PORT_B (PORT_PB10 | PORT_PB11)
39-
40-
// Rev. B
4120
#define MICROPY_PORT_A (PORT_PA06 | PORT_PA08 | PORT_PA09 | PORT_PA14 | PORT_PA13 | PORT_PA14 | PORT_PA24 | PORT_PA25)
4221
#define MICROPY_PORT_B ( 0 )
4322

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)