Luca Zizolfichanged title from Oniro Zephyr-phylosophe image deosn't work on Arduino board to Oniro Zephyr-phylosopher image deosn't work on Arduino board
changed title from Oniro Zephyr-phylosophe image deosn't work on Arduino board to Oniro Zephyr-phylosopher image deosn't work on Arduino board
Luca Favarettochanged title from Oniro Zephyr-phylosopher image deosn't work on Arduino board to Oniro Zephyr-phylosopher image doesn't work on Arduino board
changed title from Oniro Zephyr-phylosopher image deosn't work on Arduino board to Oniro Zephyr-phylosopher image doesn't work on Arduino board
Update: I have checked current codebase v1.0.0-rc-688-g3b94a80
And I confirm the philosophers is starting but working on UART0.
This mean you need an extra USB/Serial adapter to connect to console, on flash application will start (no need to reset)
screen -U /dev/ttyUSB0 115200Philosopher 0 [P: 3] STARVING Philosopher 1 [P: 2] HOLDING ONE FORK Philosopher 2 [P: 1] EATING [ 325 ms ] Philosopher 3 [P: 0] STARVING Philosopher 4 [C:-1] THINKING [ 525 ms ] Philosopher 5 [C:-2] EATING [ 625 ms ] Demo Description----------------An implementation of a solution to the Dining Philosophersproblem (a classic multi-thread synchronization problem).This particular implementation demonstrates the usage of multiplepreemptible and cooperative threads of differing priorities, aswell as dynamic mutexes and thread sleeping.
For the record enabling UART0 require CONFIG_UART_CONSOLE=y to be set in configuration
To use it you need USB/UART adapter wired this way:
G x R T +-o-(...)-o-o-o-o-o-+ USB =| ArduinoNano BLE S | +-o-(...)-o-o-o-o-o-+