-
Notifications
You must be signed in to change notification settings - Fork 3
Add scope table #65
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
base: main
Are you sure you want to change the base?
Add scope table #65
Conversation
@@ -88,7 +88,7 @@ TEST_IFX(analogio_adc, test_adc_read_default_vdda_vref_pin) | |||
{ | |||
analogReference(DEFAULT); | |||
int adc_value = analogRead(TEST_PIN_ANALOG_IO_VREF); | |||
int expected_value = TEST_ADC_RESOLUTION; | |||
int expected_value = ADC_RESOLUTION; |
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.
Please do not change the name TEST_ADC_RESOLUTION in the file here because this is needed for PSOC. Instead you could define in the test_config.h file
#define TEST_ADC_RESOLUTION ADC_RESOLUTION
@@ -226,8 +185,6 @@ TEST_GROUP_RUNNER(pulse_board1) { | |||
|
|||
RUN_TEST_CASE(pulse_board1, test_high_pulse_duration); | |||
RUN_TEST_CASE(pulse_board1, test_low_pulse_duration); | |||
RUN_TEST_CASE(pulse_board1, test_high_pulse_long_duration); | |||
RUN_TEST_CASE(pulse_board1, test_low_pulse_long_duration); | |||
RUN_TEST_CASE(pulse_board1, test_pulse_timeout); |
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.
Why are these tests removed? In case you want to exclude it for xmc please use compiler switch instead.
@@ -18,6 +18,8 @@ | |||
#define TONE_PIN_OUTPUT TEST_PIN_DIGITAL_IO_OUTPUT | |||
#define TONE_PIN_FEEDBACK TEST_PIN_DIGITAL_IO_INPUT | |||
|
|||
typedef int PinStatus; |
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.
Not used?
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.
Hi Xinyan,
Please revert the change to test itself and only commit the README.
And The best will be set this PR to draft.
Thanks!
Any reasons for this to be on hold? |
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.
Additional files added! Remove.
Signed-off-by: Eder Julian <[email protected]>
This reverts commit 5866d18.
This reverts commit 5866d18.
46f0778
to
a809cff
Compare
By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
Added a scope table in readme, showing if the tests are valid for different xmc versions and microcontrollers. Also fixed small bugs to enable tests.