Hello,

I am working with busybox 1.35.0 on a yocto based embedded linux system. The 
linux system communicates with another microcontroller over a serial RS485 
interface using slip protocol. Part of bringing up the slip network interface 
involves running the slattach​ command. I have added support for the slattach​ 
command to busybox by extending the configuration with CONFIG_SLATTACH=y​ and 
CONFIG_FEATURE_IFCONFIG_SLIP=y​. When I run this comand, it results in the 
usage being printed out, suggesting that I am using the command incorrectly. My 
usage is as follows:

slattach -L -F -p slip -s 115200 /dev/ttyUSB0

The output of running this command is:

Usage: slattach [-ehlLmnqv] [-k keepalive] [-o outfill] [-c cmd] [-s speed] [-p 
protocol] tty | -
       slattach -V | --version

One thing that confuses me here is the flags being printed out by usage do not 
match what is mentioned in the slattach.c​ source file for the busybox 1.35.0 
tarball that bitbake downloads from 
https://busybox.net/downloads/busybox-1.35.0.tar.bz. The usage mentioned in the 
source code suggests that the flags being passed above are all supported. 
Bitbake is not applying any patches or configuration changes that should 
influence this.

I must be missing something. Any idea what that might be?

Regards,
~ Maxwell




_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to