Added nucleo board description with properties in known_boards.rs 's files#131
Added nucleo board description with properties in known_boards.rs 's files#131vladagr-151107 wants to merge 3 commits into
Conversation
|
@eva-cosma hello! please check the PR when you'll have time, so that i know if i am moving in the correct direction and what mistakes I should correct. I am rewriting boards from board_interface.py. |
|
Only add nucleo u545 , since this is the board we have on hand. After we have the board we need to test it manually to see that tockloader functions |
|
@eva-cosma i've tested the commands and these are the logs I got listed below. It seems that there is some problem with info and error commands mentioned during running. Rest seems to be ok. Please check the log and let me know what do i need to fix.
vlada@fedora:~/tockloader-rs$ cargo run -p tockloader -- install --board nucleo-u545re-q |
|
I also checked the same commands on microbit-v2 to compare and install seems to fail there as well, however info one is ok. |
|
Make sure you installed tock properly. The probers issues marks a communication error. Try this as well Microbit v2 should work. If it does not please investigate. |
|
Did you not provide a tab file to the install command? Can you look why the tab file is not marked as required, it should have given you an error on clap's side. |
|
Okay, so I tested the install command of c_hello on the board and it works, even though it throws this warning using tockloader listen i receive hello world as i am supposed to. log will be displayed below: vlada@fedora:~/tockloader-rs$ cargo run -p tockloader -- install ~/libtock-c/examples/c_hello/build/c_hello.tab --board nucleo-u545re-q
thread 'main' (43044) panicked at tockloader-lib/src/command_impl/reshuffle_apps.rs:415:27: |
|
regarding the info, it seems that the board rejects to provide data to the computer. I don't know how to deal with it yet. cargo run -p tockloader -- info --board nucleo-u545re-q
thread 'main' (43149) panicked at tockloader-lib/src/command_impl/info.rs:12:68: |
|
Find the reasons for the crashes. These are not warnings, these are full on errors |
Pull Request Overview
TODO
This pull request still needs revision of work done.
Checks
Please tick off what you did, and specify what features you've tested on hardware.
Vlada Grushchenko vladagrushchenko@gmail.com