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/0for retrieving the default MAC address on ESP32. - Added support for
picoandpocias an alternative tomosiandmisofor 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 just0and 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
misoormosidefault 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.