From 65b220d1ddc15273073240311b890000eedeff8c Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Sat, 22 Jun 2019 20:41:07 -0700 Subject: [PATCH] Update config: accelerometer type in pybadge Also get random board ids for all arcades --- boards/arcade_pybadge/board_config.h | 4 ++-- boards/arcade_pybadge_lc/board_config.h | 2 +- boards/arcade_pygamer/board_config.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/arcade_pybadge/board_config.h b/boards/arcade_pybadge/board_config.h index 0ed70b05..0258dc45 100644 --- a/boards/arcade_pybadge/board_config.h +++ b/boards/arcade_pybadge/board_config.h @@ -76,7 +76,7 @@ const uint32_t config_data[] = { 60, 0x17, // PIN_JACK_TX = PIN_D13 65, 0x2, // PIN_JACK_SND = PIN_A0 69, 0x3ed, // PIN_BTN_SOFT_RESET = P_1005 - 70, 0x32, // ACCELEROMETER_TYPE = LIS3DH + 70, 0x30, // ACCELEROMETER_TYPE = 48 71, 0x20, // PIN_BTNMX_LATCH = PB00 72, 0x3f, // PIN_BTNMX_CLOCK = PB31 73, 0x3e, // PIN_BTNMX_DATA = PB30 @@ -99,7 +99,7 @@ const uint32_t config_data[] = { 200, 0x5, // NUM_NEOPIXELS = 5 204, 0x80000, // FLASH_BYTES = 0x80000 205, 0x30000, // RAM_BYTES = 0x30000 - 208, 0x18591ab9, // BOOTLOADER_BOARD_ID = 0x18591ab9 + 208, 0x75fdeb5f, // BOOTLOADER_BOARD_ID = 0x75fdeb5f 209, 0x55114460, // UF2_FAMILY = ATSAMD51 210, 0x20, // PINS_PORT_SIZE = PA_32 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/boards/arcade_pybadge_lc/board_config.h b/boards/arcade_pybadge_lc/board_config.h index 23ded4c2..c5312913 100644 --- a/boards/arcade_pybadge_lc/board_config.h +++ b/boards/arcade_pybadge_lc/board_config.h @@ -95,7 +95,7 @@ const uint32_t config_data[] = { 200, 0x1, // NUM_NEOPIXELS = 1 204, 0x80000, // FLASH_BYTES = 0x80000 205, 0x30000, // RAM_BYTES = 0x30000 - 208, 0x18591ab9, // BOOTLOADER_BOARD_ID = 0x18591ab9 + 208, 0x3f05ba69, // BOOTLOADER_BOARD_ID = 0x3f05ba69 209, 0x55114460, // UF2_FAMILY = ATSAMD51 210, 0x20, // PINS_PORT_SIZE = PA_32 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/boards/arcade_pygamer/board_config.h b/boards/arcade_pygamer/board_config.h index 7eba0752..4521aa73 100644 --- a/boards/arcade_pygamer/board_config.h +++ b/boards/arcade_pygamer/board_config.h @@ -99,7 +99,7 @@ const uint32_t config_data[] = { 200, 0x5, // NUM_NEOPIXELS = 5 204, 0x80000, // FLASH_BYTES = 0x80000 205, 0x30000, // RAM_BYTES = 0x30000 - 208, 0x18591ab9, // BOOTLOADER_BOARD_ID = 0x18591ab9 + 208, 0x2dd7a88c, // BOOTLOADER_BOARD_ID = 0x2dd7a88c 209, 0x55114460, // UF2_FAMILY = ATSAMD51 210, 0x20, // PINS_PORT_SIZE = PA_32 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,