Hi !
Today I was playing with thingset, trying to have a cdc acm running with serial mode in binary mode.
I could not figure it out.
This is my overlay :
/ {
chosen {
zephyr,console = &cdc_acm_uart0;
thingset,serial = &cdc_acm_uart1;
thingset,can = &fdcan2;
};
};
zephyr_udc0: &usb {
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
pinctrl-names = "default";
status = "okay";
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
};
cdc_acm_uart1: cdc_acm_uart1 {
compatible = "zephyr,cdc-acm-uart";
};
};
My .conf
CONFIG_SERIAL=y
CONFIG_THINGSET=y
CONFIG_THINGSET_SDK=y
CONFIG_THINGSET_SERIAL=y
CONFIG_THINGSET_TEXT_MODE=n
CONFIG_THINGSET_SUBSET_LIVE_METRICS=n
I'm testing by doing :
echo -ne '\x05\x81\x05' > /dev/ttyACM1
cat /dev/ttyACM1 | hexdump -C
No luck so far. Am I missing something ?
Hi !
Today I was playing with thingset, trying to have a cdc acm running with serial mode in binary mode.
I could not figure it out.
This is my overlay :
My
.confI'm testing by doing :
No luck so far. Am I missing something ?