Commit Graph

22 Commits

Author SHA1 Message Date
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
Meco Man 958d940575 [lpcxxx] auto formatted 2021-03-17 02:26:35 +08:00
misonyo e5ed62251a [bsp/lpc54608]write high to scl and sda pin after init 2019-05-22 15:04:55 +08:00
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 Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
tangyuxin ded66869c6 [bsp]54608更新GUI引擎宏定义 2017-12-07 19:09:23 +08:00
tanek liang f7b434481c [bsp] fix bug: emac hardfault when RJ45 not inserted 2017-11-25 21:10:40 +08:00
tanek liang e2b5f7a722 [bsp] update emac driver
- fix 10 or hard duplex not work
- rewrite tx/rx function
- update emac init function
2017-11-24 20:20:11 +08:00
tanek liang 40d0ff9960 [bsp] add iar support for lpc54608 and fix sdram bug 2017-11-16 11:05:32 +08:00
tanek liang 71818e8da1 [bsp] lpc54608 update MDK scatter file 2017-11-16 11:05:32 +08:00
DengQilong 7df2b52826 update bsp_lpc54608 2017-11-14 16:48:36 +08:00
DengQilong e79f9e6b02 fix bsp for lpc54608 2017-11-13 14:18:05 +08:00
Bernard Xiong 21daf7359a
Update drv_i2c.c 2017-11-10 19:47:53 +08:00
Bernard Xiong 6f91a917c6
Update SConscript 2017-11-10 19:46:00 +08:00
bernard 296d57e859 [BSP] remove components.h file. 2017-10-16 14:10:18 +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