Forum > Embedded
Lazarus Embedded GUI
Mathias:
Lazarus Embedded GUI
I've been developing a GUI for a long time, with which you can easily create programs for embedded systems.
The advantage of the package, almost all settings for compilers and programmers are taken care of.
The AVRs are already very well supported, especially the ordinary Arduinos.
There are quite a few examples for the Arduino UNO.
There are more and more, even for non-Arduino.
STM-32, Arduino DUO, ESPxxx and Rasberry Pico also work, only the examples are (still) missing.
A serial monitor similar to the Arduino IDE is also built in.
Downloads:
https://github.com/sechshelme/Lazarus-Embedded
Installation:
At Lazarus at "Open Package/Package File (.lpi) .../"
Then open this file, compile and install it. ./Lazarus_Embedded_GUI_Package/embedded_gui_package.lpk
Example for an Arduino:
Via "File --> New... --> Project --> [Embedded] Embedded-Project --> Templates... --> Arduino UNO --> Blink Pin 13 --> Ok --> Ok"
an Arduino UNO Project can then be created.
If you want to change something at runtime, you can edit the values via "Project --> [Embedded] Options".
Final word:
The package is developed under Linux, so it may still have bugs under Windows.
A functional embedded cross compiler is required.
I'm always grateful for feedback, whether it's posted directly in the forum or in the Issus ;)
Handoko:
That looks great.
I have an Arduino but I am busy currently, will try your Lazarus Embedded GUI when I have time.
Thank you for sharing it.
ccrause:
Thank you for sharing this Mathias, it has great potential to help getting new users started in the embedded Pascal world.
A couple of observations on the GUI:
* I expect a selection (say AVR) to hide non-relevant options elsewhere, for example only show AVRDude as programmer option, the other programmers are not relevant (maybe UF2 too).
* Currently the CPU info window does not show the controllers for the selected architecture on the main window. As an additional feature, when selecting a controller, the OK button can copy the controller back to the main window (this will then also require a Cancel button)
* The AVRDude panel does not show the bottom setting on my small laptop screen - scroll bars should be enabled so that users with smaller screens can navigate to out of view areas
* Changing the architecture should clear the previously selected example template (could be an empty program skeleton), else one ends up with an example that isn't compatible with the new architecture
* I think the Programmer selection should only happen in one place, either as radiobuttons or maybe a dropdown list. Then only show the configuration for the selected programmer.
Of course these observations are just my expectation of the work flow of using the interface.
MarkMLl:
I'll try and take a look at this, possibly when I'm next looking at a Pico, but as a question:
--- Quote from: Mathias on September 21, 2022, 04:31:06 pm ---A functional embedded cross compiler is required.
--- End quote ---
Assuming that the FPC sources were available, could it build a cross compiler as needed?
MarkMLl
ccrause:
--- Quote from: MarkMLl on September 21, 2022, 09:14:21 pm ---
--- Quote from: Mathias on September 21, 2022, 04:31:06 pm ---A functional embedded cross compiler is required.
--- End quote ---
Assuming that the FPC sources were available, could it build a cross compiler as needed?
--- End quote ---
This would be great in principle, but requires quite a bit of work to ensure a working cross compiler with bin tools ready to use. Fpcupdeluxe already do this well, so perhaps this tool could scan for available cross compiler's and give a warning or note if it is missing.
Navigation
[0] Message Index
[#] Next page