Skip to content

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

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Add scope table #65

wants to merge 8 commits into from

Conversation

wxyyy0117
Copy link

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.

@wxyyy0117 wxyyy0117 requested a review from LinjingZhang August 7, 2025 15:27
@@ -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;
Copy link
Collaborator

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);
Copy link
Collaborator

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;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not used?

Copy link
Collaborator

@LinjingZhang LinjingZhang left a 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!

@jaenrig-ifx
Copy link
Member

Any reasons for this to be on hold?

Copy link
Member

@jaenrig-ifx jaenrig-ifx left a 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.

@wxyyy0117 wxyyy0117 marked this pull request as draft August 25, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants