Recent

Author Topic: AVR / Arduino GUI Package for Lazarus  (Read 482 times)

Mathias

  • New Member
  • *
  • Posts: 26
AVR / Arduino GUI Package for Lazarus
« on: February 19, 2020, 01:50:08 pm »
I now officially present my component, with which you can very easily create an Arduino / AVR project.
To install the component, as usual with components, simply open via "Package -> Package file (* .lpk) ..."
Then select "Use -> Install", then confirm the dialog with [Yes].

An "Arduino AVR Project" can then be created via "File -> New ... -> Project -> AVR Project (Arduino)".
If you want to change something at runtime, you can edit the values ​​via "Project -> AVR Options".

The AVR5 family is currently supported. This applies above all to the popular ATmega and the Arduino Uno & Nano.
With the button template, you can directly select the parameters for common Arduino / AVR.

The prerequisite that everything runs is a functioning cross compiler.
How this works, everything is described here: https://wiki.freepascal.org/AVR_Embedded_Tutorial/de

Download the package: https://github.com/sechshelme/Lazarus-Embedded/tree/master/Lazarus_Arduino_AVR_GUI_Package

I am always welcome for feedback. : Wink:
Especially when someone tests it on Windows.
« Last Edit: February 20, 2020, 05:10:20 pm by Mathias »

ccrause

  • Full Member
  • ***
  • Posts: 241
Re: AVR / Arduino GUI Package for Lazarus
« Reply #1 on: February 19, 2020, 08:15:33 pm »
Good work!

BlueIcaro

  • Hero Member
  • *****
  • Posts: 584
Re: AVR / Arduino GUI Package for Lazarus
« Reply #2 on: February 19, 2020, 08:35:31 pm »
Nice work, but link to wiki doesn't work.
/BlueIcaro
Remenber, the lazarus wiki is your friend: http://wiki.lazarus.freepascal.org/Main_Page
General questions (several lenguages) http://wiki.lazarus.freepascal.org/

af0815

  • Hero Member
  • *****
  • Posts: 505
Re: AVR / Arduino GUI Package for Lazarus
« Reply #3 on: February 20, 2020, 06:31:11 am »
I think this link

https://wiki.freepascal.org/AVR_Embedded_Tutorial_-_Entry_Lazarus_and_Arduino/de (German original)
https://wiki.freepascal.org/AVR_Embedded_Tutorial_-_Entry_Lazarus_and_Arduino (Translated english)

was shortend.

I known this very interesting articles were written first in german and then translated to other languages, so the german are the leading articles if something is not finished in english. Thanks to trev for his translation.
« Last Edit: February 20, 2020, 06:36:01 am by af0815 »
regards
Andreas

Mathias

  • New Member
  • *
  • Posts: 26
Re: AVR / Arduino GUI Package for Lazarus
« Reply #4 on: February 20, 2020, 05:14:09 pm »
Thanks for the feedback

Nice work, but link to wiki doesn't work.
/BlueIcaro
I corrected the links, they were somehow destroyed in the forum.  :-[
« Last Edit: February 21, 2020, 06:03:53 pm by Mathias »

Mathias

  • New Member
  • *
  • Posts: 26
Re: AVR / Arduino GUI Package for Lazarus
« Reply #5 on: March 13, 2020, 04:15:37 pm »
Now it is also possible to select ARM types.
This also includes STM32.

As always, I am grateful for mistakes and suggestions.

avra

  • Hero Member
  • *****
  • Posts: 1834
    • Additional info
Re: AVR / Arduino GUI Package for Lazarus
« Reply #6 on: March 13, 2020, 05:46:51 pm »
Things are getting better and better  :D
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Mathias

  • New Member
  • *
  • Posts: 26
Re: AVR / Arduino GUI Package for Lazarus
« Reply #7 on: March 15, 2020, 05:23:12 pm »
Since the fpc sources (cpuinfo.pas) contain data on memory size, etc., I have installed an info box.
First for the AVR and this with a simple TMemo.

For this I have installed a button "CPU Info ...".o.