From aba11ce920524ede21a8d2142e17591fa0ac5b5f Mon Sep 17 00:00:00 2001 From: tanja Date: Mon, 12 Dec 2022 17:08:49 +0100 Subject: [PATCH] rename all instances of serial PPB to EXT2 --- Tools/serial/generate_config.py | 6 +++--- boards/px4/fmu-v5x/default.px4board | 2 +- boards/sky-drones/smartap-airlink/default.px4board | 2 +- cmake/kconfig.cmake | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tools/serial/generate_config.py b/Tools/serial/generate_config.py index 84a9c342aa..099091dfe4 100755 --- a/Tools/serial/generate_config.py +++ b/Tools/serial/generate_config.py @@ -136,9 +136,9 @@ serial_ports = { "default_baudrate": 1, # set default to an unusable value to detect that this serial port has not been configured }, - # Pixhawk Payload Bus - "PPB": { - "label": "Pixhawk Payload Bus", + # EXT2 + "EXT2": { + "label": "EXT2", "index": 401, "default_baudrate": 57600, }, diff --git a/boards/px4/fmu-v5x/default.px4board b/boards/px4/fmu-v5x/default.px4board index 09b04fbcd6..d6042debef 100644 --- a/boards/px4/fmu-v5x/default.px4board +++ b/boards/px4/fmu-v5x/default.px4board @@ -6,7 +6,7 @@ CONFIG_BOARD_SERIAL_GPS2="/dev/ttyS7" CONFIG_BOARD_SERIAL_TEL1="/dev/ttyS6" CONFIG_BOARD_SERIAL_TEL2="/dev/ttyS4" CONFIG_BOARD_SERIAL_TEL3="/dev/ttyS1" -CONFIG_BOARD_SERIAL_PPB="/dev/ttyS3" +CONFIG_BOARD_SERIAL_EXT2="/dev/ttyS3" CONFIG_DRIVERS_ADC_ADS1115=y CONFIG_DRIVERS_ADC_BOARD_ADC=y CONFIG_DRIVERS_BAROMETER_BMP388=y diff --git a/boards/sky-drones/smartap-airlink/default.px4board b/boards/sky-drones/smartap-airlink/default.px4board index 6d4ae08ccf..b0f31c0282 100644 --- a/boards/sky-drones/smartap-airlink/default.px4board +++ b/boards/sky-drones/smartap-airlink/default.px4board @@ -6,7 +6,7 @@ CONFIG_BOARD_SERIAL_GPS2="/dev/ttyS7" CONFIG_BOARD_SERIAL_TEL1="/dev/ttyS6" CONFIG_BOARD_SERIAL_TEL2="/dev/ttyS4" CONFIG_BOARD_SERIAL_TEL3="/dev/ttyS1" -CONFIG_BOARD_SERIAL_PPB="/dev/ttyS3" +CONFIG_BOARD_SERIAL_EXT2="/dev/ttyS3" CONFIG_DRIVERS_ADC_BOARD_ADC=y CONFIG_COMMON_BAROMETERS=y CONFIG_DRIVERS_BATT_SMBUS=y diff --git a/cmake/kconfig.cmake b/cmake/kconfig.cmake index 37b500e284..b27213107f 100644 --- a/cmake/kconfig.cmake +++ b/cmake/kconfig.cmake @@ -301,8 +301,8 @@ if(EXISTS ${BOARD_DEFCONFIG}) if(SERIAL_WIFI) list(APPEND board_serial_ports WIFI:${SERIAL_WIFI}) endif() - if(SERIAL_PPB) - list(APPEND board_serial_ports PPB:${SERIAL_PPB}) + if(SERIAL_EXT2) + list(APPEND board_serial_ports EXT2:${SERIAL_EXT2}) endif()