Bot releases are visible (Hide)
v0.6.1 release.
Please, read the getting started guide for flashing instructions.
-DENABLE_REALLOC_GC=On
.erlang:ref_to_list/1
and erlang:display/1
: the unique integer was truncated on some 32-bit architectureserl_eval
as module name in both display and fun_to_listfun m:f/a
psa_crypto_init
for TLS 1.3Published by github-actions[bot] 8 months ago
First v0.6.x series stable release!
Please, read the getting started guide for flashing instructions.
This release introduces a lot of new features compared to v0.5.x: such as support for multiple cores, support for beam files compiled with OTP 26, OTP lower level socket API, resources and a richer standard library, etc...
It is very hard to make a complete list of changes, so I suggest to take a look to the changelog file.
Also special thanks to all the contributors for their amazing work, that made this release possible.
Published by github-actions[bot] 8 months ago
v0.6.0-rc.0 release.
Please, read the getting started guide for flashing instructions.
BOOTLOADER_OFFSET
for all current Esp32 models.BOOTLOADER_OFFSET
was incorrect for Esp32-C6 and Esp32-S2.esp_wifi_init()
. See also issue #1059.gpio:stop/0
and gpio:close/1
that would cause the VM to crash.Published by github-actions[bot] 8 months ago
v0.6.0-beta.1 release.
Please, read the getting started guide for flashing instructions.
*_to_atom
and atom_to_*
functionsbinary_to_atom/1
and atom_to_binary/1
that default to utf8 (they were introduced with OTP23)AVM_WAIT_BOOTSEL_ON_EXIT
(default ON
) to allow tools to use automated BOOTSEL
mode after main application exitserlang:term_to_binary/1
, in conformance with OTP-26cmake
configuration option AVM_USB_WAIT_SECONDS
added with 20 second default.!
operator now works.OP_SEND
that would accept sending a message to any integer or term without raising an error.binary_to_term
checks atom encoding validity, and fix latin1 support (when non-ASCII chars aregpio:set_pin_mode/2
and gpio:set_direction/3
that would accept any atom for the mode parameter without an error.pull
direction, and silently set pull
direction to floating
without issuing an error.gpio:set_pin_pull/2
that would accept any parameter as a valid pull
mode.binary_to_atom/2
validates utf8 strings*_to_atom
and atom_to_*
properly convert latin1 (not just ASCII) to utf8 and viceversaPublished by github-actions[bot] 9 months ago
v0.6.0-beta.0 release.
Please, read the getting started guide for flashing instructions.
esp:get_default_mac/0
for retrieving the default MAC address on ESP32.pico
and poci
as an alternative to mosi
and miso
for SPIgpio:set_int/4
, with the 4th parameter being the pid() or registered name of the process to receive interrupt messageslists:split/2
sclk_io_num
-> sclk
scl_io_num
-> scl
tx_pin
-> tx
"i2c0"
, "uart1"
(instead of just 0
and1
, which now they are deprecated)miso
or mosi
default to disabledmodule_destroy
.Published by github-actions[bot] 11 months ago
v0.6.0-alpha.2 release.
Please, read the getting started guide for flashing instructions.
A number of Linux artifacts has not been published with this release, since they require a very specific Mbed-TLS version.
AVM_ABORT()
is usedcmake -DDEVICE=
parameterAVM_USE_32BIT_FLOAT=on
for STM32 platform to enable use of single precision hardware FPU on F4/F7 devices.register_*_callback/1
functions would use x[1] as second argumentsys_monotonic_millis
to sys_monotonic_time_u64
, sys_monotonic_time_u64_to_ms
and sys_monotonic_time_ms_to_u64
.atomvm:random/0
and atomvm:rand_bytes/1
on top of crypto:strong_rand_bytes/1
onsocket
interface.AVM_CONFIG_REBOOT_ON_NOT_OK
for STM32net:getaddrinfo/1,2
ssl
interface.crypto:one_time/4,5
on Unix and Pico as well as for crypto:hash/2
on Pico-DBOARD=nucleo
cmake option-DAVM_CFG_CONSOLE=
to select a different uart peripheral for the system consolecrypto:strong_rand_bytes/1
using Mbed-TLS (only on generic_unix, ESP32 and RP2040socket:setopt/3
<<0:4, F:32/float>> = Bin
is not supported).get_tcp
and get_udp
based on the new socket
interfaceesp-idf
>= v5.x)Published by github-actions[bot] about 1 year ago
v0.6.0-alpha.0 release.
Please, read the getting started guide for flashing instructions.
This release includes some changes that may require manual update steps, please read UPDATING.md for more information.
spawn_opt/2,4
crypto:crypto_one_time/4,5
on ESP32atomvm:posix_clock_settime/2
-h
and -v
flags to generic_unix AtomVM commandesp:nvs_set_binary
functions.monotonic_time/1
and system_time/1
functions for Raspberry Pi PicoPublished by bettio about 1 year ago
v0.6.0-alpha.0 release.
Please, read the getting started guide for flashing instructions.
spi:close/1
function.AVM_VERBOSE_ABORT
CMake define, which when set to on, will print the C module and linespi:write/3
and spi:write_read/3
functions to support generalized SPI transactionscontrolling_process/2
in gen_udp
and gen_tcp
modules.erlang:system_info
.erlang:is_boolean/1
Bif.esp:partition_erase_range/2
i2c:close/1
erlang:unregister/1
uart:close/1
math
moduleerlang:integer_to_list/2
and erlang:integer_to_binary/2
esp:sleep_enable_ext0_wakeup/2
and esp:sleep_enable_ext1_wakeup/2.
AVM_DISABLE_FP=On
with OTP-22+utf-8
, utf-16
, and utf-32
bit syntax modifiers (put and match)gpio:close/1
and Elixir GPIO.close/1
for ESP32gen_event
modulestart_link
support for the network
moduleerlang:monotonic_time/1
start_link
support for the gen_statem
moduleSMALL_BIG_EXT
erlang external term encodingerlang:memory(binary)
calendar:system_time_to_universal_time/2
calendar:datetime_to_gregorian_seconds/1
esp:partition_list/0
functionesp:nvs_fetch_binary/2
and nvs_put_binary/3
functions (esp:nvs_set_binary
and?ATOMVM_NVS_NS
are deprecated now).io:format/2
and io_lib:format/2
unicode
module with characters_to_list/1,2
and characters_to_binary/1,2,3
functionscrypto:hash/2
(ESP32 and generic_unix with openssl)supervisor
modulereceive ... after infinity -> ...
expressionserlang:send/2
not sending to registered nameIMPORTANT: These changes are incompatible with previous releases of AtomVM.
erlang:system_info(esp32_chip_info)
from a tuple to a map, withnetwork:start
function to return the tuple {ok, Pid}
on aok
. Applications that use network:start
andi2c:read_bytes
has changed from returning just a binary to{ok, Binary}
when successful.i2c
operations under error conditions has changed fromerror
to {error, Reason}
, for improved diagnostics.Published by bettio over 2 years ago
First AtomVM release.