liuguo09 commented on issue #444: SAMA5D27 peripheral support - USB Host working URL: https://github.com/apache/incubator-nuttx/pull/444#issuecomment-595864937 It seems this PR build breaks sama5d3x-ek:nsh config as below: It is mainly because of arch/arm/src/sama5/hardware/_sama5d3x_memorymap.h update in this PR. chip/sam_memories.c: In function 'periphb_physregaddr': chip/sam_memories.c:86:5: warning: "SAM_PERIPHB_PSECTION" is not defined, evaluates to 0 [-Wundef] 86 | #if SAM_PERIPHB_PSECTION != SAM_PERIPHB_VSECTION | ^~~~~~~~~~~~~~~~~~~~ chip/sam_memories.c:95:10: error: 'SAM_PERIPHB_PSECTION' undeclared (first use in this function); did you mean 'SAM_PERIPHA_PSECTION'? 95 | return SAM_PERIPHB_PSECTION + sectoffset; | ^~~~~~~~~~~~~~~~~~~~ | SAM_PERIPHA_PSECTION chip/sam_memories.c:95:10: note: each undeclared identifier is reported only once for each function it appears in chip/sam_memories.c: In function 'sysc_physregaddr': chip/sam_memories.c:149:5: warning: "SAM_SYSC_PSECTION" is not defined, evaluates to 0 [-Wundef] 149 | #if SAM_SYSC_PSECTION != SAM_SYSC_VSECTION | ^~~~~~~~~~~~~~~~~ chip/sam_memories.c:158:10: error: 'SAM_SYSC_PSECTION' undeclared (first use in this function); did you mean 'SAM_SYSC_VSECTION'? 158 | return SAM_SYSC_PSECTION + sectoffset; | ^~~~~~~~~~~~~~~~~ | SAM_SYSC_VSECTION chip/sam_memories.c: In function 'sam_physregaddr': chip/sam_memories.c:701:45: error: 'SAM_PERIPHA_SIZE' undeclared (first use in this function); did you mean 'SAM_PERIPHB_SIZE'? 701 | virtregaddr < (SAM_PERIPHA_VSECTION + SAM_PERIPHA_SIZE)) | ^~~~~~~~~~~~~~~~ | SAM_PERIPHB_SIZE make[1]: *** [sam_memories.o] Error 1 make: *** [arch/arm/src/libarch.a] Error 2 make: *** Waiting for unfinished jobs.... ##[error]Process completed with exit code 2.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services