Thread overview
Extending classical Arduino toolchain with LDC2/AVR
October 16

Are there any working tutorial/samples for extending classical Arduino with LDC2/D ?

BetterC is enough for the first time, as the most effort I'll should be done for wrapping some of C libs.

  • Debian Linux 12.
  • ~/Arduino/arduino-ide_2.2.1_Linux_64bit, and
  • LCD2 installed in /opt/ldc2-1.32.0-linux-x86_64/
October 16

On Monday, 16 October 2023 at 12:32:44 UTC, Dmitry Ponyatov wrote:

>

Are there any working tutorial/samples for extending classical Arduino with LDC2/D ?

BetterC is enough for the first time, as the most effort I'll should be done for wrapping some of C libs.

  • Debian Linux 12.
  • ~/Arduino/arduino-ide_2.2.1_Linux_64bit, and
  • LCD2 installed in /opt/ldc2-1.32.0-linux-x86_64/

adr has examples for this somewhere. Check this https://dpldocs.info/this-week-in-d/Blog.Posted_2022_10_10.html

October 16
>

adr has examples for this somewhere. Check this https://dpldocs.info/this-week-in-d/Blog.Posted_2022_10_10.html

Thanks, I also found a first step variant with empty .ino file and cross-generation into src/dlanged.S assembly with LDC2.

Next step is more complicated: manual writing binding with Arduino core and side libraries.

January 30

On Monday, 16 October 2023 at 12:32:44 UTC, Dmitry Ponyatov wrote:

>

Are there any working tutorial/samples for extending classical Arduino with LDC2/D ?

Classic Arduino hardware is 8-bit Atmega MCU