-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
Evaluating 5.10 (RC2) and the Pelion device management feature with mbed-cloud-client-example-sources-internal app (sorry internal only).
I'm seeing an error at the last step of the compile process (merge with bootloader)
mbed import mbed-cloud-client-example-sources-internal
cd mbed-cloud-client-example-sources-internal
mbed update 2.0.0-RC2
<CLOUD_SDK_API_KEY already set>
mbed dm init -d "arm.com" --model-name "mbed" -v -q --force
mbed compile -t GCC_ARM -m K64F -c -v
...
Merging Regions
Filling region bootloader with /Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal/mbed-os/features/FEATURE_BOOTLOADER/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_FRDM/mbed-bootloader-k64f-block_device-sotp-v3_4_0.bin
Padding region bootloader with 0x9a4 bytes
Traceback (most recent call last):
File "/Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal/mbed-os/tools/make.py", line 293, in <module>
ignore=options.ignore
File "/Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal/mbed-os/tools/build_api.py", line 548, in build_project
merge_region_list(region_list, res, notify)
File "/Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal/mbed-os/tools/build_api.py", line 423, in merge_region_list
_fill_header(region_list, region).tofile(header_filename, format='hex')
File "/Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal/mbed-os/tools/build_api.py", line 380, in _fill_header
header.puts(start, struct.pack(fmt, time()))
struct.error: required argument is not an integer
[mbed] ERROR: "/usr/local/opt/python/bin/python3.7" returned error.
Code: 1
Path: "/Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal"
Command: "/usr/local/opt/python/bin/python3.7 -u /Users/ms/mbed/OOB/5.10/mbed-cloud-client-example-sources-internal/mbed-os/tools/make.py -t GCC_ARM -m K64F --source . --build ./BUILD/K64F/GCC_ARM -c -v"
Tip: You could retry the last command with "-v" flag for verbose output
---
This makes me think there is a problem with the bootloader, the tools or the app.
[ ] Question
[ ] Enhancement
[X] Bug
EDIT: Environment
- OSX El Capital
- Mbed CLI 1.8.1
- Python 3.7
- Mbed Cloud SDK 2.0.1
@theotherjimmy @teetak01 can you please have a look and comment?