From 79eb28ee958d56a69ab78828cc2b85dde774fb61 Mon Sep 17 00:00:00 2001 From: Peter van der Perk Date: Thu, 31 Oct 2024 21:10:07 +0100 Subject: [PATCH] Tropic-community: Rename board --- .vscode/cmake-variants.yaml | 6 +++--- boards/nxp/{tropic => tropic-community}/cmake/upload.cmake | 0 boards/nxp/{tropic => tropic-community}/default.px4board | 0 boards/nxp/{tropic => tropic-community}/firmware.prototype | 4 ++-- .../nxp/{tropic => tropic-community}/init/rc.board_defaults | 0 .../nxp/{tropic => tropic-community}/init/rc.board_mavlink | 2 +- .../nxp/{tropic => tropic-community}/init/rc.board_sensors | 2 +- .../nxp/{tropic => tropic-community}/nuttx-config/Kconfig | 0 .../nuttx-config/include/board.h | 2 +- .../{tropic => tropic-community}/nuttx-config/nsh/defconfig | 4 ++-- .../nuttx-config/scripts/itcm_functions_includes.ld | 0 .../nuttx-config/scripts/itcm_static_functions.ld | 0 .../nuttx-config/scripts/script.ld | 0 boards/nxp/{tropic => tropic-community}/src/CMakeLists.txt | 0 boards/nxp/{tropic => tropic-community}/src/board_config.h | 2 +- boards/nxp/{tropic => tropic-community}/src/i2c.cpp | 0 .../src/imxrt_flexspi_nor_boot.c | 0 .../src/imxrt_flexspi_nor_boot.h | 0 .../src/imxrt_flexspi_nor_flash.c | 0 .../src/imxrt_flexspi_nor_flash.h | 0 boards/nxp/{tropic => tropic-community}/src/init.c | 0 boards/nxp/{tropic => tropic-community}/src/sdhc.c | 0 boards/nxp/{tropic => tropic-community}/src/spi.cpp | 0 .../nxp/{tropic => tropic-community}/src/timer_config.cpp | 0 .../nxp/{tropic => tropic-community}/src/tropic_led_pwm.cpp | 0 boards/nxp/{tropic => tropic-community}/src/usb.c | 0 26 files changed, 11 insertions(+), 11 deletions(-) rename boards/nxp/{tropic => tropic-community}/cmake/upload.cmake (100%) rename boards/nxp/{tropic => tropic-community}/default.px4board (100%) rename boards/nxp/{tropic => tropic-community}/firmware.prototype (67%) rename boards/nxp/{tropic => tropic-community}/init/rc.board_defaults (100%) rename boards/nxp/{tropic => tropic-community}/init/rc.board_mavlink (61%) rename boards/nxp/{tropic => tropic-community}/init/rc.board_sensors (97%) rename boards/nxp/{tropic => tropic-community}/nuttx-config/Kconfig (100%) rename boards/nxp/{tropic => tropic-community}/nuttx-config/include/board.h (99%) rename boards/nxp/{tropic => tropic-community}/nuttx-config/nsh/defconfig (97%) rename boards/nxp/{tropic => tropic-community}/nuttx-config/scripts/itcm_functions_includes.ld (100%) rename boards/nxp/{tropic => tropic-community}/nuttx-config/scripts/itcm_static_functions.ld (100%) rename boards/nxp/{tropic => tropic-community}/nuttx-config/scripts/script.ld (100%) rename boards/nxp/{tropic => tropic-community}/src/CMakeLists.txt (100%) rename boards/nxp/{tropic => tropic-community}/src/board_config.h (99%) rename boards/nxp/{tropic => tropic-community}/src/i2c.cpp (100%) rename boards/nxp/{tropic => tropic-community}/src/imxrt_flexspi_nor_boot.c (100%) rename boards/nxp/{tropic => tropic-community}/src/imxrt_flexspi_nor_boot.h (100%) rename boards/nxp/{tropic => tropic-community}/src/imxrt_flexspi_nor_flash.c (100%) rename boards/nxp/{tropic => tropic-community}/src/imxrt_flexspi_nor_flash.h (100%) rename boards/nxp/{tropic => tropic-community}/src/init.c (100%) rename boards/nxp/{tropic => tropic-community}/src/sdhc.c (100%) rename boards/nxp/{tropic => tropic-community}/src/spi.cpp (100%) rename boards/nxp/{tropic => tropic-community}/src/timer_config.cpp (100%) rename boards/nxp/{tropic => tropic-community}/src/tropic_led_pwm.cpp (100%) rename boards/nxp/{tropic => tropic-community}/src/usb.c (100%) diff --git a/.vscode/cmake-variants.yaml b/.vscode/cmake-variants.yaml index 01c6186a0a5e..bf42ea74f463 100644 --- a/.vscode/cmake-variants.yaml +++ b/.vscode/cmake-variants.yaml @@ -356,11 +356,11 @@ CONFIG: buildType: MinSizeRel settings: CONFIG: nxp_mr-canhubk3_fmu - nxp_tropic_default: - short: nxp_tropic_default + nxp_tropic-community_default: + short: nxp_tropic-community_default buildType: MinSizeRel settings: - CONFIG: nxp_tropic_default + CONFIG: nxp_tropic-community_default raspberrypi_pico_default: short: raspberrypi_pico buildType: MinSizeRel diff --git a/boards/nxp/tropic/cmake/upload.cmake b/boards/nxp/tropic-community/cmake/upload.cmake similarity index 100% rename from boards/nxp/tropic/cmake/upload.cmake rename to boards/nxp/tropic-community/cmake/upload.cmake diff --git a/boards/nxp/tropic/default.px4board b/boards/nxp/tropic-community/default.px4board similarity index 100% rename from boards/nxp/tropic/default.px4board rename to boards/nxp/tropic-community/default.px4board diff --git a/boards/nxp/tropic/firmware.prototype b/boards/nxp/tropic-community/firmware.prototype similarity index 67% rename from boards/nxp/tropic/firmware.prototype rename to boards/nxp/tropic-community/firmware.prototype index 4961e5fe2460..3e156fbd4885 100644 --- a/boards/nxp/tropic/firmware.prototype +++ b/boards/nxp/tropic-community/firmware.prototype @@ -1,10 +1,10 @@ { "board_id": 36, "magic": "PX4FWv1", - "description": "Firmware for the TROPIC board", + "description": "Firmware for the TROPIC Community board", "image": "", "build_time": 0, - "summary": "TROPIC", + "summary": "TROPIC Community", "version": "0.1", "image_size": 0, "image_maxsize": 0, diff --git a/boards/nxp/tropic/init/rc.board_defaults b/boards/nxp/tropic-community/init/rc.board_defaults similarity index 100% rename from boards/nxp/tropic/init/rc.board_defaults rename to boards/nxp/tropic-community/init/rc.board_defaults diff --git a/boards/nxp/tropic/init/rc.board_mavlink b/boards/nxp/tropic-community/init/rc.board_mavlink similarity index 61% rename from boards/nxp/tropic/init/rc.board_mavlink rename to boards/nxp/tropic-community/init/rc.board_mavlink index 7aeac635593b..d789d908e8f2 100644 --- a/boards/nxp/tropic/init/rc.board_mavlink +++ b/boards/nxp/tropic-community/init/rc.board_mavlink @@ -1,4 +1,4 @@ #!/bin/sh # -# NXP Tropic specific board MAVLink startup script. +# Tropic Community specific board MAVLink startup script. #------------------------------------------------------------------------------ diff --git a/boards/nxp/tropic/init/rc.board_sensors b/boards/nxp/tropic-community/init/rc.board_sensors similarity index 97% rename from boards/nxp/tropic/init/rc.board_sensors rename to boards/nxp/tropic-community/init/rc.board_sensors index 88cf1adb4119..f6bcb1a8fac3 100644 --- a/boards/nxp/tropic/init/rc.board_sensors +++ b/boards/nxp/tropic-community/init/rc.board_sensors @@ -3,7 +3,7 @@ # PX4 board sensors init #------------------------------------------------------------------------------ # -# UART mapping on Tropic: +# UART mapping on Tropic Community: # # LPUART5 /dev/ttyS0 CONSOLE # LPUART3 /dev/ttyS1 GPS diff --git a/boards/nxp/tropic/nuttx-config/Kconfig b/boards/nxp/tropic-community/nuttx-config/Kconfig similarity index 100% rename from boards/nxp/tropic/nuttx-config/Kconfig rename to boards/nxp/tropic-community/nuttx-config/Kconfig diff --git a/boards/nxp/tropic/nuttx-config/include/board.h b/boards/nxp/tropic-community/nuttx-config/include/board.h similarity index 99% rename from boards/nxp/tropic/nuttx-config/include/board.h rename to boards/nxp/tropic-community/nuttx-config/include/board.h index c8af099bcf9f..21ded1ea38b7 100644 --- a/boards/nxp/tropic/nuttx-config/include/board.h +++ b/boards/nxp/tropic-community/nuttx-config/include/board.h @@ -1,5 +1,5 @@ /************************************************************************************ - * nuttx-configs/nxp_tropic/include/board.h + * nuttx-configs/nxp/nxp_tropic-community/include/board.h * * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt diff --git a/boards/nxp/tropic/nuttx-config/nsh/defconfig b/boards/nxp/tropic-community/nuttx-config/nsh/defconfig similarity index 97% rename from boards/nxp/tropic/nuttx-config/nsh/defconfig rename to boards/nxp/tropic-community/nuttx-config/nsh/defconfig index 802c6c57f3ec..db4942dd9af0 100644 --- a/boards/nxp/tropic/nuttx-config/nsh/defconfig +++ b/boards/nxp/tropic-community/nuttx-config/nsh/defconfig @@ -11,7 +11,7 @@ # CONFIG_SPI_CALLBACK is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD_CUSTOM=y -CONFIG_ARCH_BOARD_CUSTOM_DIR="../../../../boards/nxp/tropic/nuttx-config" +CONFIG_ARCH_BOARD_CUSTOM_DIR="../../../../boards/nxp/tropic-community/nuttx-config" CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y CONFIG_ARCH_BOARD_CUSTOM_NAME="px4" CONFIG_ARCH_CHIP="imxrt" @@ -36,7 +36,7 @@ CONFIG_BUILTIN=y CONFIG_CDCACM=y CONFIG_CDCACM_BULKIN_REQLEN=96 CONFIG_CDCACM_PRODUCTID=0x0024 -CONFIG_CDCACM_PRODUCTSTR="PX4 TROPIC" +CONFIG_CDCACM_PRODUCTSTR="PX4 TROPIC Community" CONFIG_CDCACM_RXBUFSIZE=600 CONFIG_CDCACM_TXBUFSIZE=12000 CONFIG_CDCACM_VENDORID=0x1FC9 diff --git a/boards/nxp/tropic/nuttx-config/scripts/itcm_functions_includes.ld b/boards/nxp/tropic-community/nuttx-config/scripts/itcm_functions_includes.ld similarity index 100% rename from boards/nxp/tropic/nuttx-config/scripts/itcm_functions_includes.ld rename to boards/nxp/tropic-community/nuttx-config/scripts/itcm_functions_includes.ld diff --git a/boards/nxp/tropic/nuttx-config/scripts/itcm_static_functions.ld b/boards/nxp/tropic-community/nuttx-config/scripts/itcm_static_functions.ld similarity index 100% rename from boards/nxp/tropic/nuttx-config/scripts/itcm_static_functions.ld rename to boards/nxp/tropic-community/nuttx-config/scripts/itcm_static_functions.ld diff --git a/boards/nxp/tropic/nuttx-config/scripts/script.ld b/boards/nxp/tropic-community/nuttx-config/scripts/script.ld similarity index 100% rename from boards/nxp/tropic/nuttx-config/scripts/script.ld rename to boards/nxp/tropic-community/nuttx-config/scripts/script.ld diff --git a/boards/nxp/tropic/src/CMakeLists.txt b/boards/nxp/tropic-community/src/CMakeLists.txt similarity index 100% rename from boards/nxp/tropic/src/CMakeLists.txt rename to boards/nxp/tropic-community/src/CMakeLists.txt diff --git a/boards/nxp/tropic/src/board_config.h b/boards/nxp/tropic-community/src/board_config.h similarity index 99% rename from boards/nxp/tropic/src/board_config.h rename to boards/nxp/tropic-community/src/board_config.h index 2b77019ff63a..cef895ab6cd3 100644 --- a/boards/nxp/tropic/src/board_config.h +++ b/boards/nxp/tropic-community/src/board_config.h @@ -34,7 +34,7 @@ /** * @file board_config.h * - * NXP Tropic internal definitions + * Tropic Community internal definitions */ #pragma once diff --git a/boards/nxp/tropic/src/i2c.cpp b/boards/nxp/tropic-community/src/i2c.cpp similarity index 100% rename from boards/nxp/tropic/src/i2c.cpp rename to boards/nxp/tropic-community/src/i2c.cpp diff --git a/boards/nxp/tropic/src/imxrt_flexspi_nor_boot.c b/boards/nxp/tropic-community/src/imxrt_flexspi_nor_boot.c similarity index 100% rename from boards/nxp/tropic/src/imxrt_flexspi_nor_boot.c rename to boards/nxp/tropic-community/src/imxrt_flexspi_nor_boot.c diff --git a/boards/nxp/tropic/src/imxrt_flexspi_nor_boot.h b/boards/nxp/tropic-community/src/imxrt_flexspi_nor_boot.h similarity index 100% rename from boards/nxp/tropic/src/imxrt_flexspi_nor_boot.h rename to boards/nxp/tropic-community/src/imxrt_flexspi_nor_boot.h diff --git a/boards/nxp/tropic/src/imxrt_flexspi_nor_flash.c b/boards/nxp/tropic-community/src/imxrt_flexspi_nor_flash.c similarity index 100% rename from boards/nxp/tropic/src/imxrt_flexspi_nor_flash.c rename to boards/nxp/tropic-community/src/imxrt_flexspi_nor_flash.c diff --git a/boards/nxp/tropic/src/imxrt_flexspi_nor_flash.h b/boards/nxp/tropic-community/src/imxrt_flexspi_nor_flash.h similarity index 100% rename from boards/nxp/tropic/src/imxrt_flexspi_nor_flash.h rename to boards/nxp/tropic-community/src/imxrt_flexspi_nor_flash.h diff --git a/boards/nxp/tropic/src/init.c b/boards/nxp/tropic-community/src/init.c similarity index 100% rename from boards/nxp/tropic/src/init.c rename to boards/nxp/tropic-community/src/init.c diff --git a/boards/nxp/tropic/src/sdhc.c b/boards/nxp/tropic-community/src/sdhc.c similarity index 100% rename from boards/nxp/tropic/src/sdhc.c rename to boards/nxp/tropic-community/src/sdhc.c diff --git a/boards/nxp/tropic/src/spi.cpp b/boards/nxp/tropic-community/src/spi.cpp similarity index 100% rename from boards/nxp/tropic/src/spi.cpp rename to boards/nxp/tropic-community/src/spi.cpp diff --git a/boards/nxp/tropic/src/timer_config.cpp b/boards/nxp/tropic-community/src/timer_config.cpp similarity index 100% rename from boards/nxp/tropic/src/timer_config.cpp rename to boards/nxp/tropic-community/src/timer_config.cpp diff --git a/boards/nxp/tropic/src/tropic_led_pwm.cpp b/boards/nxp/tropic-community/src/tropic_led_pwm.cpp similarity index 100% rename from boards/nxp/tropic/src/tropic_led_pwm.cpp rename to boards/nxp/tropic-community/src/tropic_led_pwm.cpp diff --git a/boards/nxp/tropic/src/usb.c b/boards/nxp/tropic-community/src/usb.c similarity index 100% rename from boards/nxp/tropic/src/usb.c rename to boards/nxp/tropic-community/src/usb.c