Commit Graph

11 Commits

Author SHA1 Message Date
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
ArdaFu eebb2561ec [bsp][tm4c129x] Do not free net driver rx pBuf in receive method when device is not ready. Fix#4625 2021-06-26 12:37:59 +08:00
Meco Man cb1892b4ce [tm4c129x] auto formatted 2021-03-21 22:31:27 +08:00
Simon 066a54fbc1
[bsp][tm4c129x] Update drv_eth.c
Decide whether to close eth hardware checksum by definition.
2019-03-29 09:43:32 +08:00
Bernard Xiong 61b6fca3dd [bsp] Update tm4c19x and fix the mb_recv warning in lwip-1.4.1 2018-12-27 12:04:48 +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
ArdaFu bc2a890ab0 [BSP] TM4C129X: fix the bug that components_init do not work in IAR project
1. modify each dirver's INIT_EXPORT micro.
2. modify the lwip parameters' in rtconfig.h
3. insert keep section .rti_fn* in IAR link file
4. change part id from TM4C129XNCZAD to TM4C1294NCPDT
2014-07-31 14:11:26 +08:00
ArdaFu 3879133d90 [BSP] tm4c129x add eth driver
1. Add ETH MAC driver using DMA for Tx and Rx lwip pBuf.
2. Modify the tivaware emac library to fix the bug that PHY read is not stable when sysclk is 120MHz
3. In PHY IRQ handler, insert a dummy reading (REG_BMSR) before read PHY_STS to force update STS register.
2014-07-25 19:07:25 +08:00
ArdaFu 1e396417d8 Revert "[BSP] tm4c129x:"
This reverts commit 666d12988a.
2014-07-25 19:02:37 +08:00
ArdaFu 666d12988a [BSP] tm4c129x:
1. Add ETH MAC driver using DMA for Tx and Rx lwip pBuf.
2. Modify the tivaware emac library to fix the bug that PHY read is not stable when sysclk is 120MHz
3. In PHY IRQ handler, insert a dummy reading (REG_BMSR) before read PHY_STS to force update STS register.
2014-07-25 18:58:56 +08:00