- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
give detail steps to porting to bare metal microcontroller.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tazz ,
XMC7200 eval kit is already supported with ModusToolBox 3.0. There are several examples projects available which can be pulled using Project creator. Kindly let me know more details on the specific requirements or expectations for your projects which cannot be found on the standard installation of ModusToolBox 3.0.
Best regards,
Bhamy Narasimha Shenoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi when porting coremark pro to bare metal xmc 7200 ,i am getting these error.
enerating compilation database file...
-> ./build/compile_commands.json
Compilation database file generation complete
Building 193 file(s)
Linking output file mtb-example-hal-rtc-basics.elf
c:/users/tanand3/modustoolbox/tools_3.0/gcc/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/doit/RTC_Basics/build/APP_KIT_XMC72_EVK/Debug/mith/al/th_al.o: in function `al_signal_start':
C:\doit\RTC_Basics/mith/al/th_al.c:252: undefined reference to `clock_gettime'
c:/users/tanand3/modustoolbox/tools_3.0/gcc/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/doit/RTC_Basics/build/APP_KIT_XMC72_EVK/Debug/mith/al/th_al.o: in function `al_signal_finished':
C:\doit\RTC_Basics/mith/al/th_al.c:297: undefined reference to `clock_gettime'
c:/users/tanand3/modustoolbox/tools_3.0/gcc/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/doit/RTC_Basics/build/APP_KIT_XMC72_EVK/Debug/mith/al/th_al.o: in function `al_signal_now':
C:\doit\RTC_Basics/mith/al/th_al.c:334: undefined reference to `clock_gettime'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [../mtb_shared/core-make/release-v3.0.3/make/core/build.mk:435: C:/doit/RTC_Basics/build/APP_KIT_XMC72_EVK/Debug/mtb-example-hal-rtc-basics.elf] Error 1
make: *** [../mtb_shared/core-make/release-v3.0.3/make/core/main.mk:376: secondstage_build] Error 2
"C:/Users/TAnand3/ModusToolbox/tools_3.0/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_IDE_TOOLS_DIR=C:/Users/TAnand3/ModusToolbox/tools_3.0 CY_IDE_BT_TOOLS_DIR= -j8 all" terminated with exit code 2. Build might be incomplete.
11:13:53 Build Failed. 8 errors, 0 warnings. (took 5s.521ms)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tazz ,
It looks like some errors linking the sources from the Coremark pro. Can you please provide me some details on what are your requirement with XMC7200?
Best regards,
Bhamy Narasimha Shenoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
GETMYTIME (&initial ) is not supported on modus toolbox version 3.0 , in place of this which function should I use?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tazz ,
There is a SysTick timer running along with CPU. Please refer to below document for the API available to access it:
Let me know if need some more information.
Best regards
Bhamy Narasimha Shenoy