Mbed-os: Linux build of NUCLEO_F030R8 fails: TypeError: unhashable type: 'dict'

Created on 30 Nov 2018  路  5Comments  路  Source: ARMmbed/mbed-os

Description

When attempting to build on Linux, I get the following failure (I have no private settings):

$ MBED_GCC_ARM_PATH=/usr/local/gcc-arm-none-eabi-7-2018-q2-update/bin python build.py -c -v -m NUCLEO_F030R8 -t GCC_ARM 
Traceback (most recent call last):
  File "build.py", line 191, in <module>
    if Target.get_target(mcu).is_PSA_secure_target:
  File "/home/adsilva/src/mbed-os/tools/targets/__init__.py", line 92, in wrapper
    if (func.__name__, args) not in CACHES:
TypeError: unhashable type: 'dict'

This fails on master (5047ea4f423a57e22312b81203f7eb47146fbdf4) but works on mbed-os-5.9.7

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug
CLOSED mirrored bug

Most helpful comment

8932 will fix that

All 5 comments

@ARMmbed/mbed-os-psa Can you review (is_PSA_secure_target fails)

8932 will fix that

Feel free to retest. #8932 has been merged.

Reopen with an update if the issue is not yet resolved, we will close this now as resolved

Was this page helpful?
0 / 5 - 0 ratings