This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why am I getting these errors after importing a project?

I want to import a project for the MCB1700 onto my LCP1769 and I am getting like 130 warnings. Why could that be? I think I loaded the right packs.

C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.h(59): warning: 'RTE_ENET_MII' is not defined, evaluates to 0 [-Wundef]
#if (RTE_ENET_MII && RTE_ENET_RMII)
     ^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(96): warning: 'RTE_ENET_MII' is not defined, evaluates to 0 [-Wundef]
#if (RTE_ENET_MII)
     ^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(136): warning: 'RTE_ENET_MII' is not defined, evaluates to 0 [-Wundef]
#if (RTE_ENET_MII)
     ^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(178): warning: missing field 'reserved' initializer [-Wmissing-field-initializers]
};
^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(195): warning: no previous extern declaration for non-static variable 'iap_entry' [-Wmissing-variable-declarations]
IAP iap_entry = (IAP)0x1FFF1FF1;
    ^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(70): warning: In file included from...
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.h(337): warning: padding struct 'EMAC_CTRL' with 2 bytes to align 'frame_end' [-Wpadded]
  uint8_t          *frame_end;              // End of assembled frame fragments
                    ^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(641): warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
    default:
    ^
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(699): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  LPC_EMAC->SA0 = (ptr_addr->b[5] << 8) | ptr_addr->b[4];
                ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(700): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  LPC_EMAC->SA1 = (ptr_addr->b[3] << 8) | ptr_addr->b[2];
                ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(701): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  LPC_EMAC->SA2 = (ptr_addr->b[1] << 8) | ptr_addr->b[0];
                ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
C:/Keil_v5/ARM/PACK/Keil/LPC1700_DFP/2.6.0/RTE_Driver/EMAC_LPC17xx.c(886): warning: no previous prototype for function 'ENET_IRQHandler' [-Wmissing-prototypes]