Skip to content

Commit

Permalink
[Fix][tty]:fix tty remap error
Browse files Browse the repository at this point in the history
  • Loading branch information
Peize-Liu committed Mar 20, 2024
1 parent 1709445 commit c0ccb2f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions boards/hkust/nxt-dual/default.px4board
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CONFIG_BOARD_TOOLCHAIN="arm-none-eabi"
CONFIG_BOARD_ARCHITECTURE="cortex-m7"
CONFIG_BOARD_SERIAL_GPS1="/dev/ttyS0"
CONFIG_BOARD_SERIAL_GPS2="/dev/ttyS1"
CONFIG_BOARD_SERIAL_TEL1="/dev/ttyS2"
CONFIG_BOARD_SERIAL_GPS2="/dev/ttyS2"
CONFIG_BOARD_SERIAL_TEL1="/dev/ttyS1"
CONFIG_BOARD_SERIAL_TEL2="/dev/ttyS3"
CONFIG_BOARD_SERIAL_RC="/dev/ttyS4"
CONFIG_BOARD_SERIAL_TEL3="/dev/ttyS6"
Expand Down
12 changes: 6 additions & 6 deletions boards/hkust/nxt-dual/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@
#define BOARD_HAS_ON_RESET 1

#define PX4_GPIO_INIT_LIST { \
PX4_ADC_GPIO, \
GPIO_TONE_ALARM_IDLE, \
GPIO_SPL_ADDR_SET, \
GPIO_PC0, \
GPIO_PC1, \
}
PX4_ADC_GPIO, \
GPIO_TONE_ALARM_IDLE, \
GPIO_SPL_ADDR_SET, \
GPIO_PC0, \
GPIO_PC1, \
}

#define BOARD_ENABLE_CONSOLE_BUFFER

Expand Down
6 changes: 3 additions & 3 deletions boards/hkust/nxt-v1/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@
#define BOARD_HAS_ON_RESET 1

#define PX4_GPIO_INIT_LIST { \
PX4_ADC_GPIO, \
GPIO_TONE_ALARM_IDLE, \
}
PX4_ADC_GPIO, \
GPIO_TONE_ALARM_IDLE, \
}

#define BOARD_ENABLE_CONSOLE_BUFFER

Expand Down

0 comments on commit c0ccb2f

Please sign in to comment.