I am trying to compile a C/C++ makefile project using the Eclipse IDE for ModusToolbox (Version: 2.2.0, Build ID: 2181) for CY8CKIT-062-BLE target. I am able to compile *.c and *.cpp files but *.cc files is excluded from the compilation.
If I add following in the Makefile:
SOURCES = $(wildcard extlib/*.cc)
The build console displays following error message:
../mtb_shared/core-make/latest-v1.X/make/core/build.mk:386: *** Incompatible source file type encountered while constructing explicit rule: extlib/utils.cc. Stop.
Show LessWe're doing some eMMC interfaces using UDB's and Creator today.
How does the programmable logic parts work in Modus?
(we were digging around in the install tree as the psoc6/wifi board uses the sdio / wifi radio UDB, but didn't manage to find the location to the .v source for this)
Show LessHi,
I have been using the evaboard such 62S2 43012. I am starting from the example project 'BLE_CapSense_Buttons_Slider'. The my application works so, it remains in idle for 3 seconds and after enter in hibernate mode. Out of the state of hibernate throught the wdt. Sometimes it happens that when the application restart the reason is not always same. Sometimes the reason of the reset is wdr, other times is the wake up depends from hibernate mode. I do reading the reason of the reset when the application restarts with function cyhal_system_get_reset_reason (). Why in the my application sometimes the reason reset is the wdt (CYHAL_SYSTEM_RESET_WDT) and another times is the hibernate mode (CYHAL_SYSTEM_RESET_HIB_WAKEUP) ?
I setted the hibernate mode in the follows way:
// Create callback to active hibernate mode
cy_stc_syspm_callback_params_t myParams ;
cy_stc_syspm_callback_t myAppHibernate =
{
&Application_Callback , /* Callback function */
CY_SYSPM_HIBERNATE , /* Select Power Mode */
0U , /* Skip mode, no skip */
&myParams , /* Operation, contexts */
NULL , /* Previous list callback */
NULL /* Next list callback */
} ;
/* Register Callback functions for each power mode */
Cy_SysPm_RegisterCallback ( &myAppHibernate ) ;
While the wdt i declared in this way :
cy_rslt_t result ;
/** UART HAL object used by this library */
extern cyhal_uart_t cy_retarget_io_uart_obj ;
/* Wait until UART transfer complete */
while ( 1UL == cyhal_uart_is_tx_active ( &cy_retarget_io_uart_obj ) ) ;
cy_rslt_t res = cyhal_syspm_hibernate(CYHAL_SYSPM_HIBERNATE_WDT) ;
/* Initialize the WDT */
result = cyhal_wdt_init ( &wdt_obj , 3000 ) ;
/* WDT initialization failed. Stop program execution */
if ( result != CY_RSLT_SUCCESS )
{
printf("Failed to initialize WDT!\r\n" ) ;
CY_ASSERT ( 0 ) ;
}
Can you help me ?
thanks
Show Lesshi,我已经下载安装了ModusToolbox V2.2,WIN10系统,通过File-->New-->ModusToolbox Application后会弹出Project Creator 1.2-Choose Board Support Package(BSP)的对话框,但是kit Name全是空白,下面有提示
“Checking if remote manifest is accessible...
Failed to access remote server: Download of https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml failed: Unable to write
No internet connection found and offline content is not available. Check the user guide to see how to get offline contents.” 实际我电脑联网是正常了,没有使用任何代理的方式上网。请问我用什么怎解决这个问题?谢谢!
Show Less
你好!我已经安装了ModusToolbox V2.2。当我通过File--->New--->ModusToolbox Application后,可以弹出Project Creator 1.2-Choose Board Support Pcakage(BSP)的对话框,但是Kit Name栏里全是空白,下面有提示“Checking if remote manifest is accessible...
Failed to access remote server: Download of https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml failed: Connection closed
No internet connection found and offline content is not available. Check the user guide to see how to get offline contents.” 实际上我电脑的网络都是正常的,请教一下用什么办法可以解决,谢谢!
Show LessHi,
How to set the editor font size in ModusToolbox?
For example for main.c
Hello,
There is a big chance from ModusToolBox v1 to 2.2, where the project configuration is very different.
One thing I am struggling with is how to define a macro in the project configuration, there is a dedicated section in the V1.1.
I have tried Preprocessor Include Paths, Maros etc.. section in the project properties, I have used the CDT User Setting Entries, but it doesn't work.
-Xiang
Show LessWe completed the first, early-access release at the end of 2020. It features support for the XMC1400 (48MHz ARM Cortex-M0) and XMC4700 (144MHz Cortex-M4) devices, and includes a small set of Code Examples, kit BSPs and XMClib software plus support for programming/debugging via Segger J-Link and J-Link LITE (on-board debugger).
The production-ready release, which is expected in February, will add more Code Examples and extend the set of peripherals supported by the Device Configurator. Look out for more updates throughout 2021 as we add new features, device families and kit BSPs.
Want to try it out? It’s easy! The first set of devices are enabled by the ModusToolbox 2.2.1 Patch Release. Follow the instructions to install the patch on top of the 2.2 software. Then just launch the Project Creator, pick one of the following BSPs, choose a Code Example on the next page, and create your first XMC project.
We'd love you to give this software a try and send us some feedback. So if you have any questions or problems and (best of all) great ideas, please post here and I'll try to help. If you just want to read about the new libraries here are some links to the GitHub pages and documentation.
Exciting News! Application development support for XMC industrial microcontrollers is being introduced in ModusToolbox. This is the first step toward a tight integration of the devices with all the great benefits of ModusToolbox – Project Creator and Library Manager tools, configurators, and third-party IDE support.
We completed the first, early-access release at the end of 2020. It features support for the XMC1400 (48MHz ARM Cortex-M0) and XMC4700 (144MHz Cortex-M4) devices, and includes a small set of Code Examples, kit BSPs and XMClib software plus support for programming/debugging via Segger J-Link and J-Link LITE (on-board debugger).
The production-ready release, which is expected in February, will add more Code Examples and extend the set of peripherals supported by the Device Configurator. Look out for more updates throughout 2021 as we add new features, device families and kit BSPs.
Want to try it out? It’s easy! The first set of devices are enabled by the ModusToolbox 2.2.1 Patch Release. Follow the instructions to install the patch on top of the 2.2 software. Then just launch the Project Creator, pick one of the following BSPs, choose a Code Example on the next page, and create your first XMC project.
We'd love you to give this software a try and send us some feedback. So if you have any questions or problems and (best of all) great ideas, please post here and I'll try to help. If you just want to read about the new libraries here are some links to the GitHub pages and documentation.
How to use the Device Configurator Tool to create an AD collector with 8 channels?
Esteemed Contributor
Contributor II
Employee
Employee
Esteemed Contributor
Employee
Honored Contributor
New Contributor II
New Contributor II
Contributor