Jump to content

Recommended Posts

Posted

Hi everyone! i can't understand,where can i find ecos package? And one more question,is it possible to work with ugfx in Client/Server Mode? i want to connect two arm platforms via spi interface (one client, another-server).

Posted

Hello and welcome to the community!

There is no such thing as an 'ECOS package'. The ECOS support is built-in into the library. All you have to do is setting GFX_USE_OS_ECOS to TRUE in your configuration file.

About the master-slave: I'm not sure if I understand you correctly. When you want to have your GUI running on the master and the slave is just a passive terminal (the actual screen with touchscreen), this can be done easily. uGFX supports remote displays through the uGFXnet driver.

~ Tectu

Posted

An ecos package has not been built. It is on the todo list but is not high priority.

For now ugfx is treated as an application.

Tectu's answer above gives you the basics of that. Also look at the code in the boards/base/ecos... directory.

If you want a cpu connected as a remote display you can use the ugfxnet display driver and the corresponding display client but replace the networking with SPI code.

Alternatively you could write a new display driver based on one of the existing spi controllers and have the other device emulate that display

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...