Closed r-colvin closed 4 months ago
@r-colvin thanks for taking the time to record your thoughts on the training flow. We'll definitely use this to improve the process for the next training!
when building the example it failed for me with the error "ModuleNotFoundError: No module named 'elftools'"
This one is something I've run into several times. The elftools get installed when the requirements.txt
list is installed during the Zephyr workspace installation process (step 3 under the Install Golioth Zephyr SDK heading). This is another great reason for venv!
After running the training locally on my Mac, I have some improvements that might make it easier for others
Page: https://training.golioth.io/docs/after-training/local-toolchain-install
~/Documents/Training/Golioth
- this works fine, but requires a few tweaks later. However others might like to keep things separated, so a small note that it doesn't have to be in the home folder could be helpful (I happen to have Zephyr, NCS and Golioth all on the same machine, so separation is very helpful!). This means that for the rest of the tutorial I substituted~/
for~/Documents/Training/Golioth
and everything works finezephyr-sdk-0.15.0 ./setup.sh
as it modifies~/.cmake
(if you already have NCS or Zephyr for example)Page: https://training.golioth.io/docs/golioth-exercises/install_esptool
Page: https://training.golioth.io/docs/golioth-exercises/compile-golioth-demo
west kasm download
will require the user to create~/Desktop/Downloads
first, or use the--output-dir
arg to put the merged bin files in a location of the users choice - sowest kasm --output-dir="~/Documents/Training/Golioth/artifacts/" download
(of course the output dir must be created as well!)/dev/cu.usbmodem*
: see https://learn.adafruit.com/adafruit-magtag/rom-bootloader#step-3076822 for detailspython3 -m esptool --chip esp32s2 --port /dev/cu.usbmodem01 write_flash 0x0 ~/Documents/Training/Golioth/artifacts/merged_golioth-demo_114332.bin