Skip to content

Commit

Permalink
BMS C1: Enable shell for USB serial port
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjaeger committed Sep 11, 2023
1 parent 6acc05b commit f110d83
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions app/boards/bms_c1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@ CONFIG_BT_L2CAP_TX_MTU=251

CONFIG_THINGSET_BLE=y

# Disable serial because the USB serial does not work very well for high throughput
CONFIG_THINGSET_SERIAL=n
CONFIG_SHELL=y
# Avoid conflicts with ThingSet ? command
CONFIG_SHELL_WILDCARD=n
# Support `select thingset` to run ThingSet requests directly
CONFIG_SHELL_CMDS_SELECT=y

CONFIG_THINGSET_SHELL=y
CONFIG_THINGSET_SHELL_REPORTING=n
2 changes: 1 addition & 1 deletion boards/riscv/bms_c1/bms_16s100_sc_esp32c3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
zephyr,shell-uart = &usb_serial;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
thingset,serial = &usb_serial;
thingset,serial = &uart0;
};

leds {
Expand Down
2 changes: 1 addition & 1 deletion boards/riscv/bms_c1/bms_c1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
thingset,can = &twai;
thingset,serial = &usb_serial;
thingset,serial = &uart0;
};

leds {
Expand Down

0 comments on commit f110d83

Please sign in to comment.