GPIO Loopback

Overview

See tests/drivers/gpio for the original scope of tests, its structure and description.

Requirements

You will need an ST-LINK/V2 debug tool adapter already connected to the TiaC Magpie board, which has an already configured UART console connection.

On the TiaC MAGPIE pin headers the following GPIO pins must be connected.

TiaC MAGPIE Pin Header GPIO Loopback Wiring

Building and Running

Build and run the tests on target as follows:

$ west twister \
         --verbose --jobs 4 --inline-logs \
         --enable-size-report --platform-reports \
         --device-testing --hardware-map map.yaml \
         --extra-args SHIELD="loopback_test_tmph" \
         --alt-config-root bridle/zephyr/alt-config/tests \
         --testsuite-root zephyr/tests --tag gpio