Closed BlackstoneEngineering closed 6 years ago
Thanks for the bug report. I may have time to look at this bug this week. maybe not though.
I am also getting the same issue.
On mac OS, with cli 1.2.2.
Can only get it to work if i downgrade to 1.2.0
@BlackstoneEngineering @andcor02 Could you report your Mbed OS version?
Latest cli, latest mbed-os, windows 10.
C:\Users\ausbla01\mbed\mbed-os>mbed target --supported
[mbed] WARNING: Could not find mbed program in current path "C:\Users\ausbla01\mbed\mbed-os".
[mbed] WARNING: You can fix this by calling "mbed new ." in the root of your program.
---
[mbed] ERROR: Unknown Error: sequence item 4: expected string, bool found
---
C:\Users\ausbla01\mbed\mbed-os>mbed toolchain --supported
[mbed] WARNING: Could not find mbed program in current path "C:\Users\ausbla01\mbed\mbed-os".
[mbed] WARNING: You can fix this by calling "mbed new ." in the root of your program.
---
[mbed] ERROR: Unknown Error: sequence item 4: expected string, bool found
---
C:\Users\ausbla01\mbed\mbed-os>git log -n1
commit 70e7b40468854d33431889a9cd415364c00a2501
Merge: 33c972666 ff6bc08c5
Author: Jimmy Brisson <theotherjimmy@gmail.com>
Date: Mon Nov 27 10:37:40 2017 -0600
Merge pull request #5583 from kjbracey-arm/delete_null
Remove pointless null check in operator delete
C:\Users\ausbla01\mbed\mbed-os>mbed --version
1.2.2
This is now fixed. Thanks for reporting this
TLDR: the command
mbed target --supported
fails, butmbed compiler --supported
andmbed compiler -S
works. This command documented in videos and tutorials and needs to work.Long Version: On mbed CLI v1.2.0 the
mbed target --supported
command works, but on v1.2.2 it does not. Something changed here that broke the command.The output failure message is
[mbed] ERROR: Unknown Error: sequence item 4: expected string, bool found
, which looks like a python issue, but not sure.This was found on windows 10, using cmd.