Jump to content

uGFX implementing OS


ivan47

Recommended Posts

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 TRUE

I 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...