sage Posted May 20, 2019 Report Share Posted May 20, 2019 I want to give uGFX a try and integrate it into my existing cubeMX Makefile Project. (Bare Metal, no OS, no special tool-chain). As I understand, I have to do following steps: 1) Download the GFX Library - done 2) Edit the gfxconf.h: #define GFX_USE_OS_RAW32 GFXON - done 3) Edit the Makefile which cubeMX generated. Correct? Set the GFXLIB variable to the path pointing to the µGFX library root directory Include the main µGFX Makefile (/ugfx/gfx.mk) Add GFXSRC to the sources variable/list Add GFXINC to the include paths variable/list Include additional Makefiles of the µGFX library to include board files, drivers, ... How do I do this and where in the cubemx generated Makefile? Is there an example somewhere? This would be awesome and save lots of time ? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted May 28, 2019 Report Share Posted May 28, 2019 Hi, Unfortunately, we never worked with CubeMX enerated Makefiles ourselves. However, there are plenty of community members that did this successfully. As it's Makefile based you should definitely be able to just follow the official Makefile guide that you quoted in your post. Maybe someone like @cpu20 could help here (he's this community's IDE expert). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now