From 677ad50dfe95ba1991bfe4bf26c8d6ad1ca97a98 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Sun, 22 Oct 2023 17:18:53 -0300 Subject: [PATCH] boards: Rename shiftgame to brickmatch This patch will rename the shiftgame to brickmatch and will add support to initialize brickmatch automatically on esp32-devkitc. --- .../configs/{shiftgame => brickmatch}/defconfig | 2 +- .../configs/{shiftgame => brickmatch}/defconfig | 2 +- .../xtensa/esp32/esp32-devkitc/configs/brickmatch/defconfig | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) rename boards/arm/stm32/stm32f4discovery/configs/{shiftgame => brickmatch}/defconfig (98%) rename boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/{shiftgame => brickmatch}/defconfig (98%) diff --git a/boards/arm/stm32/stm32f4discovery/configs/shiftgame/defconfig b/boards/arm/stm32/stm32f4discovery/configs/brickmatch/defconfig similarity index 98% rename from boards/arm/stm32/stm32f4discovery/configs/shiftgame/defconfig rename to boards/arm/stm32/stm32f4discovery/configs/brickmatch/defconfig index 6dce163f4967c..214ab3189c6b2 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/shiftgame/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/brickmatch/defconfig @@ -28,7 +28,7 @@ CONFIG_EXAMPLES_FB_STACKSIZE=16000 CONFIG_EXAMPLES_HELLO=y CONFIG_FS_LARGEFILE=y CONFIG_FS_PROCFS=y -CONFIG_GAMES_SHIFT=y +CONFIG_GAMES_BRICKMATCH=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_INIT_ENTRYPOINT="nsh_main" diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/shiftgame/defconfig b/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/brickmatch/defconfig similarity index 98% rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/shiftgame/defconfig rename to boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/brickmatch/defconfig index f07f6c06259ff..f4f86c45d11d1 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/shiftgame/defconfig +++ b/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/brickmatch/defconfig @@ -40,7 +40,7 @@ CONFIG_ESP32C3_SPI2_MOSIPIN=5 CONFIG_ESP32C3_USBSERIAL=y CONFIG_EXAMPLES_FB=y CONFIG_FS_PROCFS=y -CONFIG_GAMES_SHIFT=y +CONFIG_GAMES_BRICKMATCH=y CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/brickmatch/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/brickmatch/defconfig index f964842f05832..4c28e14bd1205 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/brickmatch/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/brickmatch/defconfig @@ -17,6 +17,7 @@ CONFIG_ARCH_CHIP_ESP32=y CONFIG_ARCH_CHIP_ESP32WROVER=y CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_XTENSA=y +CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_DRIVERS_VIDEO=y @@ -26,11 +27,11 @@ CONFIG_ESP32_UART0=y CONFIG_EXAMPLES_APDS9960=y CONFIG_EXAMPLES_FB=y CONFIG_FS_PROCFS=y -CONFIG_GAMES_SHIFT=y +CONFIG_GAMES_BRICKMATCH=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_IDLETHREAD_STACKSIZE=3072 -CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INIT_ENTRYPOINT="brick_main" CONFIG_INTELHEX_BINARY=y CONFIG_LCD=y CONFIG_LCD_APA102=y