|
6 | 6 | <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | 7 |
|
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
9 | | - <title>AtomVM Update Instructions — AtomVM 0.7.0-dev+git.ac69559b documentation</title> |
| 9 | + <title>AtomVM Update Instructions — AtomVM 0.7.0-dev+git.179144b0 documentation</title> |
10 | 10 | <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" /> |
11 | 11 | <link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=9edc463e" /> |
12 | 12 | <link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=4ae1632d" /> |
|
17 | 17 | <link rel="canonical" href="https://doc.atomvm.org/main/UPDATING.html" /> |
18 | 18 | <script src="_static/jquery.js?v=5d32c60e"></script> |
19 | 19 | <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> |
20 | | - <script src="_static/documentation_options.js?v=ff1032c2"></script> |
| 20 | + <script src="_static/documentation_options.js?v=3325ffd0"></script> |
21 | 21 | <script src="_static/doctools.js?v=fd6eb6e6"></script> |
22 | 22 | <script src="_static/sphinx_highlight.js?v=6ffebe34"></script> |
23 | 23 | <script src="_static/js/theme.js"></script> |
@@ -113,6 +113,17 @@ <h2>v0.6.6 -> Unreleased<a class="headerlink" href="#v0-6-6-unreleased" title |
113 | 113 | <li><p><code class="docutils literal notranslate"><span class="pre">binary_to_integer</span></code> and <code class="docutils literal notranslate"><span class="pre">list_to_integer</span></code> do not raise <code class="docutils literal notranslate"><span class="pre">overflow</span></code> error anymore, they instead |
114 | 114 | raise <code class="docutils literal notranslate"><span class="pre">badarg</span></code> when trying to parse an integer that exceeds 256 bits. Update any relevant error |
115 | 115 | handling code.</p></li> |
| 116 | +<li><p>ESP32 builds with Elixir support may be configured without making changes to git-tracked files |
| 117 | +using <code class="docutils literal notranslate"><span class="pre">idf.py</span> <span class="pre">-DATOMVM_ELIXIR_SUPPORT=on</span> <span class="pre">set-target</span> <span class="pre">${CHIP}</span></code> instead of copying |
| 118 | +partitions-elixir.csv to partitions.csv. This configures the build to use partitions-elixir.csv for |
| 119 | +the partition table. The <code class="docutils literal notranslate"><span class="pre">main.avm</span></code> offset in the partition table will determine which flavor of |
| 120 | +esp32boot libraries to include for the <code class="docutils literal notranslate"><span class="pre">idf.py</span> <span class="pre">flash</span></code> task and the image assembled by |
| 121 | +<code class="docutils literal notranslate"><span class="pre">build/mkimage.sh</span></code>.</p></li> |
| 122 | +<li><p>ESP32 release builds may be configured with <code class="docutils literal notranslate"><span class="pre">idf.py</span> <span class="pre">-DATOMVM_RELEASE=on</span> <span class="pre">set-target</span> <span class="pre">${CHIP}</span></code> |
| 123 | +rather than copy sdkconfig.release-defaults.in to sdkconfig.defaults.in (which still requires a |
| 124 | +<code class="docutils literal notranslate"><span class="pre">reconfigure</span></code> or <code class="docutils literal notranslate"><span class="pre">set-target</span></code> to be run to pick up the changes), this may also be combined with the |
| 125 | +<code class="docutils literal notranslate"><span class="pre">ATOMVM_ELIXIR_SUPPORT</span></code> option. For example, an Elixir-supported release build is configured using: |
| 126 | +<code class="docutils literal notranslate"><span class="pre">idf.py</span> <span class="pre">-DATOMVM_ELIXIR_SUPPORT=on</span> <span class="pre">-DATOMVM_RELEASE=on</span> <span class="pre">set-target</span> <span class="pre">${CHIP}</span></code></p></li> |
116 | 127 | </ul> |
117 | 128 | </section> |
118 | 129 | <section id="v0-6-4-v0-6-5"> |
|
0 commit comments