MarlinFirmware / U8glib-HAL

Customized U8glib for use in Marlin 2.0
Other
45 stars 33 forks source link
3d-printing firmware lcd-display library reprap

U8glib-HAL

u8g by Oliver Kraus with extensions for ARM and the Marlin HAL.

The extensions allow access to the u8g library by "non native" CPUs/systems.

AVR, Arduino, and Due access to the library is not changed.

Enabling the extensions by defining the flag U8G_HAL_LINKS. This can be done in platformio.ini by adding -DU8G_HAL_LINKS to any environment's build flags.

The following files provide the links between the u8g library and the "non native" CPUs/systems.

#include <LCD_defines.h>

The LCD_defines.h header brings in the top level link file which:

#include <LCD_delay.h>

Contains code or declarations for the u8g routines:

#include <LCD_pin_routines.h>

Contains code or declarations for the u8g routines:

#include <LCD_I2C_routines.h>

Contains code or declarations for the u8g routines:

MarlinFirmware Changes