K64F Hardware Support Package

Hi All,
When configuring the suport package for K64F on 2021A I receive the following error:
MW_GNU_ARM_TOOLS_PATH = C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin
### Started building the Kinetis SDK platform library (bm) for FRDM-K64F board
Warning: Unable to remove spaces from file path 'G:\Program Files\MATLAB\R2021a\bin\win64'. Spaces in
build-related folder paths can cause the build process to fail. For more information, see Build Process Support
for Folder Names with Spaces or Special Characters.
This eror appears both for SEGGER and MBED firmware.
My Matlab is installed on G:\ not C:\, how do i modify the build path to remove the space in 'Program Files'?
Thanks in advance,
Greg

 采纳的回答

Walter Roberson
Walter Roberson 2021-8-12

0 个投票

"sets the root folder of the current support packages. MATLAB® installs all support packages to this location."
"You need administrative privileges to use this function." (so you need to Run As Administrator long enough to do this command.)
If you do not have administrative privileges and cannot get an admin to run it for you, then an admin will need to give you access to the appropriate C: directory if you are intended to be able to install support packages yourself. And if you are not intended to be able to install support packages yourself, you will need to get your admin to install the package for you.
That message about "G:\Program" also concerns me. That might go away when the other problem is fixed, but it might not. Historically it has been common for there to be issues with packages (especially third-party packages) to have difficulty if there is a space or non-ascii character in your directory name or user name. So where you have installed to G:\Program Files you might need to rename that to G:\ProgramFiles (and make the appropriate registry changes)

4 个评论

Thanks for the speedy response Walter.
matlabshared.supportpkg.getSupportPackageRoot points to 'C:\ProgramData\MATLAB\SupportPackages\R2021a'
Which appears to be ok. I should note that the support package did install correctly, this is just for the configuration.
Is their an easy way to change the install path or should i just reinstall Matlab without the space?
regards,
Greg
Run As Administrator to configure the support package.
Thanks very much Walter. You are correct, the new G drive did not have 8dot3naming support. Apparently this is only on by default for C:\
If anyone comes across this in the future,you must enable 8.3 support and then reinstall (or copy and paste the files to the same directory) in order to create the correct short file names.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by