Hello; I am needing portmacro.h But there so many portmacro.h in freertos Which file shoul I use? On the other hand I tried this portmacro.h :Sourceportableowatcom16bitdospcportmacro.h But now I have this error: ~~~ Description Resource Path Location Type 'nop' undeclared (first use in this function) portmacro.h /osiloskop/src line 141 C/C++ Problem
Description Resource Path Location Type expected ';' before '}' token portmacro.h /osiloskop/src line 141 C/C++ Problem
Description Resource Path Location Type expected '(' before '{' token portmacro.h /osiloskop/src line 141 C/C++ Problem
~~~
That depends on the compiler you are using. The easiest thing to do though is use the pre-configured project we provide as that will already be using the correct portmacro.h file. Alternatively get the Xilinx SDK to generate a FreeRTOS project for you, as that too will use the correct portmacro.h file.
The directory structure is described on this link: http://www.freertos.org/a00017.html - from which you will see that you have included a portmacro.h file intended for use with the Open Watcom x86 compiler.
If you are using GCC then you will need the file from FreeRTOS/Source/portable/GCC/ARM_CA9 (Cortex-A9).
Thak you I replaced with FreeRTOS/Source/portable/GCC/ARMCA9 (Cortex-A9). And I use this code : https://www.google.com.tr/#q=+XPARGPIOTRIGGERCONTROLDEVICEID
But I have this error: ~~~ Description Resource Path Location Type 'XPARENCODERBTNGPIODEVICEID' undeclared (first use in this function) memcontrol.c /osiloskop/src line 199 C/C++ Problem
Description Resource Path Location Type 'XPARGPIOTRIGGERCONTROLDEVICEID' undeclared (first use in this function) memcontrol.c /osiloskop/src line 56 C/C++ Problem
Description Resource Path Location Type 'XPARGPIOTRIGGERSETTINGSDEVICEID' undeclared (first use in this function) memcontrol.c /osiloskop/src line 73 C/C++ Problem
Description Resource Path Location Type 'XPARSCREENBUFFERGPIODEVICEID' undeclared (first use in this function) memcontrol.c /osiloskop/src line 88 C/C++ Problem
~~~ I cant understand this error I added this codes http://www.instructables.com/id/Digital-Oscilloscope-using-Digilent-Zybo-Board/#step5 ???
I'm afraid we cannot support other peoples code, only code we provide ourselves. We can support code from the FreeRTOS download, the FreeRTOS Labs download (if you want Ethernet and SD card support), or generated by the Xilinx SDK. Instructions for using our code can be located on the FreeRTOS.org website.
I have already downloaded freetos and I am using freertos cortex a9 demo but just I add a code