charmedlabs / pixy2

Other
131 stars 98 forks source link

Multiple issues regarding g_progchase, prmadd, & BlobB *ccBlobs #22

Open Riley-Cottrell opened 4 years ago

Riley-Cottrell commented 4 years ago

I have been building the pixy firmware in MCUXpresso. After a formatting and moving files around, I am down to just a few errors when trying to build the last folder: main_m4. They all seem to be related to the program progchase.cpp. This hypothesis is due to the errors being associated with this file, as well as it compiling almost completely(all .o files generated when compiling besides progchase.o) when removing this file from the src folder.

../src/progchase.cpp:30:1: error: 'Program' does not name a type; did you mean 'Prog'?

../src/progchase.cpp:144:3: error: invalid conversion from 'const char*' to 'uint32_t' {aka 'long unsigned int'} [-fpermissive]

../../../common/inc/chirp.hpp:58:41: error: invalid conversion from 'int' to 'const char*' [-fpermissive]

../src/progchase.cpp:146:3: error: invalid conversion from 'const char*' to 'uint32_t' {aka 'long unsigned int'} [-fpermissive]

../../../common/inc/chirp.hpp:58:41: error: invalid conversion from 'int' to 'const char*' [-fpermissive]

../src/progchase.cpp:148:3: error: invalid conversion from 'const char*' to 'uint32_t' {aka 'long unsigned int'} [-fpermissive]

../../../common/inc/chirp.hpp:58:41: error: invalid conversion from 'int' to 'const char*' [-fpermissive]

../src/progchase.cpp:150:3: error: invalid conversion from 'const char*' to 'uint32_t' {aka 'long unsigned int'} [-fpermissive]

../../../common/inc/chirp.hpp:58:41: error: invalid conversion from 'int' to 'const char*' [-fpermissive]

../src/progchase.cpp:167:2: error: 'BlobB' was not declared in this scope

../src/progchase.cpp:167:9: error: 'ccBlobs' was not declared in this scope

make.exe: [src/progchase.o] Error 1 make.exe: Waiting for unfinished jobs.... make.exe: *** Waiting for unfinished jobs....

Any help would be greatly appreciated~ Riley