Thread overview | |||||
---|---|---|---|---|---|
|
November 26, 2019 wiki tutorial: D on esp32/esp8266(llvm-xtensa+ldc) and how to get started | ||||
---|---|---|---|---|
| ||||
hi, I just added a simple tutorial to running D betterC on the popular ESP32/esp8266 IoT chip. referenced with the Rust community's Rust on ESP32. https://wiki.dlang.org/D_on_esp32/esp8266(llvm-xtensa%2Bldc)_and_how_to_get_started As esp32 IDF is using newlib as it's libc, the druntime and phobos just simply won't build. But betterC seems working, I didn't do with a very strong test(actually I don't know if there's betterC test case exists), so, just for fun with your own risk! And, Can we do some work to support druntime building against with newlib? If this is true, many MCU would have(newlib supports many MCUs) a `real D` running on it. --- Binghoo Dang |
November 26, 2019 Re: wiki tutorial: D on esp32/esp8266(llvm-xtensa+ldc) and how to get started | ||||
---|---|---|---|---|
| ||||
Posted in reply to dangbinghoo | On Tuesday, 26 November 2019 at 08:57:49 UTC, dangbinghoo wrote:
> hi,
>
> I just added a simple tutorial to running D betterC on the popular ESP32/esp8266 IoT chip.
>
> referenced with the Rust community's Rust on ESP32.
>
> https://wiki.dlang.org/D_on_esp32/esp8266(llvm-xtensa%2Bldc)_and_how_to_get_started
>
> As esp32 IDF is using newlib as it's libc, the druntime and phobos just simply won't build.
>
> But betterC seems working, I didn't do with a very strong test(actually I don't know if there's betterC test case exists), so, just for fun with your own risk!
>
>
> And, Can we do some work to support druntime building against with newlib? If this is true, many MCU would have(newlib supports many MCUs) a `real D` running on it.
>
> ---
> Binghoo Dang
That's great!
|
November 26, 2019 Re: wiki tutorial: D on esp32/esp8266(llvm-xtensa+ldc) and how to get started | ||||
---|---|---|---|---|
| ||||
Posted in reply to dangbinghoo | On Tuesday, 26 November 2019 at 08:57:49 UTC, dangbinghoo wrote:
> hi,
>
> I just added a simple tutorial to running D betterC on the popular ESP32/esp8266 IoT chip.
>
> referenced with the Rust community's Rust on ESP32.
>
> https://wiki.dlang.org/D_on_esp32/esp8266(llvm-xtensa%2Bldc)_and_how_to_get_started
>
> As esp32 IDF is using newlib as it's libc, the druntime and phobos just simply won't build.
>
> But betterC seems working, I didn't do with a very strong test(actually I don't know if there's betterC test case exists), so, just for fun with your own risk!
>
>
> And, Can we do some work to support druntime building against with newlib? If this is true, many MCU would have(newlib supports many MCUs) a `real D` running on it.
>
> ---
> Binghoo Dang
I'm also interested in a esp32/esp8266 port of druntime/phobos.
If you want to join forces ping me on discord or irc.
-Zoadian
|
Copyright © 1999-2021 by the D Language Foundation