New main
branch and testing DAPLink
#825
mathias-arm
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New
main
branchAs previously announced, the
master
branch has been renamedmain
. The pull requests have automatically been updated. If you want to update an existing checkout GitHub suggests running the following commands:Testing DAPLink
Currently this requires changes from the mbrossard:fix/run-tests branch. This will eventually be merged to
develop
.This is how you would run the tests for
lpc4322_lpc55s69xpresso_if
:This assumes that the board is connected, and that
$DAPLINK_VALIDATION
is set to (or replaced with) the path to thedist
directory of daplink-validation after running the build instructions, or the uncompressed directory of a release.The
LPCXpresso55S69
value comes from the 5th column of theSUPPORTED_CONFIGURATIONS
entry intest/info.py
that corresponds to the board. The test script is expecting to findLPCXpresso55S69.bin
andLPCXpresso55S69.hex
in the binaries fromdaplink-validation
. If you need to add a validation binary, in many cases it should be as simple as adding one entry in thetargets
variable ofgen.py
. The entry for our example the entry is"LPCXpresso55S69": "LPC55S69_NS",
, where we recognize the first name, and the second is the Mbed OS (latest 5.x) target name. To see a list of the supported targets:mbed target -S
(check thatGCC_ARM
is supported). Pull request to add targets are welcomed.Beta Was this translation helpful? Give feedback.
All reactions