Commit Graph

4 Commits

Author SHA1 Message Date
misonyo a454393994 [BSP][all NXP]change license to Apache-2.0 2018-10-22 11:02:50 +08:00
zheng-chow ed75173cac Fix the SD Card and EMAC issue:
1. The issue concerns sdmmc library bug (I finally solved) in SD_Init() in the file sdmmc/src/fsl_sd.c:SD_SelectBusTiming()
calls SD_SwitchFunction() which sets block size to 64bytes (512bits).Therefore SD_SetBlockSize(card, FSL_SDMMC_DEFAULT_BLOCK_SIZE)
should be called again before SD_Init() exits.
2. The issue is wrong variable in drv_emac.c:lpc_emac_tx(), and the wrong data length of send packet
to cause the send failure.

Signed-off-by: zheng-chow <sernia.zhou@foxmail.com>
2018-06-04 18:14:59 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
Bernard Xiong 71d1f7faa9 [bsp] Add LPC54608 2017-08-08 11:56:50 +08:00