Change to official Feather M0 Express branding.

This commit is contained in:
Scott Shawcroft 2017-03-27 19:44:45 +01:00
parent ff208d7677
commit be1ed7aae4
11 changed files with 5 additions and 26 deletions

View File

@ -34,7 +34,7 @@ script:
- make -C mpy-cross
- make -C atmel-samd BOARD=arduino_zero
- make -C atmel-samd BOARD=feather_m0_basic
- make -C atmel-samd BOARD=feather_m0_flash
- make -C atmel-samd BOARD=feather_m0_express
- make -C atmel-samd BOARD=metro_m0_flash
- make -C atmel-samd BOARD=cplay_m0_flash
- make -C atmel-samd BOARD=trinket_m0

View File

@ -76,7 +76,7 @@
#define Lun_0_removal vfs_removal
#define Lun_0_usb_read_10 vfs_usb_read_10
#define Lun_0_usb_write_10 vfs_usb_write_10
#define LUN_0_NAME "\"MicroPython VFS[0]\""
#define LUN_0_NAME "\"CircuitPython VFS[0]\""
//! @}
#define MEM_USB LUN_USB

View File

@ -19,7 +19,7 @@
#endif
#ifndef USB_DEVICE_PRODUCT_NAME
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Basic"
# define USB_DEVICE_PRODUCT_NAME "Feather M0 Express"
#endif
#define USB_DEVICE_GET_SERIAL_NAME_POINTER serial_number

View File

@ -1,28 +1,12 @@
// LEDs
#define USB_REPL
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Flash"
#define MICROPY_HW_BOARD_NAME "Adafruit Feather M0 Express"
#define MICROPY_HW_MCU_NAME "samd21g18"
// Rev. A
// #define MICROPY_HW_NEOPIXEL &pin_PA14
// Rev. B
#define MICROPY_HW_NEOPIXEL &pin_PA06
#define SPI_FLASH_BAUDRATE (1000000)
// On-board flash
// Rev A.
// #define SPI_FLASH_MUX_SETTING SPI_SIGNAL_MUX_SETTING_E
// #define SPI_FLASH_PAD0_PINMUX PINMUX_PA12D_SERCOM4_PAD0 // MISO
// // Use default pinmux for the chip select since we manage it ourselves.
// #define SPI_FLASH_PAD1_PINMUX PINMUX_DEFAULT // CS
// #define SPI_FLASH_PAD2_PINMUX PINMUX_PB10D_SERCOM4_PAD2 // MOSI
// #define SPI_FLASH_PAD3_PINMUX PINMUX_PB11D_SERCOM4_PAD3 // SCK
// #define SPI_FLASH_SERCOM SERCOM4
// Rev B.
#define SPI_FLASH_MUX_SETTING SPI_SIGNAL_MUX_SETTING_C
#define SPI_FLASH_PAD0_PINMUX PINMUX_PA08D_SERCOM2_PAD0 // MOSI
// Use default pinmux for the chip select since we manage it ourselves.
@ -33,11 +17,6 @@
#define SPI_FLASH_CS PIN_PA13
// Rev. A
// #define MICROPY_PORT_A (PORT_PA12 | PORT_PA13 | PORT_PA14 | PORT_PA24 | PORT_PA25)
// #define MICROPY_PORT_B (PORT_PB10 | PORT_PB11)
// Rev. B
#define MICROPY_PORT_A (PORT_PA06 | PORT_PA08 | PORT_PA09 | PORT_PA14 | PORT_PA13 | PORT_PA14 | PORT_PA24 | PORT_PA25)
#define MICROPY_PORT_B ( 0 )

View File

@ -1,7 +1,7 @@
rm -rf atmel-samd/build*
rm -rf esp8266/build*
ATMEL_BOARDS="arduino_zero cplay_m0_flash feather_m0_basic feather_m0_adalogger feather_m0_flash metro_m0_flash trinket_m0 gemma_m0"
ATMEL_BOARDS="arduino_zero cplay_m0_flash feather_m0_basic feather_m0_adalogger feather_m0_express metro_m0_flash trinket_m0 gemma_m0"
for board in $ATMEL_BOARDS; do
make -C atmel-samd BOARD=$board