Parameterize linker script

This commit is contained in:
Dan Halbert 2019-10-20 23:50:12 -04:00
parent be8136dc6d
commit 7b79ac3739
179 changed files with 272 additions and 1490 deletions

2
main.c
View File

@ -199,7 +199,7 @@ void cleanup_after_vm(supervisor_allocation* heap) {
bool run_code_py(safe_mode_t safe_mode) { bool run_code_py(safe_mode_t safe_mode) {
bool serial_connected_at_start = serial_connected(); bool serial_connected_at_start = serial_connected();
#ifdef CIRCUITPY_AUTORELOAD_DELAY_MS #if CIRCUITPY_AUTORELOAD_DELAY_MS > 0
if (serial_connected_at_start) { if (serial_connected_at_start) {
serial_write("\n"); serial_write("\n");
if (autoreload_is_enabled()) { if (autoreload_is_enabled()) {

View File

@ -292,12 +292,17 @@ SRC_SHARED_MODULE_EXPANDED = $(addprefix shared-bindings/, $(SRC_SHARED_MODULE))
$(addprefix shared-module/, $(SRC_SHARED_MODULE)) \ $(addprefix shared-module/, $(SRC_SHARED_MODULE)) \
$(addprefix shared-module/, $(SRC_SHARED_MODULE_INTERNAL)) $(addprefix shared-module/, $(SRC_SHARED_MODULE_INTERNAL))
# There may be duplicates between SRC_COMMON_HAL_EXPANDED and SRC_SHARED_MODULE_EXPANDED,
# because a few modules have files both in common-hal/ and shared-modules/.
# Doing a $(sort ...) removes duplicates as part of sorting.
SRC_COMMON_HAL_SHARED_MODULE_EXPANDED = $(sort $(SRC_COMMON_HAL_EXPANDED) $(SRC_SHARED_MODULE_EXPANDED))
SRC_S = supervisor/$(CHIP_FAMILY)_cpu.s SRC_S = supervisor/$(CHIP_FAMILY)_cpu.s
OBJ = $(PY_O) $(SUPERVISOR_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) OBJ = $(PY_O) $(SUPERVISOR_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_ASF:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_ASF:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_COMMON_HAL_EXPANDED:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_COMMON_HAL_SHARED_MODULE_EXPANDED:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_SHARED_MODULE_EXPANDED:.c=.o))
ifeq ($(INTERNAL_LIBM),1) ifeq ($(INTERNAL_LIBM),1)
OBJ += $(addprefix $(BUILD)/, $(SRC_LIBM:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_LIBM:.c=.o))
endif endif
@ -310,9 +315,18 @@ SRC_QSTR_PREPROCESSOR += peripherals/samd/$(CHIP_FAMILY)/clocks.c
all: $(BUILD)/firmware.bin $(BUILD)/firmware.uf2 all: $(BUILD)/firmware.bin $(BUILD)/firmware.uf2
$(BUILD)/firmware.elf: $(OBJ) LD_FILE = $(BUILD)/$(notdir $(patsubst %.template.ld,%.ld,$(LD_TEMPLATE_FILE)))
# ld_defines.pp is generated from ld_defines.c. See py/mkrules.mk.
# Run gen_ld_files.py over ALL *.template.ld files, not just LD_TEMPLATE_FILE,
# because it may include other template files.
$(LD_FILE): $(BUILD)/ld_defines.pp boards/*.template.ld
$(STEPECHO) "GEN $@"
$(Q)$(PYTHON3) $(TOP)/tools/gen_ld_files.py --defines $< --out_dir $(BUILD) boards/*.template.ld
$(BUILD)/firmware.elf: $(OBJ) $(LD_FILE)
$(STEPECHO) "LINK $@" $(STEPECHO) "LINK $@"
$(Q)$(CC) -o $@ $(LDFLAGS) $^ -Wl,--start-group $(LIBS) -Wl,--end-group $(Q)$(CC) -o $@ $(LDFLAGS) $(OBJ) -Wl,--start-group $(LIBS) -Wl,--end-group
$(Q)$(SIZE) $@ | $(PYTHON3) $(TOP)/tools/build_memory_info.py $(LD_FILE) $(Q)$(SIZE) $@ | $(PYTHON3) $(TOP)/tools/build_memory_info.py $(LD_FILE)
$(BUILD)/firmware.bin: $(BUILD)/firmware.elf $(BUILD)/firmware.bin: $(BUILD)/firmware.elf

View File

@ -7,10 +7,6 @@
#define MICROPY_HW_LED_STATUS (&pin_PB23) #define MICROPY_HW_LED_STATUS (&pin_PB23)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA09) #define DEFAULT_I2C_BUS_SCL (&pin_PA09)
#define DEFAULT_I2C_BUS_SDA (&pin_PA08) #define DEFAULT_I2C_BUS_SDA (&pin_PA08)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x2341 USB_VID = 0x2341
USB_PID = 0x8053 USB_PID = 0x8053
USB_PRODUCT = "Arduino MKR1300" USB_PRODUCT = "Arduino MKR1300"

View File

@ -5,10 +5,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA09) #define DEFAULT_I2C_BUS_SCL (&pin_PA09)
#define DEFAULT_I2C_BUS_SDA (&pin_PA08) #define DEFAULT_I2C_BUS_SDA (&pin_PA08)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8050 USB_PID = 0x8050
USB_PRODUCT = "Arduino MKRZero" USB_PRODUCT = "Arduino MKRZero"

View File

@ -10,10 +10,6 @@
#define MICROPY_PORT_B (PORT_PB03) #define MICROPY_PORT_B (PORT_PB03)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x2341 USB_VID = 0x2341
USB_PID = 0x824D USB_PID = 0x824D
USB_PRODUCT = "Arduino Zero" USB_PRODUCT = "Arduino Zero"

View File

@ -5,6 +5,7 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
// No microcontroller.nvm
#define CIRCUITPY_INTERNAL_NVM_SIZE 0 #define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define DEFAULT_I2C_BUS_SCL (&pin_PA08) #define DEFAULT_I2C_BUS_SCL (&pin_PA08)
@ -17,8 +18,6 @@
#define DEFAULT_UART_BUS_RX (&pin_PA01) #define DEFAULT_UART_BUS_RX (&pin_PA01)
#define DEFAULT_UART_BUS_TX (&pin_PA00) #define DEFAULT_UART_BUS_TX (&pin_PA00)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
#define IGNORE_PIN_PA03 1 #define IGNORE_PIN_PA03 1
#define IGNORE_PIN_PA12 1 #define IGNORE_PIN_PA12 1
#define IGNORE_PIN_PA13 1 #define IGNORE_PIN_PA13 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x1209 USB_VID = 0x1209
USB_PID = 0xBAB3 USB_PID = 0xBAB3
USB_PRODUCT = "Bast Pro Mini M0" USB_PRODUCT = "Bast Pro Mini M0"

View File

@ -3,7 +3,6 @@
#define CIRCUITPY_MCU_FAMILY samd51 #define CIRCUITPY_MCU_FAMILY samd51
#define MICROPY_HW_LED_STATUS (&pin_PA22) #define MICROPY_HW_LED_STATUS (&pin_PA22)
// These are pins not to reset. // These are pins not to reset.
@ -14,14 +13,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x04D8 USB_VID = 0x04D8
USB_PID = 0xEDB3 USB_PID = 0xEDB3
USB_PRODUCT = "Programmable USB Hub" USB_PRODUCT = "Programmable USB Hub"

View File

@ -7,14 +7,10 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define DEFAULT_SPI_BUS_SCK (&pin_PA19) #define DEFAULT_SPI_BUS_SCK (&pin_PA19)
#define DEFAULT_SPI_BUS_MOSI (&pin_PA18) #define DEFAULT_SPI_BUS_MOSI (&pin_PA18)
#define DEFAULT_SPI_BUS_MISO (&pin_PA22) #define DEFAULT_SPI_BUS_MISO (&pin_PA22)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define IGNORE_PIN_PA00 1 #define IGNORE_PIN_PA00 1
#define IGNORE_PIN_PA01 1 #define IGNORE_PIN_PA01 1
#define IGNORE_PIN_PA02 1 #define IGNORE_PIN_PA02 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x1209 USB_VID = 0x1209
USB_PID = 0xBAB2 USB_PID = 0xBAB2
USB_PRODUCT = "CatWAN USBStick" USB_PRODUCT = "CatWAN USBStick"

View File

@ -22,12 +22,6 @@
#define SPEAKER_ENABLE_PIN (&pin_PA30) #define SPEAKER_ENABLE_PIN (&pin_PA30)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
// Explanation of how a user got into safe mode. // Explanation of how a user got into safe mode.

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8019 USB_PID = 0x8019
USB_PRODUCT = "CircuitPlayground Express" USB_PRODUCT = "CircuitPlayground Express"

View File

@ -22,12 +22,6 @@
#define SPEAKER_ENABLE_PIN (&pin_PA30) #define SPEAKER_ENABLE_PIN (&pin_PA30)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
// Explanation of how a user got into safe mode. // Explanation of how a user got into safe mode.

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8019 USB_PID = 0x8019
USB_PRODUCT = "CircuitPlayground Express with Crickit libraries" USB_PRODUCT = "CircuitPlayground Express with Crickit libraries"

View File

@ -22,12 +22,6 @@
#define SPEAKER_ENABLE_PIN (&pin_PA30) #define SPEAKER_ENABLE_PIN (&pin_PA30)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
// Explanation of how a user got into safe mode. // Explanation of how a user got into safe mode.

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8019 USB_PID = 0x8019
USB_PRODUCT = "CircuitPlayground Express with displayio" USB_PRODUCT = "CircuitPlayground Express with displayio"

View File

@ -0,0 +1,89 @@
/* Template for SAMD21/SAMD51 linking. dollar-sign-curly-bracket items are replaced with strings. */
/* Specify the memory areas */
MEMORY
{
/* CIRCUITPY_BOOTLOADER_SIZE is size of bootloader, if any.
* SAMD21 Arduino and UF2 bootloaders are 8KiB. SAMD51 UF2 is 6KiB.
* FLASH_SIZE is defined in ASF4.
* RAM_SIZE is defined in mpconfigport.h, from constants from ASF4.
* CIRCUITPY_INTERNAL_CONFIG_SIZE is size of an optional hidden config area, used currently
* for crystalless USB timing calibration.
* CIRCUITPY_INTERNAL_NVM_SIZE is the size of microntroller.nvm.
*/
FLASH (rx) : ORIGIN = 0x00000000 + ${BOOTLOADER_SIZE}, LENGTH = ${FLASH_SIZE} - ${BOOTLOADER_SIZE} - ${CIRCUITPY_INTERNAL_CONFIG_SIZE} - ${CIRCUITPY_INTERNAL_NVM_SIZE}
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = ${RAM_SIZE}
}
/* top end of the stack */
/* stack must be double-word (8 byte) aligned */
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
/* define output sections */
SECTIONS
{
/* The program code and other data goes into FLASH */
.text :
{
. = ALIGN(4);
_sfixed = .;
KEEP(*(.vectors)) /* isr vector table */
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */
. = ALIGN(4);
} >FLASH
.ARM.exidx :
{
*(.ARM.exidx*)
*(.gnu.linkonce.armexidx.*)
_etext = .; /* define a global symbol at end of code */
_sidata = .; /* start of .data section */
} > FLASH
/* This is the initialized data section
The program executes knowing that the data is in the RAM
but the loader puts the initial values in the FLASH (inidata).
It is one task of the startup to copy the initial values from FLASH to RAM. */
.data : AT ( _sidata )
{
. = ALIGN(4);
_srelocate = .; /* create a global symbol at data start; used by startup code in order to initialize the .data section in RAM */
*(.ramfunc)
*(.ramfunc*)
*(.data) /* .data sections */
*(.data*) /* .data* sections */
. = ALIGN(4);
_erelocate = .; /* define a global symbol at data end; used by startup code in order to initialize the .data section in RAM */
} >RAM
/* Uninitialized data section */
.bss :
{
. = ALIGN(4);
_sbss = .;
_szero = .; /* define a global symbol at bss start; used by startup code */
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
_ezero = .; /* define a global symbol at bss end; used by startup code */
_ebss = .;
} >RAM
/* this just checks there is enough RAM for the requested stack. */
.stack :
{
. = ALIGN(4);
. = . + ${CIRCUITPY_DEFAULT_STACK_SIZE};
. = ALIGN(4);
} >RAM
.ARM.attributes 0 : { *(.ARM.attributes) }
}

View File

@ -12,14 +12,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PB09) #define DEFAULT_I2C_BUS_SCL (&pin_PB09)
#define DEFAULT_I2C_BUS_SDA (&pin_PB08) #define DEFAULT_I2C_BUS_SDA (&pin_PB08)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x20-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8021 USB_PID = 0x8021
USB_PRODUCT = "CP32-M4" USB_PRODUCT = "CP32-M4"

View File

@ -20,14 +20,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x4097 USB_VID = 0x4097
USB_PID = 0x0001 USB_PID = 0x0001
USB_PRODUCT = "Datalore IP M4" USB_PRODUCT = "Datalore IP M4"

View File

@ -10,10 +10,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x04D8 USB_VID = 0x04D8
USB_PID = 0xEE8C USB_PID = 0xEE8C
USB_PRODUCT = "datum-Distance" USB_PRODUCT = "datum-Distance"

View File

@ -10,10 +10,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x04D8 USB_VID = 0x04D8
USB_PID = 0xEE8D USB_PID = 0xEE8D
USB_PRODUCT = "datum-IMU" USB_PRODUCT = "datum-IMU"

View File

@ -10,10 +10,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x04D8 USB_VID = 0x04D8
USB_PID = 0xEE8E USB_PID = 0xEE8E
USB_PRODUCT = "datum-Light" USB_PRODUCT = "datum-Light"

View File

@ -10,10 +10,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x04D8 USB_VID = 0x04D8
USB_PID = 0xEE8F USB_PID = 0xEE8F
USB_PRODUCT = "datum-Weather" USB_PRODUCT = "datum-Weather"

View File

@ -8,12 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
// Explanation of how a user got into safe mode. // Explanation of how a user got into safe mode.

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x1209 USB_VID = 0x1209
USB_PID = 0xBAB6 USB_PID = 0xBAB6
USB_PRODUCT = "Escornabot Makech" USB_PRODUCT = "Escornabot Makech"

View File

@ -8,10 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA22) #define DEFAULT_I2C_BUS_SCL (&pin_PA22)
#define DEFAULT_I2C_BUS_SDA (&pin_PA23) #define DEFAULT_I2C_BUS_SDA (&pin_PA23)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8015 USB_PID = 0x8015
USB_PRODUCT = "Feather M0 Adalogger" USB_PRODUCT = "Feather M0 Adalogger"

View File

@ -8,10 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8015 USB_PID = 0x8015
USB_PRODUCT = "Feather M0" USB_PRODUCT = "Feather M0"

View File

@ -15,13 +15,6 @@
#define MICROPY_PORT_B ( 0 ) #define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8023 USB_PID = 0x8023
USB_PRODUCT = "Feather M0 Express" USB_PRODUCT = "Feather M0 Express"

View File

@ -15,12 +15,6 @@
#define MICROPY_PORT_B ( 0 ) #define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8023 USB_PID = 0x8023
USB_PRODUCT = "Feather M0 Express" USB_PRODUCT = "Feather M0 Express"

View File

@ -8,10 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8015 USB_PID = 0x8015
USB_PRODUCT = "Feather M0 RFM69" USB_PRODUCT = "Feather M0 RFM69"

View File

@ -8,10 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8015 USB_PID = 0x8015
USB_PRODUCT = "Feather M0 RFM9x" USB_PRODUCT = "Feather M0 RFM9x"

View File

@ -17,12 +17,6 @@
#define MICROPY_PORT_B ( 0 ) #define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8023 USB_PID = 0x8023
USB_PRODUCT = "Feather M0 Supersized" USB_PRODUCT = "Feather M0 Supersized"

View File

@ -16,14 +16,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define EXTERNAL_FLASH_QSPI_DUAL #define EXTERNAL_FLASH_QSPI_DUAL
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8026 USB_PID = 0x8026
USB_PRODUCT = "Feather M4 Express" USB_PRODUCT = "Feather M4 Express"

View File

@ -14,12 +14,6 @@
#define MICROPY_PORT_B ( 0 ) #define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8023 USB_PID = 0x8023
USB_PRODUCT = "Feather RadioFruit Zigbee" USB_PRODUCT = "Feather RadioFruit Zigbee"

View File

@ -10,16 +10,12 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define DEFAULT_I2C_BUS_SCL (&pin_PA05) #define DEFAULT_I2C_BUS_SCL (&pin_PA05)
#define DEFAULT_I2C_BUS_SDA (&pin_PA04) #define DEFAULT_I2C_BUS_SDA (&pin_PA04)
#define DEFAULT_UART_BUS_RX (&pin_PA05) #define DEFAULT_UART_BUS_RX (&pin_PA05)
#define DEFAULT_UART_BUS_TX (&pin_PA04) #define DEFAULT_UART_BUS_TX (&pin_PA04)
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define IGNORE_PIN_PA03 1 #define IGNORE_PIN_PA03 1
#define IGNORE_PIN_PA06 1 #define IGNORE_PIN_PA06 1
#define IGNORE_PIN_PA07 1 #define IGNORE_PIN_PA07 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x801D USB_PID = 0x801D
USB_PRODUCT = "Gemma M0" USB_PRODUCT = "Gemma M0"

View File

@ -21,14 +21,6 @@
#define MICROPY_PORT_C ( PORT_PC24 | PORT_PC30 | PORT_PC31 ) #define MICROPY_PORT_C ( PORT_PC24 | PORT_PC30 | PORT_PC31 )
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PB21) #define DEFAULT_I2C_BUS_SCL (&pin_PB21)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x20-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8032 USB_PID = 0x8032
USB_PRODUCT = "Grand Central M4 Express" USB_PRODUCT = "Grand Central M4 Express"

View File

@ -16,12 +16,6 @@
#define MICROPY_PORT_B ( PORT_PB22 | PORT_PB23 ) #define MICROPY_PORT_B ( PORT_PB22 | PORT_PB23 )
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA17) #define DEFAULT_I2C_BUS_SCL (&pin_PA17)
#define DEFAULT_I2C_BUS_SDA (&pin_PA16) #define DEFAULT_I2C_BUS_SDA (&pin_PA16)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0xD1ED USB_PID = 0xD1ED
USB_PRODUCT = "HalloWing M0 Express" USB_PRODUCT = "HalloWing M0 Express"

View File

@ -16,14 +16,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x804A USB_PID = 0x804A
USB_PRODUCT = "Hallowing M4 Express" USB_PRODUCT = "Hallowing M4 Express"

View File

@ -16,12 +16,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA22) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8012 USB_PID = 0x8012
USB_PRODUCT = "ItsyBitsy M0 Express" USB_PRODUCT = "ItsyBitsy M0 Express"
@ -21,4 +20,3 @@ CIRCUITPY_RTC = 0
CFLAGS_INLINE_LIMIT = 60 CFLAGS_INLINE_LIMIT = 60
SUPEROPT_GC = 0 SUPEROPT_GC = 0

View File

@ -17,14 +17,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x802C USB_PID = 0x802C
USB_PRODUCT = "ItsyBitsy M4 Express" USB_PRODUCT = "ItsyBitsy M4 Express"

View File

@ -14,8 +14,6 @@
#define CIRCUITPY_INTERNAL_NVM_SIZE 0 #define CIRCUITPY_INTERNAL_NVM_SIZE 0
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - 0x010000)
#define DEFAULT_I2C_BUS_SCL (&pin_PA17) #define DEFAULT_I2C_BUS_SCL (&pin_PA17)
#define DEFAULT_I2C_BUS_SDA (&pin_PA16) #define DEFAULT_I2C_BUS_SDA (&pin_PA16)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader.ld
USB_VID = 0x04D8 USB_VID = 0x04D8
USB_PID = 0xED94 USB_PID = 0xED94
USB_PRODUCT = "kicksat-sprite" USB_PRODUCT = "kicksat-sprite"

View File

@ -8,12 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
// Explanation of how a user got into safe mode. // Explanation of how a user got into safe mode.

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x1209 USB_VID = 0x1209
USB_PID = 0xBAB1 USB_PID = 0xBAB1
USB_PRODUCT = "Meow Meow" USB_PRODUCT = "Meow Meow"

View File

@ -21,12 +21,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8014 USB_PID = 0x8014
USB_PRODUCT = "Metro M0 Express" USB_PRODUCT = "Metro M0 Express"

View File

@ -18,14 +18,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8038 USB_PID = 0x8038
USB_PRODUCT = "Metro M4 Airlift Lite" USB_PRODUCT = "Metro M4 Airlift Lite"

View File

@ -20,14 +20,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8021 USB_PID = 0x8021
USB_PRODUCT = "Metro M4 Express" USB_PRODUCT = "Metro M4 Express"

View File

@ -17,14 +17,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x1209 USB_VID = 0x1209
USB_PID = 0x2017 USB_PID = 0x2017
USB_PRODUCT = "Mini SAM M4" USB_PRODUCT = "Mini SAM M4"

View File

@ -13,14 +13,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA01) #define DEFAULT_I2C_BUS_SCL (&pin_PA01)
#define DEFAULT_I2C_BUS_SDA (&pin_PA00) #define DEFAULT_I2C_BUS_SDA (&pin_PA00)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8048 USB_PID = 0x8048
USB_PRODUCT = "Monster M4SK" USB_PRODUCT = "Monster M4SK"

View File

@ -5,11 +5,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define IGNORE_PIN_PB00 1 #define IGNORE_PIN_PB00 1
#define IGNORE_PIN_PB01 1 #define IGNORE_PIN_PB01 1
#define IGNORE_PIN_PB02 1 #define IGNORE_PIN_PB02 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x801D USB_PID = 0x801D
USB_PRODUCT = "PewPew 10.2" USB_PRODUCT = "PewPew 10.2"

View File

@ -9,14 +9,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA01) #define DEFAULT_I2C_BUS_SCL (&pin_PA01)
#define DEFAULT_I2C_BUS_SDA (&pin_PA00) #define DEFAULT_I2C_BUS_SDA (&pin_PA00)
@ -48,4 +40,3 @@
#define IGNORE_PIN_PB09 1 #define IGNORE_PIN_PB09 1
#define IGNORE_PIN_PB10 1 #define IGNORE_PIN_PB10 1
#define IGNORE_PIN_PB11 1 #define IGNORE_PIN_PB11 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader.ld
USB_VID = 0x1d50 USB_VID = 0x1d50
USB_PID = 0x60e8 USB_PID = 0x60e8
USB_PRODUCT = "PewPew M4" USB_PRODUCT = "PewPew M4"

View File

@ -8,10 +8,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define IGNORE_PIN_PA02 1 #define IGNORE_PIN_PA02 1
#define IGNORE_PIN_PA03 1 #define IGNORE_PIN_PA03 1
#define IGNORE_PIN_PA04 1 #define IGNORE_PIN_PA04 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8028 USB_PID = 0x8028
USB_PRODUCT = "pIRKey M0" USB_PRODUCT = "pIRKey M0"

View File

@ -14,14 +14,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8034 USB_PID = 0x8034
USB_PRODUCT = "PyBadge" USB_PRODUCT = "PyBadge"

View File

@ -14,14 +14,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8043 USB_PID = 0x8043
USB_PRODUCT = "PyBadge AirLift" USB_PRODUCT = "PyBadge AirLift"

View File

@ -13,14 +13,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x803E USB_PID = 0x803E
USB_PRODUCT = "PyGamer" USB_PRODUCT = "PyGamer"

View File

@ -13,14 +13,6 @@
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PA13) #define DEFAULT_I2C_BUS_SCL (&pin_PA13)
#define DEFAULT_I2C_BUS_SDA (&pin_PA12) #define DEFAULT_I2C_BUS_SDA (&pin_PA12)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x19-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x803E USB_PID = 0x803E
USB_PRODUCT = "PyGamer Advance" USB_PRODUCT = "PyGamer Advance"

View File

@ -17,14 +17,6 @@
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)
#define DEFAULT_I2C_BUS_SDA (&pin_PB02) #define DEFAULT_I2C_BUS_SDA (&pin_PB02)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x20-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8036 USB_PID = 0x8036
USB_PRODUCT = "PyPortal" USB_PRODUCT = "PyPortal"

View File

@ -16,14 +16,6 @@
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
#define MICROPY_PORT_D (0) #define MICROPY_PORT_D (0)
#define AUTORESET_DELAY_MS 500
// 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 8192
#define BOARD_FLASH_SIZE (FLASH_SIZE - 0x4000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)
#define DEFAULT_I2C_BUS_SDA (&pin_PB02) #define DEFAULT_I2C_BUS_SDA (&pin_PB02)

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd51x20-bootloader-external-flash.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x8054 USB_PID = 0x8054
USB_PRODUCT = "PyPortal Titano" USB_PRODUCT = "PyPortal Titano"

View File

@ -10,10 +10,6 @@
#define MICROPY_PORT_B (0) #define MICROPY_PORT_B (0)
#define MICROPY_PORT_C (0) #define MICROPY_PORT_C (0)
#define CIRCUITPY_INTERNAL_NVM_SIZE 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define IGNORE_PIN_PA12 1 #define IGNORE_PIN_PA12 1
#define IGNORE_PIN_PA13 1 #define IGNORE_PIN_PA13 1
#define IGNORE_PIN_PA16 1 #define IGNORE_PIN_PA16 1

View File

@ -1,4 +1,3 @@
LD_FILE = boards/samd21x18-bootloader.ld
USB_VID = 0x239A USB_VID = 0x239A
USB_PID = 0x804C USB_PID = 0x804C
USB_PRODUCT = "PyRuler" USB_PRODUCT = "PyRuler"

View File

@ -17,13 +17,6 @@
#define MICROPY_PORT_B ( 0 ) #define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 ) #define MICROPY_PORT_C ( 0 )
// 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 256
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - CIRCUITPY_INTERNAL_NVM_SIZE)
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA23) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
@ -39,4 +32,3 @@
// USB is always used internally so skip the pin objects for it. // USB is always used internally so skip the pin objects for it.
#define IGNORE_PIN_PA24 1 #define IGNORE_PIN_PA24 1
#define IGNORE_PIN_PA25 1 #define IGNORE_PIN_PA25 1

Some files were not shown because too many files have changed in this diff Show More