Fault manager of Hongmeng light kernel M core: fault exception handling

Abstract: This paper first briefly introduces the Fault exception type, vector table and its code, exception handling C language program, and then analyzes the implementation code of exception handling assembly function in detail. This article is shared from Huawei cloud community< Hongmeng light kernel M kernel source code analysis serie ...

Posted by kampbell411 on Thu, 28 Oct 2021 20:40:55 -0700

Application of gcc compile option pg in embedded profile

Application of gcc compile option pg in embedded profile Problem introduction First of all, this paper mainly describes how to use the - pg compilation option of gcc to implement some function level profile s, code coverage tests and even trace functions in the embedded bare metal or RTOS system environment. About this compilation option GCC ...

Posted by dc_jt on Tue, 21 Sep 2021 15:53:20 -0700