1 year, 6 months ago.

MBed Studio - Compile Issue with the LPCXpresso54608

Hello,

I'm getting started with the MBed Studio Beta IDE. I just tried to compile the Blinky example project for the LPCXpresso54608 board. I get compiler errors (see bottom of post for details) when I try to build the project. Everything works fine with the online compiler. Also, I was successful in building and deploying the Blinky example for the FRDM-K64F board using the MBed Studio Beta IDE.

Any Suggestions? The online doc's say the LPCXpresso54608 is support in the MBed Studio Beta.

Regards,

Tom Doyle

--------

Compiler - Error Info:

  • Compile [ 71.9%]: ac_buffer.c Compile [ 72.0%]: ac_buffer_builder.c Compile [ 72.2%]: lpc546xx_emac.cpp [ERROR] .\mbed-os\features\netsocket\emac-drivers\TARGET_NXP_EMAC\TARGET_MCU_LPC546XX\lpc546xx_emac.cpp:202:5: error: use of undeclared identifier 'align' AT_NONCACHEABLE_SECTION_ALIGN(static enet_rx_bd_struct_t rx_desc_start_addr[ENET_RX_RING_LEN], ENET_BUFF_ALIGNMENT); ^ .\mbed-os\targets\TARGET_NXP\TARGET_MCUXpresso_MCUS\TARGET_MCU_LPC546XX\drivers/fsl_common.h:308:56: note: expanded from macro 'AT_NONCACHEABLE_SECTION_ALIGN'
  1. define AT_NONCACHEABLE_SECTION_ALIGN(var, alignbytes) align(alignbytes) var ^ .\mbed-os\features\netsocket\emac-drivers\TARGET_NXP_EMAC\TARGET_MCU_LPC546XX\lpc546xx_emac.cpp:203:5: error: use of undeclared identifier 'align' AT_NONCACHEABLE_SECTION_ALIGN(static enet_tx_bd_struct_t tx_desc_start_addr[ENET_TX_RING_LEN], ENET_BUFF_ALIGNMENT); ^ .\mbed-os\targets\TARGET_NXP\TARGET_MCUXpresso_MCUS\TARGET_MCU_LPC546XX\drivers/fsl_common.h:308:56: note: expanded from macro 'AT_NONCACHEABLE_SECTION_ALIGN'
  2. define AT_NONCACHEABLE_SECTION_ALIGN(var, alignbytes) align(alignbytes) var ^ .\mbed-os\features\netsocket\emac-drivers\TARGET_NXP_EMAC\TARGET_MCU_LPC546XX\lpc546xx_emac.cpp:209:9: error: use of undeclared identifier 'tx_desc_start_addr' &tx_desc_start_addr[0], ^ .\mbed-os\features\netsocket\emac-drivers\TARGET_NXP_EMAC\TARGET_MCU_LPC546XX\lpc546xx_emac.cpp:210:9: error: use of undeclared identifier 'tx_desc_start_addr' &tx_desc_start_addr[0], ^ .\mbed-os\features\netsocket\emac-drivers\TARGET_NXP_EMAC\TARGET_MCU_LPC546XX\lpc546xx_emac.cpp:211:9: error: use of undeclared identifier 'rx_desc_start_addr' &rx_desc_start_addr[0], ^ .\mbed-os\features\netsocket\emac-drivers\TARGET_NXP_EMAC\TARGET_MCU_LPC546XX\lpc546xx_emac.cpp:212:9: error: use of undeclared identifier 'rx_desc_start_addr' &rx_desc_start_addr[ENET_RX_RING_LEN], ^ 6 errors generated.
Be the first to answer this question.