- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use the example mtb-example-psoc6-mcuboot-basic on CY8CKIT-062_BLE, but I cannot get it to compile following the instructions on github (https://github.com/Infineon/mtb-example-psoc6-mcuboot-basic). I am using MTB 2.4.0.
I created a new ModusToolbox Application and selected my board (CY8CKIT-062-BLE) then selected "MCUboot-Based Basic Bootloader". After attempting to build; however, I was greeted by 328 errors like the ones below which aren't making sense to be because the macro is clearly defined above in the file.
The discussion post (https://community.infineon.com/t5/PSoC-6-SDK/Example-project-build-errors-mtb-example-psoc6-mcuboot-...) seems to discuss a similar issue with the older version of this MCUboot example that was caused by MCUboot v1.8.1, but the current version of the MCUboot example I am using (release-4.0.0) was released 5 days ago, and claims it solves this issue.
Any help would be greatly appreciated. I have been developing in PSOC Creator, and I am trying to decide if it is worth converting the project to MTB asap, but if I can't even get a basic OTA working soon, I will have to forget it.
Solved! Go to Solution.
- Tags:
- mcuboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like my issue is that python2 runs by default when I enter the python command because of how my PATH. In the Makefiles, I just changed the following lines to execute python3 in all cases. That solved my issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
You can refer to this link: https://community.infineon.com/t5/PSoC-6/about-bootloader-example-in-MTB/m-p/348692/emcs_t/S2h8ZW1ha...
Thanks
zhichao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like my issue is that python2 runs by default when I enter the python command because of how my PATH. In the Makefiles, I just changed the following lines to execute python3 in all cases. That solved my issue.