Skip to main content
pabian
Associate II
Aug 12, 2020 12:59 AM UTC
Question

How can I fix that "fatal error: portmacro.h: No such file or directory"

1) I added portmacro.h in the folder

(\Middlewares\Third_Party\FreeRTOS\org\Source\portable\GCC\ARM_CM4F)

2) I added path for the header file (MCU GCC Compiler > Include paths)

0693W000003P7H8QAK.jpg

0693W000003P7HLQA0.jpg

This topic has been closed for replies.

1 reply

GOztu.1
Associate II
Feb 1, 2023 8:32 PM UTC

I solved this problem by changing the file name, and copying the file to some other directory in this case i copied portmacroz.h file under portable.

0693W00000Y9l9YQAR.png