简体   繁体   English

有什么方法可以在PIC电路上运行GTK程序(C)?

[英]Is there a way i can run my GTK program (C) on a PIC circuit?

I never before had worked with PIC circuits, i recently was asked to run my C program, with GTK libraries on a PIC circuit, is that posible? 我以前从未接触过PIC电路,最近被要求运行我的C程序,并在PIC电路上使用GTK库,这可行吗? As far as i know pic cant run GUI or Ubuntu . 据我所知,图片不能运行GUI或Ubuntu。

Im sorry if the question is kinda dumb, but im all ears to advice 我很抱歉,如果这个问题有点愚蠢,但我会全力以赴

PIC series are 8-32 Bit micro controllers. PIC系列是8-32位微控制器。 There is no way for them to support an OS such as Linux/Unix/Windows with OpenGL support. 他们无法通过OpenGL支持诸如Linux / Unix / Windows之类的操作系统。 So, that means, even though you manage to handle the SDRAM and HDD/SSD problems by using external ram and eeproms, you will have to write a huge amount of code, such that GTK+ will be a superficial API for you. 因此,这意味着,即使您设法通过使用外部ram和eeproms处理SDRAM和HDD / SSD问题,您也必须编写大量代码,这样GTK +才是您的肤浅API。 At that point, it does not matter if the API is called GTK+ or not. 此时,API是否被称为GTK +无关紧要。

Seriously though, don't do it. 严重的是,不要这样做。

So, it seems there are GUIs on modern PIC chips: 因此,现代PIC芯片上似乎有GUI:

http://www.microchip.com/design-centers/graphics http://www.microchip.com/design-centers/graphics

However, you won't run a Linux nor GTK+ on it, you will need to use the dedicated graphic libraries provided by microchip. 但是,您将无法在其上运行Linux或GTK +,您将需要使用微芯片提供的专用图形库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM