Skip to content

Commit 32d7c7d

Browse files
committed
xmc/tests: Add test_config.h and update arduino-core-tests submodule.
Signed-off-by: Frederikwag <[email protected]>
1 parent cc0a0e4 commit 32d7c7d

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

tests/test_config.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* @file test_config.h
3+
* @brief Configuration file for board-specific test pin definitions.
4+
*
5+
* This header file contains the definitions of the pins used for testing
6+
* purposes on the specific board. These pins are configured as output and
7+
* input pins for various test scenarios.
8+
*
9+
*/
10+
#ifndef TEST_CONFIG_H
11+
#define TEST_CONFIG_H
12+
13+
#include <stdint.h>
14+
15+
// test defines
16+
const uint8_t TEST_DIGITALIO_OUTPUT = 7; // IO0
17+
const uint8_t TEST_DIGITALIO_INPUT = 8; // IO1
18+
19+
#endif // TEST_CONFIG_H

0 commit comments

Comments
 (0)