Skip to content

STM32H747I - DeviceKey is not enabled #11617

@JanneKiiskila

Description

@JanneKiiskila

Description

Target: DISCO_H747I
Toolchain: GCC_ARM
Tools: Mbed CLI 1.10.1
Mbed OS hash: 31114ba

Try to run device key tests as per Mbed OS documents.

mbed test -n features-device_key-tests-device_key-functionality -m DISCO_H747I -t GCC_ARM

Docs in: https://os.mbed.com/docs/mbed-os/v5.14/apis/devicekey.html

Error log:

Building project functionality (DISCO_H747I, GCC_ARM)
Scan: GCC_ARM
Scan: functionality
Compile [100.0%]: main.cpp
[Error] main.cpp@31,2: #error [NOT_SUPPORTED] DeviceKey needs to be enabled for this test
Memory map breakdown for built projects (values in Bytes):
| name | target | toolchain | static_ram | total_flash |
|------|--------|-----------|------------|-------------|


Build successes:
  * DISCO_H747I::GCC_ARM::MBED-BUILD


Build skips:
  * DISCO_H747I::GCC_ARM::FEATURES-DEVICE_KEY-TESTS-DEVICE_KEY-FUNCTIONALITY
[1570093741.66][root]Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
[1570093741.71][root]Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
mbedgt: greentea test automation tool ver. 1.6.5
mbedgt: test specification file './BUILD/tests/DISCO_H747I/GCC_ARM/test_spec.json' (specified with --test-spec option)
mbedgt: using './BUILD/tests/DISCO_H747I/GCC_ARM/test_spec.json' from current directory!
mbedgt: detecting connected mbed-enabled devices...
[1570093741.87][mbedls.lstools_linux]Could not get serial devices by id. This could be because your Linux distribution does not use udev, or does not create /dev/serial/by-id symlinks. Please submit an issue to github.com/armmbed/mbed-ls.
mbedgt: no compatible devices detected
mbedgt: completed in 0.07 sec
mbedgt: exited with code 1
[mbed] ERROR: "mbedgt" returned error.
       Code: 1
       Path: "/home/jankii01/mbed/mbed-cloud-client-example-internal/mbed-os"
       Command: "mbedgt --test-spec ./BUILD/tests/DISCO_H747I/GCC_ARM/test_spec.json -n features-device_key-tests-device_key-functionality"
       Tip: You could retry the last command with "-v" flag for verbose output

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

Attn: @jeromecoutant @ARMmbed/team-st-mcd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions