AtomVM icon indicating copy to clipboard operation
AtomVM copied to clipboard

Tiny Erlang VM

Results 299 AtomVM issues
Sort by recently updated
recently updated
newest added

The current implementation of the `i2c:write_bytes/2` function in the `i2c_driver.c` module uses a direct memory reference from and Erlang binary (which may refer to an address in the process heap,...

bug
platform:esp32
peripherals

executing ``` -module(pp). -export([start/0, ping/1, pong/0]). ping(0) -> pong ! finished, io:format("ping finished~n"); ping(N) -> pong ! {ping, self()}, % this does not work % whereis(pong) ! {ping, self()}, %...

Hi, I wanted to try AtomVM on a ESP32-S3-DEV-KIT-N8R8. Initially I had errors of the kind ``` ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40043ac8 SPIWP:0xee mode:DIO, clock div:1...

As of OTP-26, all atoms are encoded in UTF-8 when using `term_to_binary/1`. For simplicity of maintenance, we should adopt this behavior, as well. This will also provide better interoperability with...

enhancement
breaking

Add the following function to `port.c` in order to simplify port development: ```c bar_t port_send_reply(const GenMessage *gen_message, term reply, GlobalContext *global); ``` The following function might be added too, so...

Using the -on_load() module directive produces varying undecoded opcode aborts upon module load.

vm:missing-instructions

The following 2 lines of code: ```elixir :erlang.send_after(1, self(), :show_hello) :erlang.send_after(5000, self(), :show_cat) ``` cause the following crash: ``` ============= CRASH REPORT gen_server:init_it/5: Error initializing module timer_manager under name timer_manager...

When building with OTP24 seems like `arithfbif` instruction is emited.

port message protocol doesn't allow casts, since there is no `$call'` tag that allows to distinguish between the 2. Message format should be extended to allow future customizations.

This might be related to the handling of hrl includes and/or functions within. The dependency from which the unsupported line_ref seems to be from is: travelping/gen_netlink Erlang version: OTP/25 Platform:...