Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Renode-based tests of Arduino examples #61

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

robertszczepanski
Copy link

This PR is a solution to #60.

It doesn't affect current CI workflow steps but there are few additional steps. After successfully building vanilla repository examples, CI patches them so that serial will be compatible with Renode platform and examples are built again. Next built binaries are tested in Renode with proper inputs.

robertszczepanski and others added 3 commits October 13, 2021 08:54
Signed-off-by: Robert Szczepanski <[email protected]>
Signed-off-by: Robert Szczepanski <[email protected]>
Signed-off-by: Wojciech Meller <[email protected]>
@robertszczepanski robertszczepanski requested review from advaitjain and a team as code owners October 13, 2021 07:03
@google-cla
Copy link

google-cla bot commented Oct 13, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Oct 13, 2021
@robertszczepanski
Copy link
Author

@googlebot I fixed it.

@google-cla google-cla bot added cla: yes and removed cla: no labels Oct 13, 2021

- name: Apply serial patch on tflite-micro
run: |
sed --in-place '/#define DEBUG_SERIAL_OBJECT/s/(Serial)/(Serial1)/' src/tensorflow/lite/micro/system_setup.cpp

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@advaitjain this is due to a limitation in Renode. Right now we do not support the USB output, but it is already implemented. We need to review it and release. So we treat this as a temporary workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants