v0.6.5 #1340
bettio
announced in
Announcements
v0.6.5
#1340
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v0.6.5 release
Please, read the getting started guide for flashing instructions.
Important note: this version uses a different partitioning layout for ESP32 Elixir images (and dedicated images) that have room for additional Elixir modules. Make sure to use updated tooling and offsets.
Known Issues
i2c:write_byteson ESP32 seems not working, usei2c:write_byteinstead.Added
Elixir standard library modules
--bootoption to mkimage.sh toolerlang:atom_to_binary/1that is equivalent toerlang:atom_to_binary(Atom, utf8)String.Charsprotocol, now functions such asEnum.joinare able to takealso non string parameters (e.g.
Enum.join([1, 2], ",")Enum.at/3is_bitstring/1construct which is used in Elixir protocols runtime.Enumerableprotocol also forEnum.all?,Enum.any?,Enum.each,Enum.filter,Enum.flat_map,Enum.reject,Enum.chunk_byandEnum.chunk_whilemaps:merge_with/3lists:last/1andlists:mapfoldl/3Process.send/2Process.send_after/3/4andProcess.cancel_timer/1handle_continuecallback ingen_serverList.Charsprotocolgen_server:start_monitor/3,4code:ensure_loaded/1io_lib:latin1_char_list/1Keyword.split/2binary:split/3andstring:find/2,3io:put_chars/2lists:nthtail/2IO.chardata_to_string/1List.duplicate/2binary:copy/1,2atomvm:posix_opendir/1,atomvm:posix_readdir/1,atomvm:posix_closedir/1).esp_adcADC driver, with Erlang and Elixir examplesbeacon_timeout(event: 21), see issue#1100
esp:mount/4andesp:umount/1binary_to_integer/2binary:decode_hex/1andbinary:encode_hex/1,2Base.decode16/2andBase.encode16/2externalterm_to_binaryso termscan be written directly to a buffer.
erlang:list_to_integer/2externalterm_to_term_copythat can be safely used from NIFs taking temporary buffersChanged
esp32boot.avm. Useelixir_esp32boot.avminstead
Enum.find_indexandEnum.find_valuesupport Enumerable and not just listsdevice_configproperties list inspi:open/1optional (defaults to[]), so you can use the function with only abus_configFixed
boot.avmpartition is not truncated anymoreFixed gpio:set_intto accept any pin, not only pin 2unicode:characters_to_binaryunicode:characters_to_list: fixed bogus out_of_memory error on some platforms such as ESP32inspect(:atom)network:start/1, that would lead to a hard crash of the VM.when
network:stop/0was used, see issue #643uart:open/1,2now works with uppercase peripheral namesThis discussion was created from the release v0.6.5.
Beta Was this translation helpful? Give feedback.
All reactions