libbsd select timeout issue

2020-11-02 Thread RUI Zhengxin
Hello everyone, We meet an issue of select function timeout drift in rtems-libbsd5.1. The select timeout can drift 1ms every 14000 seconds. Kernel put the select thread to sleep queue in sleepq_set_timeout_sbt, the expire value is calculated by this expire = (sbt - SBT_1S + sbt_per_tick

When to register termios devices?

2020-11-02 Thread Jan.Sommer
Hello, I try to register several termios devices in a custom BSP (based on RTEMS 5.1). I tried to do this in the bsp_start function, but this fails. My guess is, that it is because too early in the system initialization as the rtems_filesystem_umask is set, so that no device nodes can be added by

stm32h7 bsp - simple led blink example not working on stm32h7 nucleo board

2020-11-02 Thread John Nathen
Hi, I am new to rtems and am planning to use rtems on a project with the stm32h7 mcu. I cloned the latest sources from git and built the arm-rtems6, gcc 10.2 toolchain and also built the stm32h7 bsp using the new waf build system. Everything works fine and I can build the (modified for stm32h7) L