Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/arduino_mkr1300/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

#define MICROPY_HW_LED_STATUS (&pin_PB23)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA09)
#define DEFAULT_I2C_BUS_SDA (&pin_PA08)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/arduino_mkrzero/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA09)
#define DEFAULT_I2C_BUS_SDA (&pin_PA08)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/arduino_zero/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#define MICROPY_PORT_B (PORT_PB03)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/catwan_usbstick/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define DEFAULT_SPI_BUS_SCK (&pin_PA19)
#define DEFAULT_SPI_BUS_MOSI (&pin_PA18)
#define DEFAULT_SPI_BUS_MISO (&pin_PA22)

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define IGNORE_PIN_PA00 1
#define IGNORE_PIN_PA01 1
Expand Down
2 changes: 2 additions & 0 deletions ports/atmel-samd/boards/catwan_usbstick/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ CIRCUITPY_SMALL_BUILD = 1

CHIP_VARIANT = SAMD21E18A
CHIP_FAMILY = samd21

CIRCUITPY_FREQUENCYIO = 0
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/feather_m0_adalogger/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA22)
#define DEFAULT_I2C_BUS_SDA (&pin_PA23)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/feather_m0_basic/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/gemma_m0/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define DEFAULT_I2C_BUS_SCL (&pin_PA05)
#define DEFAULT_I2C_BUS_SDA (&pin_PA04)

#define DEFAULT_UART_BUS_RX (&pin_PA05)
#define DEFAULT_UART_BUS_TX (&pin_PA04)

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define IGNORE_PIN_PA03 1
#define IGNORE_PIN_PA06 1
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/meowmeow/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

// If you change this, then make sure to update the linker scripts as well to
// make sure you don't overwrite code.
#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define CALIBRATE_CRYSTALLESS 1

Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/pewpew10/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)


#define IGNORE_PIN_PB00 1
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/pirkey_m0/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define IGNORE_PIN_PA02 1
#define IGNORE_PIN_PA03 1
Expand Down
5 changes: 3 additions & 2 deletions ports/atmel-samd/boards/samd21x18-bootloader.ld
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
/* Specify the memory areas */
MEMORY
{
/* Leave 8KiB for the bootloader, and 64k for the flash file system. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 64K
/* Leave 8KiB for the bootloader, 64k for the flash file system, and 256b
for user config. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 64K - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}

Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/sparkfun_samd21_dev/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/sparkfun_samd21_mini/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
Expand Down
4 changes: 2 additions & 2 deletions ports/atmel-samd/boards/trinket_m0/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0)

#define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define CIRCUITPY_INTERNAL_NVM_SIZE 256

#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)

#define IGNORE_PIN_PA03 1
#define IGNORE_PIN_PA04 1
Expand Down