comp.lang.ada
 help / color / mirror / Atom feed
* Controlling st7789 screen from Ada on a rpi Pico ?
@ 2022-02-15 21:18 Björn Lundin
  2022-02-16  2:03 ` jer...@synack.me
  2022-02-18  9:31 ` Fabien Chouteau
  0 siblings, 2 replies; 5+ messages in thread
From: Björn Lundin @ 2022-02-15 21:18 UTC (permalink / raw)



So, I got my first Raspberry Pico :-)

I also got a 'Pico Explorer Base' device at
<https://shop.pimoroni.com/products/pico-explorer-base>

This thing has a st7789 screen. I got it to work with Python.

Now - I see that there is work done with the Pico and Ada - the
<https://pico-doc.synack.me> seems to be a good place to start.

I wonder if there is any port done already for this screen in Ada?
Google points me to some python and some c/c++ implementations (whereof 
Pimoroni's Github has some)

I also came across uGUI <http://embeddedlightning.com/ugui/> which 
loooks interesting. Same question there. Ada-port?

I hesitate to start translating one of the c-libraries - but
I probably will when time permits if nothing is already in place.


-- 
Björn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Controlling st7789 screen from Ada on a rpi Pico ?
  2022-02-15 21:18 Controlling st7789 screen from Ada on a rpi Pico ? Björn Lundin
@ 2022-02-16  2:03 ` jer...@synack.me
  2022-02-16  7:19   ` Björn Lundin
  2022-02-18  9:31 ` Fabien Chouteau
  1 sibling, 1 reply; 5+ messages in thread
From: jer...@synack.me @ 2022-02-16  2:03 UTC (permalink / raw)


On Tuesday, February 15, 2022 at 1:18:48 PM UTC-8, björn lundin wrote:
> So, I got my first Raspberry Pico :-) 
> 
> I also got a 'Pico Explorer Base' device at 
> <https://shop.pimoroni.com/products/pico-explorer-base> 
> 
> This thing has a st7789 screen. I got it to work with Python. 
> 
> Now - I see that there is work done with the Pico and Ada - the 
> <https://pico-doc.synack.me> seems to be a good place to start. 
> 
> I wonder if there is any port done already for this screen in Ada? 
> Google points me to some python and some c/c++ implementations (whereof 
> Pimoroni's Github has some) 
> 
> I also came across uGUI <http://embeddedlightning.com/ugui/> which 
> loooks interesting. Same question there. Ada-port? 
> 
> I hesitate to start translating one of the c-libraries - but 
> I probably will when time permits if nothing is already in place. 
> 
> 
> -- 
> Björn

The Pimoroni Picosystem uses a ST7789 screen, I have a driver for it in picosystem_bsp:

https://github.com/JeremyGrosser/picosystem_bsp/tree/master/src

I didn't implement every feature or video mode that the controller supports, so you may need to modify it to suit your needs.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Controlling st7789 screen from Ada on a rpi Pico ?
  2022-02-16  2:03 ` jer...@synack.me
@ 2022-02-16  7:19   ` Björn Lundin
  0 siblings, 0 replies; 5+ messages in thread
From: Björn Lundin @ 2022-02-16  7:19 UTC (permalink / raw)


Den 2022-02-16 kl. 03:03, skrev jer...@synack.me:

> 
> The Pimoroni Picosystem uses a ST7789 screen, I have a driver for it in picosystem_bsp:
> 
> https://github.com/JeremyGrosser/picosystem_bsp/tree/master/src
> 
> I didn't implement every feature or video mode that the controller supports, so you may need to modify it to suit your needs.


Perfect - just what I was looking for - thanks.

And thanks for the effort of bringing Ada to the Pico


-- 
Björn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Controlling st7789 screen from Ada on a rpi Pico ?
  2022-02-15 21:18 Controlling st7789 screen from Ada on a rpi Pico ? Björn Lundin
  2022-02-16  2:03 ` jer...@synack.me
@ 2022-02-18  9:31 ` Fabien Chouteau
  2022-02-18 17:18   ` Björn Lundin
  1 sibling, 1 reply; 5+ messages in thread
From: Fabien Chouteau @ 2022-02-18  9:31 UTC (permalink / raw)


On Tuesday, February 15, 2022 at 10:18:48 PM UTC+1, björn lundin wrote:
> I also came across uGUI <http://embeddedlightning.com/ugui/> which 
> loooks interesting. Same question there. Ada-port? 

I have an Ada binding [1] for the excellent lvgl GUI library [2]. You can get it from Alire: [3].
It is not in a very beginner friendly shape, but it works. I am trying to do a new version that should be easier to integrate into existing project.
Don't hesitate to say hello on the Ada Gitter chat if you want an little help setting it up.

[1] https://github.com/Fabien-Chouteau/lvgl-ada
[2] https://github.com/lvgl/lvgl
[3] https://alire.ada.dev/crates/lvgl_ada.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Controlling st7789 screen from Ada on a rpi Pico ?
  2022-02-18  9:31 ` Fabien Chouteau
@ 2022-02-18 17:18   ` Björn Lundin
  0 siblings, 0 replies; 5+ messages in thread
From: Björn Lundin @ 2022-02-18 17:18 UTC (permalink / raw)


Den 2022-02-18 kl. 10:31, skrev Fabien Chouteau:
> On Tuesday, February 15, 2022 at 10:18:48 PM UTC+1, björn lundin wrote:
> 
> I have an Ada binding [1] for the excellent lvgl GUI library [2]. You can get it from Alire: [3].

Interesting. When things at work calm down, I'll look into it
(so - I'm just investigating for later use)


> Don't hesitate to say hello on the Ada Gitter chat if you want an little help setting it up.

Ok, thanks - good to know



-- 
Björn

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-18 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 21:18 Controlling st7789 screen from Ada on a rpi Pico ? Björn Lundin
2022-02-16  2:03 ` jer...@synack.me
2022-02-16  7:19   ` Björn Lundin
2022-02-18  9:31 ` Fabien Chouteau
2022-02-18 17:18   ` Björn Lundin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox