Replies: 1 comment
-
glad to see IAR is moving to support cmake project. Unfortunately, I don't have IAR workbench (also did't use it), this look like an setup related issue. For family_flash_jlink(), it is an function to create custom target e.g tinyusb/hw/bsp/family_support.cmake Lines 364 to 382 in 59ecdb7 |
Beta Was this translation helpful? Give feedback.
-
With 9.50.1 release, IAR added experimental native CMake support (strangely not mentioned in public release note). Now it's possible to import
CMakeLists.txt
then build and debug as a normal project.Following these steps:
PATH
environment variable, such asC:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\bin
size
executable and add the path to systemPATH
environment variable, you can use Mingw for example.CMake for Arm
thenImport CMakeLists.txt
.Option - CMake/CMSIS-TOOLBOX - CMake
, for example-DBOARD=stm32f439nucleo -DTOOLCHAIN=iar
, UncheckOverride tools in env
Option - General Options - Target
, to profit register and memory view.@hathach I got following error and I had to comment out
family_flash_jlink(${TARGET})
infamily.cmake
, do you have any idea ?Full log: log_cmake.zip
Beta Was this translation helpful? Give feedback.
All reactions