Hi,
I can (manual) build the firmware (ignoring warnings during build):
Linking .pio/build/sck2/firmware.elf
Checking size .pio/build/sck2/firmware.elf
Building .pio/build/sck2/firmware.bin
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [====== ] 63.5% (used 20804 bytes from 32768 bytes)
PROGRAM: [======= ] 65.7% (used 172316 bytes from 262144 bytes)
==================================================================== [SUCCESS] Took 58.43 seconds ====================================================================
However, with the following REMARKS/UPDATES FOR BOTH smartcitizen-kit-20 AND smartcitizen-kit-21
./build.sh sam -> isn’t available in the root folder (meaning I used the Manual install)
When running the manual install:
$ cd sam
$ platformio run
- I need to update a print statement to Python 3.x in uploadSAM.py -> I have both Python 2 and 3 installed on my Mac!
- I only succeed getting a fimware file the second time I execute 'platformio run; the first time I get an error:
collect2: error: ld returned 1 exit status
**** [.pio/build/sck2/firmware.elf] Error 1*
===================================================================== [FAILED] Took 57.93 seconds =====================================================================
-
Executed $ tools/uf2conv.py -o SAM_firmware.uf2 sam/.pio/build/sck2/firmware.bin instead of (as in the docs) $ tools/uf2conv.py -o SAM_firmware.uf2 sam/.pioenvs/sck2/firmware.bin (folder .pioenvs isn’t available)