Skip to content

Commit 4745b1e

Browse files
committed
tests: Added one wire pin number.
Signed-off-by: MDin <[email protected]>
1 parent 76461e6 commit 4745b1e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

tests/test_config.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#define SPI_TRANSFER_DELAY_US 2000
1919
// Test Pin Definitions
2020
#define TEST_PIN_SPI_SSEL 10 // IO_0
21-
#define TEST_PIN_ONEWIRE 7
2221

2322
#if defined(KIT_XMC47_RELAX)
2423
#define TEST_PIN_DIGITAL_IO_OUTPUT 3 // IO_4
@@ -31,7 +30,7 @@
3130
#define TEST_PIN_ANALOG_IO_GND A0 // Pin connected to Ground
3231
#define TEST_ADC_MAX_VALUE 1023
3332
#define TEST_ADC_RESOLUTION 10 // ADC resolution
34-
33+
#define TEST_PIN_ONEWIRE 7
3534
#define TEST_PIN_ANALOG_IO_DAC 53
3635
#define TEST_PIN_ANALOG_IO_DAC_INPUT A3
3736
static const float test_pwm_frequencies[] = {1, 50, 5000, 50000};
@@ -40,7 +39,7 @@ static const float test_pwm_frequencies[] = {1, 50, 5000, 50000};
4039
#define TEST_PIN_DIGITAL_IO_INPUT 25
4140
#define TEST_PIN_PULSE 6
4241
#define TEST_PIN_SYNC_IO 5 // IO_1
43-
42+
#define TEST_PIN_ONEWIRE 7
4443
#define PWM_FREQUENCY_HZ 490 // PWM Frequency in Hz
4544
#define TEST_PIN_ANALOG_IO_VREF A2 // Pin connected to Vdd
4645
#define TEST_PIN_ANALOG_IO_DIVIDER A1 // Pin connected to voltage divider
@@ -49,10 +48,11 @@ static const float test_pwm_frequencies[] = {1, 50, 5000, 50000};
4948
#define TEST_ADC_RESOLUTION 10 // ADC resolution
5049
static const float test_pwm_frequencies[] = {1, 50, 5000, 20000};
5150
#elif defined(KIT_XMC11_BOOT_001)
52-
#define TEST_PIN_DIGITAL_IO_OUTPUT 3 // IO_4
53-
#define TEST_PIN_DIGITAL_IO_INPUT 2 // IO_3
54-
#define TEST_PIN_PULSE 6 // IO_2
55-
#define TEST_PIN_SYNC_IO 4 // IO_1
51+
#define TEST_PIN_DIGITAL_IO_OUTPUT 3 // IO_4
52+
#define TEST_PIN_DIGITAL_IO_INPUT 2 // IO_3
53+
#define TEST_PIN_PULSE 6 // IO_2
54+
#define TEST_PIN_SYNC_IO 4 // IO_1
55+
#define TEST_PIN_ONEWIRE 7
5656
#define PWM_FREQUENCY_HZ 490 // PWM Frequency in Hz
5757
#define TEST_PIN_ANALOG_IO_VREF A2 // Pin connected to Vdd
5858
#define TEST_PIN_ANALOG_IO_DIVIDER A1 // Pin connected to voltage divider
@@ -65,6 +65,7 @@ static const float test_pwm_frequencies[] = {1, 50, 5000, 10000};
6565
#define TEST_PIN_DIGITAL_IO_INPUT 14 // IO_3
6666
#define TEST_PIN_PULSE 6 // IO_2
6767
#define TEST_PIN_SYNC_IO 7 // IO_1
68+
#define TEST_PIN_ONEWIRE 12
6869
#define PWM_FREQUENCY_HZ 490 // PWM Frequency in Hz
6970
#define TEST_PIN_ANALOG_IO_VREF A2 // Pin connected to Vdd
7071
#define TEST_PIN_ANALOG_IO_DIVIDER A1 // Pin connected to voltage divider

0 commit comments

Comments
 (0)