-
Notifications
You must be signed in to change notification settings - Fork 3k
Restrict FPGA tests to Arduino form factor #10975
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
Restrict FPGA tests to Arduino form factor #10975
Conversation
Currently only the Arduino form factor is supported. Support for other form factors will be added in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI started |
Test run: SUCCESSSummary: 4 of 4 test jobs passed |
@@ -19,6 +19,8 @@ | |||
#error [NOT_SUPPORTED] Analog in not supported for this target | |||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD | |||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test | |||
#elif !TARGET_FF_ARDUINO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than !TARGET_FF_ARDUINO
this should be !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
. This macro is set whenever there is a valid form factor.
I added the alternate define in this branch: |
Build in the FPGA tests if either MBED_CONF_TARGET_DEFAULT_FORM_FACTOR or TARGET_FF_ARDUINO is defined.
Thanks @c1728p9. I cherry-picked your commit. This PR should be ready to go. |
CI started |
Test run: SUCCESSSummary: 4 of 4 test jobs passed |
Currently only the Arduino form factor is supported (support for other form factors will be added in the future).
This patch will prevent the compilation of greentea tests for targets with non-arduino form factors (or no form factos at all). In consequence, this patch will fix compilation errors for
EFM32GG11_STK3701
andTB_SENSE_12
whenFPGA_CI_TEST_SHIELD
component is added for all targets (#10965 (comment)).Description
Pull request type
Reviewers
@c1728p9 @mprse @maciejbocianski @jamesbeyond
Release Notes