I’m simply trying to flash BLINK to the daisy in VS Code and get this:
"make: *** No targets specified and no makefile found. Stop.
The terminal process “/bin/zsh ‘-l’, ‘-c’, ‘make’” failed to launch (exit code: 2).
Terminal will be reused by tasks, press any key to close it. "
I have followed all the steps, and the “DaisyExamples” folder is on my desktop.
I did File > Open Folder > Blink
Daisy is in boot mode.
I don’t understand what I am doing wrong as I have changed nothing in the code, and watched the setup video and github instructions multiple times.
Project Name
TARGET = Blink
Sources
CPP_SOURCES = Blink.cpp
Library Locations
LIBDAISY_DIR = …/…/libDaisy
DAISYSP_DIR = …/…/DaisySP
Core location, and generic makefile.
SYSTEM_FILES_DIR = $(LIBDAISY_DIR)/core
include $(SYSTEM_FILES_DIR)/Makefile
#include “daisy_seed.h”
// Use the daisy namespace to prevent having to type
// daisy:: before all libdaisy functions
using namespace daisy;
// Declare a DaisySeed object called hardware
DaisySeed hardware;
int main(void)
{
// Declare a variable to store the state we want to set for the LED.
bool led_state;
led_state = true;
// Configure and Initialize the Daisy Seed
// These are separate to allow reconfiguration of any of the internal
// components before initialization.
hardware.Configure();
hardware.Init();
// Loop forever
for(;;)
{
// Set the onboard LED
hardware.SetLed(led_state);
// Toggle the LED state for the next time around.
led_state = !led_state;
// Wait 1000ms
System::Delay(1000);
}
Maybe you have done everything right, maybe not. Many people have trouble at first, but not all.
First off, what platform? Windows? Mac? If Mac, Intel, or Apple silicon? OS version?
As explained above, if I open VScode from applications and then open folder > path to blink, it does not work, meaning i get the same error message as my original post “The terminal process “/bin/zsh ‘-l’, ‘-c’, ‘make’” failed to launch (exit code: 2).”
If I open VScode in terminal, from blink folder.
"cd ~/Desktop/DaisyExamples/seed/Blink