build nxpUSBLib with gcc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

build nxpUSBLib with gcc

631 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by iamonline on Fri Feb 07 19:17:49 MST 2014
Hi all:
    Can nxpUSBLib be build with gcc-arm-none-eabi-4_7 ? I get this src package from "LPCOpen Software Development Platform 1.03" package and my hardware is LPC1768. Now I migrage it under GCC,but there are some errors especially in Endpoint_LPC17XX.c which said __BSS() no definition. I comment __BSS() macro in HAL_LPC17xx.h (this macro works under __LPC177X_8X__, why?) and then build is OK. I am not sure whether what I've done is right. Can anybody tell me what 's the diffeence between __LPC177X_8X__ & __LPC175X_6X__? Why __LPC177X_8X__ need this macro but __LPC175X_6X__ needn't? Are there any other nxpUSBLib version suitable with GCC?

    Another thing, nxpUSBLib works with strange driverlib which is in the folder lpc_chip. It doesn't seems to be the good one. Why not use the official driver lib package?


   Thanks.
Labels (1)
0 Kudos
1 Reply

609 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by iamonline on Sun Feb 09 03:31:25 MST 2014
Does anybody use nxpUSBLib under GCC?  I think it is useful if it support GCC. Are there any plan to update nxpUSBLib to GCC?
0 Kudos