www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - ldc2 -mtriple=arm-none-eabi[hf]

reply Dmitry Ponyatov <dponyatov gmail.com> writes:
What is the current support status for the Cortex-M0..7 platform 
in the LDC2 compiler, standard library, and platform-specific 
modules for embedded systems (FreeRTOS binding, lwip, DISCOVERY & 
popular Arduino-like boards)  ?

PS: The same question for ESP32 lx6

If it more or less usable for SOHO production use, what resources 
should be noted as a way pass for entering?
(besides the elementaries of the D language itself of cause)

- The D Programming Language
- https://wiki.dlang.org/Cross-compiling_with_LDC

maybe somebody tries to write a draft of "EmbedDed" book?
Nov 18
next sibling parent Dmitry Ponyatov <dponyatov gmail.com> writes:
Not `betterC`, as D lang have no value without critical features 
such as dynamic data containers, real-time multitasking, rich 
macro, and some binding and protocol modules for common tasks and 
BSP.
Nov 18
prev sibling next sibling parent Dmitry Ponyatov <dponyatov gmail.com> writes:
- https://github.com/denizzzka/d_c_arm_test
- [D language binary (not 
`betterC`)](https://youtu.be/PE6pMUA0vNQ?si=qoBywia9XmlYKdNK)
Nov 18
prev sibling parent Matheus Catarino <matheus-catarino hotmail.com> writes:
https://github.com/kassane/rp2040-dlang (rp2040 [cortex-m0plus] 
and rp2350 [cortex-m33])

On Monday, 18 November 2024 at 21:19:25 UTC, Dmitry Ponyatov 
wrote:
 PS: The same question for ESP32 lx6
Xtensa LLVM-upstream is experimental, added in https://github.com/ldc-developers/llvm-project/releases/tag/ldc-v19.1.3 for new ldc2 releases - with upstream LLVM-Xtensa (opaque/generic cpu-features) more info: https://github.com/ldc-developers/ldc/issues/4725 For Xtensa lx6/lx7 need use espressif/llvm-project (fork) backend, like https://github.com/Reavershark/esp-dlang
Nov 19