Hi! I am trying to get started with ChipWhisperer on my MacBook Air, and have run into a problem. (I have some experience with CW on Windows, and getting started there was no problem.)
I try to run the script “PA_Intro_1-Firmware_Build_Setup”. I have done the installations properly, and all the previous blocks run successfully. But this block give an error I can’t figure out.
This is the block:
%%bash -s “$PLATFORM” “$CRYPTO_TARGET”
cd …/…/…/hardware/victims/firmware/simpleserial-base-lab1
make PLATFORM=$1 CRYPTO_TARGET=$2
This is the start and the end of the output/error:
SS_VER set to SS_VER_1_1
/Library/Developer/CommandLineTools/usr/bin/make: invalid option – O
Usage: make [options] [target] …
…
CalledProcessError: Command ‘b’cd …/…/…/hardware/victims/firmware/simpleserial-base-lab1\nmake PLATFORM=$1 CRYPTO_TARGET=$2\n’’ returned non-zero exit status 2.
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
It sounds like the solution was updating make (not the makefile).
I don’t use macos for development but it looks like updating make is a common thing that macos users do; there are lots of answers on how to do this on stackoverflow.