ivan47 Posted April 3, 2015 Report Share Posted April 3, 2015 Okay, the question is pretty dumb. Why do you have to define which OS do you use. For example:/* The operating system to use. One of these must be defined - preferably in your Makefile *///#define GFX_USE_OS_CHIBIOS TRUE//#define GFX_USE_OS_WIN32 FALSE//#define GFX_USE_OS_LINUX FALSE//#define GFX_USE_OS_OSX FALSE#define GFX_USE_OS_RAW32 TRUEI already read the GOS article on wiki page. If someone coul explain me, the dumb way preferably. I was also wondering, I want to make my application modular, that is I want to use STDperiph library for bare-metal applications, but if I want to implement FreeRTOS in the same application, could I do that without some major modification in my conf file ? Link to comment Share on other sites More sharing options...
inmarket Posted April 3, 2015 Report Share Posted April 3, 2015 Yes you can do it without making major modifications to your conf file. Do as the comment suggests and put that particular symbol in your makefile. In fact using the ugfx makefile it is a one line change to use a different operating system. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted April 3, 2015 Report Share Posted April 3, 2015 To answer your other question: The reason why you have to tell uGFX which OS you are using is so that you can easily use the same application with different underlying systems without any modifications. And as you see this is exactly what you want and one of the main advantages of using uGFX: It is totally portable.~ Tectu 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