Compilation error in "cyPm.h"

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
yuna_4671381
Level 1
Level 1

The device is developed using PSOC5 (PSoc Creator 4.3) on CY8C5888AXI-LP096.

Although cyPm.h is generated by the code generation at compile time, the following generated code causes a compile error.

         #define CY_PM_WFI asm volatile ("WFI \n")

"__asm" should be generated, but "asm" is generated.

Please tell me how to solve it.

0 Likes
1 Solution

To update the cy_boot, right click project and navigate to "Update Components" item. Click it and then the cy_boot shows as the following capture.

pastedImage_0.png

View solution in original post

0 Likes
6 Replies