Hello again,
Yes, super weird…
I cloned oopsy as usual and swapped to the bootloader branch.
I made the custom .json file and was able to compile a 200kb file.
But after flashing the bootloader image with the web programmer i stumbled a bit.
The breathing, flashing sequences are new to me, but I think i managed to flash something to the Seed.
But the program itself did not run…i tried others from the web programmer , went back to DFU mode and flashed my old stuff…that worked.
Back on the bootloader and suddenly Max started complaining…
Here is the full error report…that happens when opening any of the templates now.
gen~: exported: Monterey:/Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/Untitled1.cpp
oopsy-verbose: script start petal 48kHz block48 “/Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/Untitled1.cpp” boost
oopsy-verbose: stop success dictionary u315000799
oopsy-verbose: start success dictionary u832000804
oopsy-verbose: “using build tools found in /usr/local/bin”
oopsy-verbose: “Target petal configured in path /Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/daisy.petal.json”
oopsy-verbose: “Building to /Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/build_Untitled1_petal”
oopsy-verbose: “Will upload from /Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/Untitled1.cpp by writing to:”
oopsy-verbose: " /Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/build_Untitled1_petal/Untitled1_petal.cpp"
oopsy-verbose: " /Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/build_Untitled1_petal/Makefile"
oopsy-verbose: " /Users/saschaawhaber/Documents/Max 8/Packages/oopsy/source/build_Untitled1_petal/build/Untitled1.bin"
oopsy-verbose: “oopsy generated code”
oopsy-verbose: “oopsy compiling…”
oopsy-verbose: compiling…
oopsy-verbose: “generated code”
oopsy-verbose: “oopsy compiler error”
oopsy-verbose: “Error: Command failed: export PATH=$PATH:/usr/local/bin && make clean && make”
oopsy-verbose: “In file included from …/genlib_daisy.h:16,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:188:32: error: ‘t_sample exp2(t_sample)’ conflicts with a previous declaration”
oopsy-verbose: " 188 | inline t_sample exp2(t_sample v) { return pow(2., v); }"
oopsy-verbose: " | ^"
oopsy-verbose: “In file included from /Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/math.h:36,”
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h:33,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:29,"
oopsy-verbose: " from …/libdaisy/src/sys/stm32h7xx_hal_conf.h:269,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:30,"
oopsy-verbose: " from …/libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h:186,"
oopsy-verbose: " from :"
oopsy-verbose: “/Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/cmath:1342:3: note: previous declaration ‘constexpr float std::exp2(float)’”
oopsy-verbose: " 1342 | exp2(float __x)"
oopsy-verbose: " | ^~"
oopsy-verbose: “In file included from …/genlib_daisy.h:16,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:190:33: error: ‘t_sample trunc(t_sample)’ conflicts with a previous declaration”
oopsy-verbose: " 190 | inline t_sample trunc(t_sample v) {"
oopsy-verbose: " | ^"
oopsy-verbose: “In file included from /Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/math.h:36,”
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h:33,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:29,"
oopsy-verbose: " from …/libdaisy/src/sys/stm32h7xx_hal_conf.h:269,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:30,"
oopsy-verbose: " from …/libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h:186,"
oopsy-verbose: " from :"
oopsy-verbose: “/Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/cmath:1828:3: note: previous declaration ‘constexpr float std::trunc(float)’”
oopsy-verbose: " 1828 | trunc(float __x)"
oopsy-verbose: " | ^"
oopsy-verbose: “In file included from …/genlib_daisy.h:15,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In static member function ‘static uint64_t Noise::uniqueTickCount()’:”
oopsy-verbose: “…/gen_dsp/genlib.h:228:22: error: ‘systime_ticks’ was not declared in this scope”
oopsy-verbose: " 228 | #define genlib_ticks systime_ticks"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:851:19: note: in expansion of macro ‘genlib_ticks’”
oopsy-verbose: " 851 | uint64_t time = genlib_ticks();"
oopsy-verbose: " | ^~"
oopsy-verbose: “In file included from …/genlib_daisy.h:16,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void Delay::reset(const char*, long int)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1098:5: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1098 | genlib_report_error(“failed to acquire data”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1118:6: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1118 | genlib_report_error(“delay memory size error”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1125:5: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1125 | genlib_report_error(“failed to acquire data info”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1130:4: error: ‘set_zero64’ was not declared in this scope”
oopsy-verbose: " 1130 | set_zero64(memory, size);"
oopsy-verbose: " | ^~"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void Data::reset(const char*, long int, long int)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1443:5: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1443 | genlib_report_error(“failed to acquire data”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void Data::getinfo()’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1468:4: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1468 | genlib_report_error(“failed to acquire data info”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In destructor ‘DataLocal::~DataLocal()’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1477:14: error: ‘sysmem_freeptr’ was not declared in this scope; did you mean ‘genlib_sysmem_freeptr’?”
oopsy-verbose: " 1477 | if (mData) sysmem_freeptr(mData);"
oopsy-verbose: " | ^~"
oopsy-verbose: " | genlib_sysmem_freeptr"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void DataLocal::resize(long int, long int)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1489:4: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1489 | genlib_report_message(“warning: resizing data to < 256MB”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1492:24: error: ‘sysmem_resizeptr’ was not declared in this scope; did you mean ‘genlib_sysmem_resizeptr’?”
oopsy-verbose: " 1492 | mData = (t_sample *)sysmem_resizeptr(mData, sizeof(t_sample) * s * c);"
oopsy-verbose: " | ^~"
oopsy-verbose: " | genlib_sysmem_resizeptr"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1494:24: error: ‘sysmem_newptr’ was not declared in this scope”
oopsy-verbose: " 1494 | mData = (t_sample *)sysmem_newptr(sizeof(t_sample) * s * c);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1497:4: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1497 | genlib_report_error(“out of memory”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1504:3: error: ‘set_zero64’ was not declared in this scope”
oopsy-verbose: " 1504 | set_zero64(mData, dim * channels);"
oopsy-verbose: " | ^~"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘bool DataLocal::setbuffer(void*)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1539:7: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1539 | genlib_report_message(“couldn’t get info for buffer\n”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1543:6: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1543 | genlib_report_message(“buffer locked\n”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1547:4: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1547 | genlib_report_message(“buffer reference not valid”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In destructor ‘SineData::~SineData()’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1626:14: error: ‘sysmem_freeptr’ was not declared in this scope; did you mean ‘genlib_sysmem_freeptr’?”
oopsy-verbose: " 1626 | if (mData) sysmem_freeptr(mData);"
oopsy-verbose: " | ^~"
oopsy-verbose: " | genlib_sysmem_freeptr"
oopsy-verbose: “make: *** [build/Untitled1_petal.o] Error 1”
oopsy-verbose:
oopsy-verbose: " at ChildProcess.exithandler (node:child_process:397:12)"
oopsy-verbose: " at ChildProcess.emit (node:events:394:28)"
oopsy-verbose: " at maybeClose (node:internal/child_process:1067:16)"
oopsy-verbose: " at Socket. (node:internal/child_process:453:11)"
oopsy-verbose: " at Socket.emit (node:events:394:28)"
oopsy-verbose: " at Pipe. (node:net:672:12) {"
oopsy-verbose: " killed: false,"
oopsy-verbose: " code: 2,"
oopsy-verbose: " signal: null,"
oopsy-verbose: " cmd: ‘export PATH=$PATH:/usr/local/bin && make clean && make’"
oopsy-verbose: }
oopsy-verbose: “In file included from …/genlib_daisy.h:16,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:188:32: error: ‘t_sample exp2(t_sample)’ conflicts with a previous declaration”
oopsy-verbose: " 188 | inline t_sample exp2(t_sample v) { return pow(2., v); }"
oopsy-verbose: " | ^"
oopsy-verbose: “In file included from /Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/math.h:36,”
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h:33,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:29,"
oopsy-verbose: " from …/libdaisy/src/sys/stm32h7xx_hal_conf.h:269,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:30,"
oopsy-verbose: " from …/libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h:186,"
oopsy-verbose: " from :"
oopsy-verbose: “/Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/cmath:1342:3: note: previous declaration ‘constexpr float std::exp2(float)’”
oopsy-verbose: " 1342 | exp2(float __x)"
oopsy-verbose: " | ^~"
oopsy-verbose: “In file included from …/genlib_daisy.h:16,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:190:33: error: ‘t_sample trunc(t_sample)’ conflicts with a previous declaration”
oopsy-verbose: " 190 | inline t_sample trunc(t_sample v) {"
oopsy-verbose: " | ^"
oopsy-verbose: “In file included from /Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/math.h:36,”
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h:33,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:29,"
oopsy-verbose: " from …/libdaisy/src/sys/stm32h7xx_hal_conf.h:269,"
oopsy-verbose: " from …/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:30,"
oopsy-verbose: " from …/libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h:186,"
oopsy-verbose: " from :"
oopsy-verbose: “/Library/DaisyToolchain/0.1.2/arm/arm-none-eabi/include/c++/10.3.1/cmath:1828:3: note: previous declaration ‘constexpr float std::trunc(float)’”
oopsy-verbose: " 1828 | trunc(float __x)"
oopsy-verbose: " | ^"
oopsy-verbose: “In file included from …/genlib_daisy.h:15,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In static member function ‘static uint64_t Noise::uniqueTickCount()’:”
oopsy-verbose: “…/gen_dsp/genlib.h:228:22: error: ‘systime_ticks’ was not declared in this scope”
oopsy-verbose: " 228 | #define genlib_ticks systime_ticks"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:851:19: note: in expansion of macro ‘genlib_ticks’”
oopsy-verbose: " 851 | uint64_t time = genlib_ticks();"
oopsy-verbose: " | ^~"
oopsy-verbose: “In file included from …/genlib_daisy.h:16,”
oopsy-verbose: " from Untitled1_petal.cpp:28:"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void Delay::reset(const char*, long int)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1098:5: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1098 | genlib_report_error(“failed to acquire data”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1118:6: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1118 | genlib_report_error(“delay memory size error”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1125:5: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1125 | genlib_report_error(“failed to acquire data info”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1130:4: error: ‘set_zero64’ was not declared in this scope”
oopsy-verbose: " 1130 | set_zero64(memory, size);"
oopsy-verbose: " | ^~"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void Data::reset(const char*, long int, long int)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1443:5: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1443 | genlib_report_error(“failed to acquire data”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void Data::getinfo()’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1468:4: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1468 | genlib_report_error(“failed to acquire data info”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In destructor ‘DataLocal::~DataLocal()’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1477:14: error: ‘sysmem_freeptr’ was not declared in this scope; did you mean ‘genlib_sysmem_freeptr’?”
oopsy-verbose: " 1477 | if (mData) sysmem_freeptr(mData);"
oopsy-verbose: " | ^~"
oopsy-verbose: " | genlib_sysmem_freeptr"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘void DataLocal::resize(long int, long int)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1489:4: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1489 | genlib_report_message(“warning: resizing data to < 256MB”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1492:24: error: ‘sysmem_resizeptr’ was not declared in this scope; did you mean ‘genlib_sysmem_resizeptr’?”
oopsy-verbose: " 1492 | mData = (t_sample *)sysmem_resizeptr(mData, sizeof(t_sample) * s * c);"
oopsy-verbose: " | ^~"
oopsy-verbose: " | genlib_sysmem_resizeptr"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1494:24: error: ‘sysmem_newptr’ was not declared in this scope”
oopsy-verbose: " 1494 | mData = (t_sample *)sysmem_newptr(sizeof(t_sample) * s * c);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1497:4: error: ‘genlib_report_error’ was not declared in this scope”
oopsy-verbose: " 1497 | genlib_report_error(“out of memory”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1504:3: error: ‘set_zero64’ was not declared in this scope”
oopsy-verbose: " 1504 | set_zero64(mData, dim * channels);"
oopsy-verbose: " | ^~"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In member function ‘bool DataLocal::setbuffer(void*)’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1539:7: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1539 | genlib_report_message(“couldn’t get info for buffer\n”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1543:6: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1543 | genlib_report_message(“buffer locked\n”);"
oopsy-verbose: " | ^"
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1547:4: error: ‘genlib_report_message’ was not declared in this scope”
oopsy-verbose: " 1547 | genlib_report_message(“buffer reference not valid”);"
oopsy-verbose: " | ^~~~~~~~~"
oopsy-verbose: “…/gen_dsp/genlib_ops.h: In destructor ‘SineData::~SineData()’:”
oopsy-verbose: “…/gen_dsp/genlib_ops.h:1626:14: error: ‘sysmem_freeptr’ was not declared in this scope; did you mean ‘genlib_sysmem_freeptr’?”
oopsy-verbose: " 1626 | if (mData) sysmem_freeptr(mData);"
oopsy-verbose: " | ^~"
oopsy-verbose: " | genlib_sysmem_freeptr"
oopsy-verbose: “make: *** [build/Untitled1_petal.o] Error 1”
oopsy-verbose:
oopsy-verbose: “compiler error”
So i started reinstalling the thing i mentioned, on top of max and OSX reboots…
Something is stuck somewhere it seems