[En-Nut-Discussion] Erros in building OS on AT91SAM7X512

Harald Kipp harald.kipp at egnite.de
Tue Jul 26 10:52:53 CEST 2011


Hi Mingshu,

On 7/25/2011 7:45 PM, Mingshu Wang wrote:
> ../../nut/include/arch/arm/irqreg.h:256:2: error: #warning "No MCU
> defined"

What's in your <board>.conf file? I assume, that the following should work:

PLATFORM = "AT91SAM7X_EK"
ARM_GCC = ""
GCC_DEBUG = ""
ARM_LDSCRIPT = "at91sam7x512_rom"
MCU_AT91SAM7X512 = ""
AT91_PLL_MAINCK = "18432000"
NUT_TICK_AT91PIT = ""
LCD_CS_PIO_ID = "PIOB_ID"
LCD_CS_BIT = "24"
LCD_CLK_PIO_ID = "PIOA_ID"
LCD_CLK_BIT = "18"
LCD_MOSI_PIO_ID = "PIOA_ID"
LCD_MOSI_BIT = "17"
LCD_RS_PIO_ID = "PIOB_ID"
LCD_RS_BIT = "23"
NUT_CONFIG_AT91EFC = ""
NUTMEM_SIZE = "0xFF00"
NUTMEM_START = "0x00200100"
NUT_THREAD_IDLESTACK = "512"
NUT_THREAD_MAINSTACK = "1024"
NUT_THREAD_TCPSMSTACK = "1024"
NUT_THREAD_DHCPSTACK = "1024"
NUT_THREAD_SNTPSTACK = "1024"
PHAT_SECTOR_BUFFERS = "6"

Regards,

Harald


More information about the En-Nut-Discussion mailing list