David Lin
e4f463ed13
Update tcpserver.c
...
This is 'tcp server', not is 'tcp client'
tcpclient -> tcpserver
2020-06-13 11:01:24 +08:00
David Lin
c74e40dbe5
Update udpserver.c
...
This is 'udp server', not is 'tcp client'
tcpclient -> udpserver
2020-06-13 10:57:38 +08:00
David Lin
79e4fed9ff
Update udpclient.c
...
This is 'udp client', not is 'tcp client', so
tcpclient -> udpclient
2020-06-13 10:52:54 +08:00
David Lin
5bb38bb4e8
Update msh_file.c
2020-06-13 10:13:51 +08:00
David Lin
7129694f38
[finsh]Fixed a bug may cause stackover flow
...
add code:
if (line_buf == RT_NULL) return -RT_ENOMEM;
2020-06-12 08:49:46 +08:00
David Lin
822df76f8e
Update ethernetif.c
2020-06-10 23:32:06 +08:00
David Lin
aa0b68a575
Update ethernetif.c
2020-06-10 23:30:44 +08:00
David Lin
8beb439926
Update ethernetif.c
2020-06-10 23:27:25 +08:00
David Lin
4f53c68b3b
Update ethernetif.c
2020-06-10 11:09:11 +08:00
David Lin
a5fddaecc3
Update ethernetif.c
2020-06-10 11:08:01 +08:00
David Lin
5f6c3d7345
Update ethernetif.c
...
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN',
not only equal to 'sizeof(struct netif)'.
2020-06-10 10:59:50 +08:00
David Lin
62b2038fe6
[libcpu]Fixed the wrong notes in context_iar.S
...
swith -> switch
2020-06-10 10:15:06 +08:00
David Lin
5e507448ee
Update start_gcc.S
2020-04-17 19:18:52 +08:00
David Lin
90f41ef8a2
Update start_gcc.S
2020-04-17 19:12:18 +08:00
David Lin
993835b5ed
Update tcpsendpacket.c
2020-04-17 18:44:15 +08:00
David Lin
8e57dcb723
Update tcpsendpacket.c
2020-04-17 18:39:04 +08:00
David Lin
8a965bce46
Update kernel.h
...
thead -> thread
2020-04-17 17:09:57 +08:00
David Lin
e9d930070d
Update pipe.c
2020-04-13 07:20:29 +08:00
David Lin
ff09587d23
[components/drivers] update pipe.c
...
Fixed stackover flow bug when create pipe->fifo
2020-04-12 11:58:33 +08:00
David Lin
985a70ab15
Update hub.c
2020-03-21 20:56:31 +08:00
David Lin
10e0f28754
Update cdc_vcom.c
2020-03-21 20:54:13 +08:00
David Lin
3679dfa07e
Update ecm.c
2020-03-21 20:42:55 +08:00
David Lin
d38dbcaaa3
Update pwm.c
2020-03-15 07:22:34 +08:00
David Lin
508b334fe7
Update pwm.c
2020-03-15 00:21:38 +08:00
David Lin
45ae555a0b
[bsp]Fixed a stack overflow bug in drv_crypto.c
...
Added if null before used.
2020-03-14 23:11:37 +08:00
David Lin
25ac5039e7
Update pwm.c
...
rt_malloc -> rt_calloc
2020-03-14 22:38:48 +08:00
David Lin
b2d33e9147
Update pwm.c
2020-03-08 07:18:37 +08:00
David Lin
c689c2c67f
Fixed a hidden stack overflow bug
...
'memset' should been next step after 'NULL' judge
2020-03-08 00:48:32 +08:00
David Lin
eb5467bece
Fixed wrong output information in core.c
...
rt_kprintf("alloc memery failed\n"); -> rt_kprintf("alloc memory failed\n");
2020-03-08 00:20:31 +08:00
David Lin
622e8cb0ca
Fixed typo 'rthread' in help infomation
...
rthread -> rtthread
2020-03-06 21:46:21 +08:00
David Lin
053ffb0527
Fixed typos in Kconfig
...
mesage -> message
memmory -> memory
2020-03-05 09:20:05 +08:00
David Lin
39538e036b
Fixed wrong output information
...
to ->too
2020-03-04 23:13:45 +08:00
David Lin
f9ab9d5868
Fixed wrong output information
...
to -> too
2020-03-04 23:04:52 +08:00
David Lin
fac95192ea
[finsh]Minor optimization in finsh_compiler.c
...
The code just clean the first member of array 'finsh_vm_stack', but it works well in the past years,
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack[0]));
Is it better to re-code as below, it will be more readable and robust:
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack));
2020-02-29 16:53:44 +08:00
David Lin
c15ebec442
[bsp] Fixed the wrong output infomation in Kconfig
...
RT-Thrad -> RT-Thread
2020-02-27 23:10:40 +08:00
David Lin
f4a2a00f3d
[bsp/stm32]Fixed typo 'lenth' in drv_eth.c
...
Note that the word 'lenth' is wrong in the output infomation,
so that 'lenth' should been replaced with 'length'.
And floder-> folder in line 22.
2020-02-24 20:54:53 +08:00
David Lin
011ed26bac
[bsp/hifive1]Fixed symbol error in interrupt.c
...
Note that the symbol ';;' is wrong in 'return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);;',
so that ';;' should been replaced with ';'.
2020-02-24 20:12:23 +08:00
David Lin
ec20c2c7ff
Fixed typo 'WirtePageWithLayout' in uffs
...
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:37:05 +08:00
David Lin
3790384734
Fixed typo 'WirtePageWithLayout' in uffs
...
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:34:21 +08:00
David Lin
8d497e945a
Fixed typo 'WirtePageWithLayout' in uffs
...
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:30:35 +08:00
David Lin
d33230bcff
Fixed spelling mistakes of function
...
LPC17xx_SD_WirteDataBlock -> LPC17xx_SD_WriteDataBlock
2020-02-20 09:13:46 +08:00
David Lin
e16591ced1
Fixed typo: 'lenght' and 'sfotware' in Kconfig
...
lenght -> length
sfotware -> software
2020-02-19 22:35:43 +08:00
David Lin
8b4f55a34b
Fixed spelling mistakes of code in drv_sound.c
...
macro error:
PL041_CHANNLE_LEFT_DAC -> PL041_CHANNEL_LEFT_DAC
PL041_CHANNLE_RIGHT_DAC -> PL041_CHANNEL_RIGHT_DAC
PL041_CHANNLE_LEFT_ADC -> PL041_CHANNEL_LEFT_ADC
PL041_CHANNLE_RIGHT_ADC -> PL041_CHANNEL_RIGHT_ADC
parameter error:
channle -> channel
functions error:
aaci_pl041_channle_disable -> aaci_pl041_channel_disable
aaci_pl041_channle_enable -> aaci_pl041_channel_enable
aaci_pl041_channle_write -> aaci_pl041_channel_write
aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:39:32 +08:00
David Lin
8a3b6b1da1
Update drv_pl041.h
2020-02-17 22:32:43 +08:00
David Lin
9ca77d6f51
Fixed spelling mistakes of code in drv_pl041.h
...
macro error:
PL041_CHANNLE_LEFT_DAC -> PL041_CHANNEL_LEFT_DAC
PL041_CHANNLE_RIGHT_DAC -> PL041_CHANNEL_RIGHT_DAC
PL041_CHANNLE_LEFT_ADC -> PL041_CHANNEL_LEFT_ADC
PL041_CHANNLE_RIGHT_ADC -> PL041_CHANNEL_RIGHT_ADC
parameter error:
channle -> channel
functions error:
aaci_pl041_channle_disable -> aaci_pl041_channel_disable
aaci_pl041_channle_enable -> aaci_pl041_channel_enable
aaci_pl041_channle_read -> aaci_pl041_channel_read
aaci_pl041_channle_write -> aaci_pl041_channel_write
aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:31:51 +08:00
David Lin
1f353c6f17
Fixed spelling mistakes of code in drv_pl041.c
...
macro error:
PL041_CHANNLE_NUM -> PL041_CHANNEL_NUM
parameter error:
channle -> channel
functions error:
aaci_pl041_channle_disable -> aaci_pl041_channel_disable
aaci_pl041_channle_enable -> aaci_pl041_channel_enable
aaci_pl041_channle_read -> aaci_pl041_channel_read
aaci_pl041_channle_write -> aaci_pl041_channel_write
aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:11:57 +08:00
David Lin
36d2652f0d
Fixed typo 'threah' and 'swithc' in cpuport.c
...
Fixed typo:
threah -> thread
swithc -> switch
2020-02-17 09:13:17 +08:00
David Lin
ca1e9137d6
[net] Fixed macro error in lc-switch.h
...
Fixed macro error: __LC_SWTICH_H__ -> __LC_SWITCH_H__
2020-02-16 20:54:45 +08:00
David Lin
7ef85206dd
Fixed function spelling mistakes in context_iar.S
...
swtich_to_thread -> switch_to_thread
2020-02-16 20:39:50 +08:00
David Lin
91f1ab5efd
Fixed typo: 'swtich' coding_style_cn.md
...
Note that the word 'swtich' is wrong,
so that 'swtich' should been replaced with 'switch'.
2020-02-16 20:21:33 +08:00
David Lin
8e19bec11b
Fixed typo: 'wirte' in uffs_nandif.c
...
Note that the word 'wirte' is wrong,
so that 'wirte' should been replaced with 'write'.
2020-02-16 20:08:36 +08:00
David Lin
812d3d2833
Fixed typo: 'lenght'
...
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 17:07:34 +08:00
David Lin
e5845ea753
Fixed typo: 'commond'
...
Note that the word 'commond' is wrong,
so that 'commond' should been replaced with 'command'.
2020-02-16 16:31:39 +08:00