Visible to Intel only — GUID: iga1430780367953
Ixiasoft
Visible to Intel only — GUID: iga1430780367953
Ixiasoft
1.12.3. Reducing Driver Code and Memory Footprint
The Nios II SBT provides BSP settings to configure the HAL. You manipulate these settings through the BSP Editor, or with the --set parameter to nios2-bsp.
The Nios II SBT settings are described in "Settings" in the "Nios II Software Build Tools Reference" chapter in the Nios II Software Developer's Handbook.
The Reduced device drivers and Lightweight device driver API options are of particular interest, because they reduce the code and data footprint at the expense of device driver functionality. Additionally, they set #define parameters that the my_uart_driver device driver needs to examine and handle. The setting values are documented in the summary.html file generated by nios2-bsp, in <my_design> /software_examples/bsp/hal_my_uart.
Section Content
Using the Reduced Device Drivers API Option
Using the Lightweight Device Drivers API Option