Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

4.2.3.1.3. Controlling HAL Initialization

As noted in “HAL Initialization”, although most application debugging begins in the main() function, some tasks, such as debugging device driver initialization, require the ability to control overall system initialization after the crt0 initialization routine runs and before main() is called.

For an example of this kind of application, refer to the hello_alt_main software example design supplied with the Nios® II EDS installation.