| Age | Commit message (Collapse) | Author |
|
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
|
|
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
|
|
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
|
|
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
|
|
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
in rt_console_set_device, open new device first and get the new device to _console_device.
我在编写程序时,在device驱动中打印log,但是使用rt_kprintf时,如果_console_device存在非空,那就执行驱动的write函数,但是这是device还没有初始化成功,但是已经提前给_console_device赋值,导致了程序无故fault,以上述修改可避开这样的矛盾。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the source of components.c from the project.
Signed-off-by: pangwei <[email protected]>
|
|
|
|
|
|
|
|
Fix a regression on 62a0172d11e5592.
|
|
The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it
right.
|
|
|
|
This will ease the debugging of double-free bug.
|
|
|
|
|
|
|
|
|
|
|
|
Commit a6251a439e7385f changed the serial device to check open_flag
instead of flag. So we should change the rt_kprintf counterpart as well.
|
|
|
|
ARMCC will define __GNUC__ in "GNU mode"(with --gnu command line
option). So iff __GNUC__ && !__CC_ARM is GCC.
|
|
Use signed int as array index is unsecure.
|
|
|
|
|
|
|
|
|