Hello, > Sounds like the console device is in RAW mode. For proper NSH behavior, > the console TTY must be configured in COOKED mode. That configuration > should occur automatically if the uart was configured as the serial > console. I suppose that could use the termios interfaces to force > COOKED mode, but should not be necessary. >
I found my bug thanks to your help :) "CONSOLE_DEV.isconsole" wasn't set to true because there was a typo in my ifdef in the arm_earlyserialinit() function. The console however was properly registered in arm_serialinit() (no typo here) so that's why it was visible in /dev folder. Thank you again for your help ! Best regards, -- Philippe