@@ -161,12 +161,22 @@ make bootloader
161161
162162### Build the simulator
163163
164- The Multi edition firmware can be built as a simulator for linux-amd64. To build it, run:
164+ The Multi edition firmware can be built as a simulator for linux and macos. To
165+ build it, run:
165166
166167``` sh
167168make simulator
168169```
169170
171+ ### Build the graphical simulator
172+
173+ The Multi edition firmware can be built as a graphical simulator for linux and
174+ macos. To build it, run:
175+
176+ ``` sh
177+ make simulator-graphical
178+ ```
179+
170180### Flash instructions
171181
172182#### Connect J-Link probe
@@ -236,17 +246,28 @@ To view the results, open `build/docs/html/index.html` in a web browser.
236246Run it with:
237247
238248``` sh
239- ./build-build/bin/simulator
249+ ./build-build-noasan /bin/simulator
240250```
241251
242- This launches a server simulating the firmware. The send_message tool can connect to it with:
252+ or the following if you built the graphical one:
253+
254+ ``` sh
255+ ./build-build-noasan/bin/simulator-graphical --preseed
256+ ```
257+
258+ This launches a server simulating the firmware. The send_message tool can
259+ connect to it with:
243260
244261 ./py/send_message.py --simulator
245262
246- If you choose to create a wallet by restoring a mnemonic, the simulator will automatically use this
247- mnemonic:
263+ Both simulators can load the following seed:
264+
265+ boring mistake dish oyster truth pigeon viable emerge sort crash wire
266+ portion cannon couple enact box walk height pull today solid off enable
267+ tide
248268
249- boring mistake dish oyster truth pigeon viable emerge sort crash wire portion cannon couple enact box walk height pull today solid off enable tide
269+ The graphical simulator does it with the flag ` --preseed ` . The original
270+ simulator loads it if you restore from mnemonic.
250271
251272
252273#### Debugging using the J-Link probe and GDB
0 commit comments