It seems that the definition of RwReg, RoReg and WoReg is missing from document component\gmac.h in FreeRTOS-Plus-TCP-2.4.0, but I can make up for it myself. After I modify the definition, the compiler will report a lot of errors like
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
or
declaration for parameter 'sysclk_set_prescalers' but no such parameter
and other mistakes, as if trying to tell me that a ; or another symbol is missing in a file, or other mistakes. I can’t find out where the symbol is missing. So did anyone else have this problem?
I’m not sure which driver version I use, in fact I can’t find a file namedgmac_SAM.h and there is no such folder named DriverSAM in Solution Explorer.
My Ethernet driver comes from Atmel ASF (3.52.0) and is automatically imported into the project by the compiler. Only include\component\gmac.h and include\instance\gmac.h can be found in the project. By the way, these files exist in the solution