Live data from Hacker News

Introduction to Embedded Systems Programming (Ada)

learn.adacore.com

1–10 of 20 posts

Re: Introduction to Embedded Systems Programming (Ada)

#2
AdaCore's docs are fantastic for understanding why things are done the way they are. However, when I'm learning a new platform or language I prefer to see a lot of practical examples first. That's what I tried to do with my "Ada on the Raspberry Pi Pico" project:

https://pico-doc.synack.me/

Re: Introduction to Embedded Systems Programming (Ada)

#3
post #2

AdaCore's docs are fantastic for understanding why things are done the way they are. However, when I'm learning a new platform or language I prefer to see a lot of practical examples first. That's what I tried to do with my "Ada on the Raspberry Pi Pico" project: https://pico-doc.synack.me/

Rosetta code is also a great help for classic stuff (not specifically embedded I mean).

Re: Introduction to Embedded Systems Programming (Ada)

#4
post #2

AdaCore's docs are fantastic for understanding why things are done the way they are. However, when I'm learning a new platform or language I prefer to see a lot of practical examples first. That's what I tried to do with my "Ada on the Raspberry Pi Pico" project: https://pico-doc.synack.me/

This is really cool. Thanks for sharing this. Is this a workable solution for the Raspberry Pi or is it more of a proof of concept? I need to learn Ada, but I'm really not a fan of C/C++ or Python, so I haven't gotten to join in on the fun of the Pico, yet.

Re: Introduction to Embedded Systems Programming (Ada)

#5
This seems like a great tutorial for both Ada and embedded systems in general. I'm definitely going to have to check this out more.

Can someone speak, at a high-level, on how Ada manages memory? I'm gonna read the docs, but if anyone has a good explanation here, that would be appreciated!

In general, I'm interested in learning more about embedded languages that are not C/C++ or Rust. To give some context, my dream embedded language is one like F# or OCaml that can be embedded (i.e., has manual memory management or some other solution).

Re: Introduction to Embedded Systems Programming (Ada)

#7
post #4
post #2

AdaCore's docs are fantastic for understanding why things are done the way they are. However, when I'm learning a new platform or language I prefer to see a lot of practical examples first. That's what I tried to do with my "Ada on the Raspberry Pi Pico" project: https://pico-doc.synack.me/

This is really cool. Thanks for sharing this. Is this a workable solution for the Raspberry Pi or is it more of a proof of concept? I need to learn Ada, but I'm really not a fan of C/C++ or Python, so I haven't gotten to join in on the fun of the Pico, yet.

It's more than a proof of concept; there are lots of examples, unit tests, and the linked documentation.

Pico Keys (https://www.tindie.com/products/fabien-c/pico-keys/) is a good example of a complex project built with rp2040_hal.

Note that this library is specific to the RP2040, not the larger Raspberry Pi boards. Some Ada drivers for those exist, but are not as well documented.

I also gave a short talk about some of the challenges I encountered earlier this year: https://youtu.be/Pwd9Q5ELAGM

Re: Introduction to Embedded Systems Programming (Ada)

#8
post #5

This seems like a great tutorial for both Ada and embedded systems in general. I'm definitely going to have to check this out more. Can someone speak, at a high-level, on how Ada manages memory? I'm gonna read the docs, but if anyone has a good explanation here, that would be appreciated! In general, I'm interested in learning more about embedded languages that are not C/C++ or Rust. To give some context, my dream em…

If you haven't already, the Nerves Project which is an embedded systems/IoT platform based on Elixir, might interest you.

https://www.nerves-project.org/

Re: Introduction to Embedded Systems Programming (Ada)

#9
post #5

This seems like a great tutorial for both Ada and embedded systems in general. I'm definitely going to have to check this out more. Can someone speak, at a high-level, on how Ada manages memory? I'm gonna read the docs, but if anyone has a good explanation here, that would be appreciated! In general, I'm interested in learning more about embedded languages that are not C/C++ or Rust. To give some context, my dream em…

If you haven't already, the Nerves Project which is an embedded systems/IoT platform based on Elixir, might interest you. https://www.nerves-project.org/

Yep! I love Elixir and am definitely aware of it. I haven't used Nerves proper yet, just some of the libraries that it's associated with, but I'd like to at one point. However, it is limited to soft real-time systems.
Post reply on HN