2019年1月30日

Unit Test

摘要: Use unify unit test framework CPPUnit 1.12.1/Visual stdio Unit is a class or a function Test per major component Test by developer Set up clean enviro 阅读全文

posted @ 2019-01-30 12:18 荷树栋 阅读(128) 评论(0) 推荐(0) 编辑

About the test in development

摘要: Unit test (by SW): Specify and test one point of the contract of single method of a class. This should have a very narrow and well defined scope. Comp 阅读全文

posted @ 2019-01-30 12:17 荷树栋 阅读(96) 评论(0) 推荐(0) 编辑

What are User and Group Permissions

摘要: https://www.linode.com/docs/tools-reference/linux-users-and-groups/ What are User and Group Permissions?Permalink Linux/Unix operating systems have th 阅读全文

posted @ 2019-01-30 11:58 荷树栋 阅读(243) 评论(0) 推荐(0) 编辑

Makefile introduction

摘要: #print in makefile $(error VAR is $(VAR)) $(warning VAR is $(VAR)) $(info VAR is $(VAR)) #make and log to a file make 2>&1 | tee build.log File descri 阅读全文

posted @ 2019-01-30 11:35 荷树栋 阅读(162) 评论(0) 推荐(0) 编辑

sudo command

摘要: sudo -i : login as sudo password: change the password of current login user exit : logout 阅读全文

posted @ 2019-01-30 11:25 荷树栋 阅读(139) 评论(0) 推荐(0) 编辑

TCP/IP option data aligement issue cause system broken

摘要: 1 Problem Description The field reports show that xxx panel will lockup and then reboot while doing security port scan by nmap. 2 Root Cause After ana 阅读全文

posted @ 2019-01-30 10:35 荷树栋 阅读(222) 评论(0) 推荐(0) 编辑

2019年1月29日

how to use Eclipse for kernel development

摘要: http://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source Here are some steps that I've found to get the CDT to work well with the Lin 阅读全文

posted @ 2019-01-29 10:55 荷树栋 阅读(483) 评论(0) 推荐(0) 编辑

uname command

摘要: The command uname helps us in development special in scripts, see help of the uname uname --help Usage: uname [OPTION]... Print certain system informa 阅读全文

posted @ 2019-01-29 10:39 荷树栋 阅读(135) 评论(0) 推荐(0) 编辑

2019年1月28日

Using pointer to access array instead of index

摘要: see MSP430 coding example below. uint8_t parity = 0; uint8_t index = 0; //flag gMUXTask.responseData[index++] = MUX_DATA_BIT_LOW; //dirty gMUXTask.res 阅读全文

posted @ 2019-01-28 11:20 荷树栋 阅读(128) 评论(0) 推荐(0) 编辑

Abstract Data Types in C

摘要: Interface declares operations, not data structure Implementation is hidden from client (encapsulation) Use features of programming language to ensure 阅读全文

posted @ 2019-01-28 11:14 荷树栋 阅读(177) 评论(0) 推荐(0) 编辑

导航