Github Action "CMake Config and build" fails after adding a new Board

Post here first, or if you can't find a relevant section!
Post Reply
SerFab
Posts: 1
Joined: Thu Apr 18, 2024 1:46 pm

Github Action "CMake Config and build" fails after adding a new Board

Post by SerFab »

Hi everyone!

I want to include a new Board into stm32duino and woul like to commit that as a Pull request.

I have an Issue with the Github actions. the action "CMake config and Build fails with the error message "KeyError: serial". When i run the Update_boarddb.py locally with the changed boards.txt, i can see that this error happens when the line

Code: Select all

MyBoards.menu.upload_method.serialMethod.upload.options={serial.port.file}
gets parsed.
I have Compared this to similar entries in the boards.txt file and can not see any difference that would cause this. Any help would be appreciated!

Edit:
The Line that throws this exception is line 44 in parse_boards.py:

Code: Select all

newv = self[k].format(**wrt)
Thanks,

SF
Post Reply

Return to “General discussion”