Skip to content

Update esp32 offset in README.md #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Edit the generated `mix.exs` to include the ExAtomVM dependency (`{:exatomvm, gi
deps: deps(),
atomvm: [
start: MyProject,
flash_offset: 0x210000
flash_offset: 0x250000
]
]
end
Expand Down Expand Up @@ -258,7 +258,7 @@ To flash your project to an ESP32 device, use the `atomvm.esp32.flash` mix task.
###########################################################

I (130) AtomVM: Starting AtomVM revision 0.5.0
I (130) AtomVM: Loaded BEAM partition main.avm at address 0x210000 (size=1048576 bytes)
I (130) AtomVM: Loaded BEAM partition main.avm at address 0x250000 (size=1048576 bytes)
I (160) atomvm_adc: eFuse Two Point: NOT supported
I (160) atomvm_adc: eFuse Vref: Supported
I (160) AtomVM: Found startup beam Elixir.MyProject.beam
Expand All @@ -284,7 +284,7 @@ To use this Mix plugin, add `ExAtomVM` to the dependencies list in your `mix.exs
...
atomvm: [
start: HelloWorld,
flash_offset: 0x210000
flash_offset: 0x250000
]
]
end
Expand Down Expand Up @@ -323,7 +323,7 @@ The `atomvm` properties list in the Mix project file (`mix.exs`) may contain the

| Key | Type | Default | Value |
|-----|------|----------|-------|
| `flash_offset` | Address in hexademical format | 0x210000 | The name of the module containing the `start/0` entrypoint function |
| `flash_offset` | Address in hexademical format | 0x250000 | The name of the module containing the `start/0` entrypoint function |
| `chip` | `esp32` | `esp32` | Chip type |
| `port` | device path | `/dev/ttyUSB0` | Port to which device is connected on host computer |
| `baud` | integer | 115200 | BAUD rate used when flashing to device |
Expand Down Expand Up @@ -440,4 +440,4 @@ The `atomvm` properties list in the Mix project file (`mix.exs`) may contain the
|-----|------|----------|-------|
| `app_start` | Address in hexademical format | 0x10180000 | The flash address to place the application |

Properties in the `mix.exs` file may be over-ridden on the command line using long-style flags (prefixed by `--`) by the same name as the properties key. For example, you can use the `--app_start` option to specify or override the `app_start` property in the above table.
Properties in the `mix.exs` file may be over-ridden on the command line using long-style flags (prefixed by `--`) by the same name as the properties key. For example, you can use the `--app_start` option to specify or override the `app_start` property in the above table.