Closed DexterHaslem closed 4 years ago
Hello @DexterHaslem thanks for bringing this our attention. I'll take a look.
I was unable to reproduce this on both MacOS and Windows. Looking at your log, your output shows
-DMBEDTLS_CONFIG_FILE=\\\"aws_mbedtls_config.h\\\"
but my log on Windows shows
-DMBEDTLS_CONFIG_FILE=\"aws_mbedtls_config.h\"
Can you try removing these extra backslashes?
aws_demos
in the projects tabproperties
Conf
> XC32
click xc32-gcc
Generated Command Line
-DMBEDTLS_CONFIG_FILE=\\\"aws_mbedtls_config.h\\\"
to -DMBEDTLS_CONFIG_FILE=\"aws_mbedtls_config.h\"
-DMBEDTLS_CONFIG_FILE=\\\"aws_mbedtls_config.h\\\"
to -DMBEDTLS_CONFIG_FILE=\"aws_mbedtls_config.h\"
Thanks for spotting the fix. for some reason opening the project always re-mangles that preprocessor define for some reason, I am trying to narrow down if it's a particular MPLABX version
@DexterHaslem this is the output of my MPLAB X version. I'll try and see if I can grab the version from the Windows PC I used as well.
Product Version: MPLAB X IDE v5.25
Java: 1.8.0_181; Java HotSpot(TM) 64-Bit Server VM 25.181-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_181-b13
System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_EN (mplab)
@DexterHaslem do you mind providing what version of MPLAB X you are using?
I have verified that currently our tests are performed on MPLAB X version 5.30 on Windows.
XC32 2.40 and MPLAB v5.41. I got sidetracked, two different machines on that latest version, only one was exhibiting the issue causing massive confusion. I will go back to older version
OK, mplabx v5.40+ seems to exhibit the issue on all three platforms. I went back to older version, thanks
Describe the bug A fresh checkout of the repo doing the following:
git clone https://github.com/aws/amazon-freertos.git --recurse-submodules
The submodules are pulled and look ok.
Opening the
projects\microchip\curiosity_pic32mzef\mplab\aws_demos
project like usual results in a bunch of build errors from mbed TLS it appears:This is on XC32 2.40 and MPLAB v5.41. Something with
MBEDTLS_CONFIG_FILE
. This is on master at0dc240d472065b21
. Thanks for any clarification