Skip to content

Commit d97512d

Browse files
committed
tests: Modified pin configuration.
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
1 parent fc84100 commit d97512d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tests/test_config.h

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
#define SPI_TRANSFER_DELAY_US 2000
1919
// Test Pin Definitions
20-
#define TEST_PIN_DIGITAL_IO_OUTPUT 3 // IO_4
21-
#define TEST_PIN_DIGITAL_IO_INPUT 2 // IO_3
22-
#define TEST_PIN_SYNC_IO 4 // IO_1
23-
#define TEST_PIN_PULSE 5 // IO_2
24-
#define TEST_PIN_SPI_SSEL 10 // IO_0
20+
#define TEST_PIN_SYNC_IO 4 // IO_1
21+
#define TEST_PIN_SPI_SSEL 10 // IO_0
2522
#define TEST_PIN_ONEWIRE 7
2623

2724
#if defined(KIT_XMC47_RELAX)
25+
#define TEST_PIN_DIGITAL_IO_OUTPUT 3 // IO_4
26+
#define TEST_PIN_DIGITAL_IO_INPUT 2 // IO_3
27+
#define TEST_PIN_PULSE 5 // IO_2
2828
#define PWM_FREQUENCY_HZ 490 // PWM Frequency in Hz
2929
#define TEST_PIN_ANALOG_IO_VREF A2 // Pin connected to Vdd
3030
#define TEST_PIN_ANALOG_IO_DIVIDER A1 // Pin connected to voltage divider
@@ -35,6 +35,11 @@
3535
#define TEST_PIN_ANALOG_IO_DAC 53
3636
#define TEST_PIN_ANALOG_IO_DAC_INPUT A3
3737

38+
#elif defined(KIT_XMC1400_ARDUINO)
39+
#define TEST_PIN_DIGITAL_IO_OUTPUT 4
40+
#define TEST_PIN_DIGITAL_IO_INPUT 25
41+
#define TEST_PIN_PULSE 6 // IO_2
42+
3843
#elif defined(KIT_XMC14_2GO)
3944
#define PWM_FREQUENCY_HZ 490 // PWM Frequency in Hz
4045
#define TEST_PIN_ANALOG_IO_VREF A0 // Pin connected to Vdd

0 commit comments

Comments
 (0)