-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And fixed README.md
- Loading branch information
Showing
4 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$global.TEST_FILE=$ORIGIN/../../../pico-examples/build/gpio/hello_gpio_irq/hello_gpio_irq.elf | ||
$machine_name="pico_tests" | ||
|
||
include $ORIGIN/../../../prepare.resc | ||
|
||
showAnalyzer sysbus.uart0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
*** Settings *** | ||
|
||
Suite Setup Setup | ||
Suite Teardown Teardown | ||
Test Teardown Test Teardown | ||
Test Timeout 300 seconds | ||
|
||
Library ${CURDIR}/DisplayTester.py | ||
|
||
*** Test Cases *** | ||
Run successfully 'hello_gpio_irq' example | ||
Execute Command include @${CURDIR}/hello_gpio_irq.resc | ||
|
||
Create Terminal Tester sysbus.uart0 | ||
|
||
Wait For Line On Uart Hello GPIO IRQ timeout=4 | ||
Execute Command sysbus.gpio WritePin 2 true | ||
Wait For Line On Uart GPIO 2 EDGE_RISE timeout=4 | ||
Execute Command sysbus.gpio WritePin 2 false | ||
Wait For Line On Uart GPIO 2 EDGE_FALL timeout=4 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters