搜尋此網誌

const enum syntas erro ..

 Normal is your CFLASG define a -DXYZ
and  your C source code also have the define in enum type .

Uboot add extra C FLAGS HOW TO

Add on Makefile maynot working ,so find your $(ARCH)_config.mk, add

G_CFLAGS += -DBUILD_NOR_FLASH_16M -DTFTPD
PLATFORM_CPPFLAGS += $(G_CFLAGS)


Ok .rebuild uboot ....