v0.6.0-beta.0
Pre-release
Pre-release
v0.6.0-beta.0 release.
Please, read the getting started guide for flashing instructions.
CHANGELOG
Added
- Added
esp:get_default_mac/0
for retrieving the default MAC address on ESP32. - Added support for
pico
andpoci
as an alternative tomosi
andmiso
for SPI - ESP32: Added support to SPI peripherals other than hspi and vspi
- Added
gpio:set_int/4
, with the 4th parameter being the pid() or registered name of the process to receive interrupt messages - Added support for
lists:split/2
- Added ESP32 API for allowing coexistence of native and Erlang I2C drivers
Changed
- Shorten SPI config options, such as
sclk_io_num
->sclk
- Shorten I2C config options, such as
scl_io_num
->scl
- Shorten UART config options, such as
tx_pin
->tx
- Introduced support to non-integer peripheral names,
"i2c0"
,"uart1"
(instead of just0
and 1
, which now they are deprecated)- New atom table, which uses less memory, has improved performances and better code.
- SPI: when gpio number is not provided for
miso
ormosi
default to disabled - Change port call tuple format to the same format as gen_server, so casts can be supported too
Fixed
- Fix several missing memory allocation checks in libAtomVM.
- Fixed a possible memory leak in libAtomVM/module.c
module_destroy
. - Fix possibile bug in random number generator on ESP32 and RPi2040
- Fixed interpretation of live for opcodes, thus altering GC semantics for nifs. See also UPDATING.