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_bytes
on ESP32 seems not working, usei2c:write_byte
instead.Added
Elixir standard library modules
--boot
option to mkimage.sh toolerlang:atom_to_binary/1
that is equivalent toerlang:atom_to_binary(Atom, utf8)
String.Chars
protocol, now functions such asEnum.join
are able to takealso non string parameters (e.g.
Enum.join([1, 2], ",")
Enum.at/3
is_bitstring/1
construct which is used in Elixir protocols runtime.Enumerable
protocol also forEnum.all?
,Enum.any?
,Enum.each
,Enum.filter
,Enum.flat_map
,Enum.reject
,Enum.chunk_by
andEnum.chunk_while
maps:merge_with/3
lists:last/1
andlists:mapfoldl/3
Process.send/2
Process.send_after/3/4
andProcess.cancel_timer/1
handle_continue
callback ingen_server
List.Chars
protocolgen_server:start_monitor/3,4
code:ensure_loaded/1
io_lib:latin1_char_list/1
Keyword.split/2
binary:split/3
andstring:find/2,3
io:put_chars/2
lists:nthtail/2
IO.chardata_to_string/1
List.duplicate/2
binary:copy/1,2
atomvm:posix_opendir/1
,atomvm:posix_readdir/1
,atomvm:posix_closedir/1
).esp_adc
ADC driver, with Erlang and Elixir examplesbeacon_timeout
(event: 21), see issue#1100
esp:mount/4
andesp:umount/1
binary_to_integer/2
binary:decode_hex/1
andbinary:encode_hex/1,2
Base.decode16/2
andBase.encode16/2
externalterm_to_binary
so termscan be written directly to a buffer.
erlang:list_to_integer/2
externalterm_to_term_copy
that can be safely used from NIFs taking temporary buffersChanged
esp32boot.avm
. Useelixir_esp32boot.avm
instead
Enum.find_index
andEnum.find_value
support Enumerable and not just listsdevice_config
properties list inspi:open/1
optional (defaults to[]
), so you can use the function with only abus_config
Fixed
boot.avm
partition is not truncated anymoreFixed gpio:set_int
to accept any pin, not only pin 2unicode:characters_to_binary
unicode: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/0
was used, see issue #643uart:open/1,2
now works with uppercase peripheral namesThis discussion was created from the release v0.6.5.
Beta Was this translation helpful? Give feedback.
All reactions