[WIP] Fixes to compile using DOCKER and flash boards without local toolchain#10870
[WIP] Fixes to compile using DOCKER and flash boards without local toolchain#10870cladmi wants to merge 1 commit intoRIOT-OS:masterfrom
Conversation
01b823b to
a73209b
Compare
a73209b to
f2ee6a9
Compare
1f40d46 to
00e3607
Compare
9e32368 to
219f22c
Compare
|
I found out that flashing I do not blame the firmware but the flasher that does not handle flashing in some state. |
|
The issue with the |
|
And I can recover the board by flashing using the drag-and-drop mode. |
8e5854f to
754139c
Compare
2aa77a0 to
97165ec
Compare
caeda25 to
fa4dec3
Compare
fa4dec3 to
9691e03
Compare
0fcbcc1 to
6351f58
Compare
d9fea6f to
9d440eb
Compare
This allows flashing using `esptool.py` install from pip. The documentation already state that `esptool.py` must be put available in the path and that it is possible to use the `pip` version.
|
Rebased to current master so https://ci-ilab.imp.fu-berlin.de works again with 9080893 being merged (not sure this PR is still necessary with that change though) |
If not, maybe someone from @riot-appstore can make sure that the rebase to this PR does not happen anymore at the builds there. Not sure I have the administrative rights for that. |
|
Still doesn't work with the current config. I can't reproduce the merge conflict there with my local machine anymore though. |
Contribution description
I am working to run https://github.com/RIOT-OS/RIOT/blob/master/dist/tools/compile_and_test_for_board/compile_and_test_for_board.py on a machine with several boards connected and without local board specific toolchain installed. It only has some native compilation tools, relies on docker for building, has local flashers and python dependencies for running the tests.
This branch follows all the changes I found I needed to achieve this. The goal is not to merge this but to be split in several dedicated PRs.
Feel free to split some commits out of here if you want them before I do a dedicated PR.
Current boards being tested
arduino-mega2560 frdm-k64f frdm-kw41z msba2 mulle nrf52dk pba-d-01-kw2x sltb001a stm32f3discoverySub pull requests
Not a fix, but to be in a closer setup to the RIOT CI and ready to use in the future:
Open issues
Testing procedure
Compile, flash and test for some boards without any toolchain installed on your machine except the one needed to build flashers, objdump/objcopy, docker.
Issues/PRs references
Preparing a test setup for the release tests and different weekly ci testing in general.
#10857
makefiles/toolchain: fix command -v multiple commands #10889pyterm: use python3 by default #10992