How to Use Startup Scripts in VxWorks

How to Use Startup Scripts in VxWorks

How to use the startup script in VxWorks is something everyone should know. Here’s an example: Need to define the following two macros: #define INCLUDE_SHELL #define INCLUDE_STARTUP_SCRIPT Called in usrConfig.c: #ifdef INCLUDE_STARTUP_SCRIPT usrStartupScript (startupScriptFieldSplit (sysBootParams.startupScript)); #endif There might be an issue with devices like sata/sd/usb not working. The reason is that this function is executed … Read more