ModusToolbox™ Forum Discussions
I understand optimization must be set in the project makefile using the CFLAGS option. However, when comparing optimization off (-O0) to optimization for size (-Os), the IDE reports utilized FLASH of exactly the same size. The project is from the BSPS for the PSoC4 MAX Pioneer demo kit. It's not a massive project, but I'd certainly expect to see SOME change, which leads me to believe I'm doing something incorrectly. Incidentally, I also am not able to precisely hit some breakpoints I've set when optimization is off, which seems to confirm it isn't actually off.
I'm using the default Debug config (other than the optimization modification). Any thoughts what I'm doing wrong?Show Less
I would like to edit my project on a network drive.
When I create a new project, I get the following error message:
: there was an error retreiving the asset 'https://github.com/Infineon/mtb-example-empty-app' commit 'latest-v4.X' - ERROR:J:/Dokumente/Infineon/ModusToolbox/Projekte/Empty_App: Failed to open Git repository: config value 'safe.directory' was not found
: error cloning git asset 'https://github.com/Infineon/mtb-example-empty-app'-ERROR:J:/Dokumente/Infineon/ModusToolbox/Projekte/Empty_App: Failed to open Git repository: config value 'safe.directory' was not found
Thanks AndreasShow Less
We are working on the CYBLE-416045-02 , a PSoC 63 with BLE, and we use ModusToolbox for developmen
While developing our custom DFU procedure based on the DFU middleware library, our very first test with the “Device Firmware Update Host Tool” shows that the “Enter DFU” command sent by the tool, has 6 bytes of data instead of 4 bytes of data as indicated in the protocol documentation. The DFU middleware library seems to support either 4 or 6 bytes for this command.
Is it an error in the documentation or does a more recent version of the protocol documentation exist?
- DFU Protocol documentation: AN213924, https://www.infineon.com/an213924, from 2022-07-21. DFU command at page 52.
- DFU middleware library: https://github.com/Infineon/dfu, handler for “Enter DFU” at: https://github.com/Infineon/dfu/blob/master/cy_dfu.c#L1687
I have created a test project in Modus 3.1 with about 50 lines of code in each of the cores.
Building it takes close to 3 minutes. My PC has a 20 core CPU running at >4.5GHz with 64GB RAM and the latest 2GB M2 SSD.
I have set the .ini file to allow Java to use up to 8GB memory, starting from 512MB, I have enabled unlimited parallel build jobs in the build behavior and nothing seems to make any difference.
I am not a fan of Modus Toolbox, but having no other choice, I have to use it and this issue is not helping to change my point of view.
Any help will be appreciated.Show Less
I know that is not the proper forum but I don't know how to contact them. I have a gmail address and an account on Imagimob for that address. I can sign in. When I contact 'Get technical support', and select 'Continue with google' and selecting my email address the following messages appears.
Please help.Show Less
I based on MQTT_Client sample code to add LPA libary(tried 4.0 and 5.0) by library Manager 2.0.
But got fatal error log ads below.
../mtb_shared/lpa/release-v4.0.0/helpers/net_activity/COMPONENT_SECURE_SOCKETS/network_activity_handler.c:30:10: fatal error: cy_OlmInterface.h: No such file or directory
30 | #include "cy_OlmInterface.h"
BTW. I tried WLAN_Low_Power sample code. There is no compile issue.
Any comment how to fix this issue?
I'd like to add the
option to the linker. How to do that.
I tried in the Makefile
but the compiler gives me error messages