build of python3 of MPLAB
Hi,
I am using Curiosity PIC32MZ EF Bundle and Java SE 10.0.2 and Python 3.7.0 (Homebrew macOS PMJ and Pyenv global 3.7.0) and MPLAB V5.05 and XC32 V2.10 on MacBook macOS edition:).
In Connect to AWS IoT - a:freeRTOS MQTT Hello World sample 1.4.1 of an AWS.
How should a build of python3 of MPLAB be done?
(Is /absolute path/python3 designation OK? Does Python code of a:freeRTOS OTA need a pem file of a certificate?)
How should a use xc32-objcopy of < makeCustomizationPostStep> of MPLAB be done?
(Is absolute path designation OK? /applications/microchip/xc32/v2.10/bin/xc32-objcopy -I ihex ${ImagePath} -O binary ${ImageDir}/mplab.${IMAGE_TYPE}.bin && python ../../../common/ota/bootloader/utility/ota_image_generator.py -b ${ImageDir}/mplab.${IMAGE_TYPE}.bin -p MCHP-Curiosity-PIC32MZEF)
Thanks.
Postscript.
pyOpenSSL was used.
Reinstallation of an attribute error of Python takes time and effort.(When the command of python is carried out from a terminal, it attribute error come out:-?)
It was seen using this certificate:).
VeriSign-Class 3-Public-Primary-Certification-Authority-G5.pem
a:freeRTOS V1.4.2
AmazonFreeRTOS/demos/microchip/curiosity_pic32_bl/aws_boot-loader.X/nbproject/configurations.xml#L217
<makeCustomizationPreStepEnabled>true</makeCustomizationPreStepEnabled>
<makeCustomizationPreStep>python ../../../common/ota/bootloader/utility/codesigner_cert_utility/codesigner_cert_utility.py ../../../common/ota/bootloader/utility/codesigner_cert_utility/aws_ota_codesigner_certificate.pem ../../../common/ota/bootloader/include/aws_boot_codesigner_public_key.h</makeCustomizationPreStep>
a:freeRTOS V1.4.2 was doing pass setting of xc32-objcopy by an environment variable.
AmazonFreeRTOS/demos/microchip/curiosity_pic32mzef/mplab/nbproject/configurations.xml#L1794
<makeCustomizationPostStepEnabled>true</makeCustomizationPostStepEnabled>
<makeCustomizationPostStep>${MP_CC_DIR}\xc32-objcopy -I ihex ${ImagePath} -O binary ${ImageDir}/mplab.${IMAGE_TYPE}.bin && python ../../../common/ota/bootloader/utility/ota_image_generator.py -b ${ImageDir}/mplab.${IMAGE_TYPE}.bin -p MCHP-Curiosity-PIC32MZEF</makeCustomizationPostStep>
A pass passes?
List:
OTA is stopped.
<makeCustomizationPreStepEnabled>false
<makeCustomizationPostStepEnabled>false
Free balloon call!
post edited by kibi - 2018/11/17 10:52:43