Closed HasseM closed 2 years ago
An update from my side:
I decided to brake down my problems in smaller steps.
1) does the board/setup work So I first set to get a blinky example running on my RPico. This failed because my new pc environment had never seen a serial port from a working device yet. See: https://arduino-pico.readthedocs.io/en/latest/install.html#unable-to-upload-first-sketch So I just couldnt select the port. Probably nothing today with above problem because that already happens at compile. But anyhow this could be easily solved and now I am sure my Pico Arduino environment works. So not board issues.
Still the same issue as above. Any got advice?
Ok, found a problem in the code:
In CorsairLightingFirmwareStorageEEPROM.h there is the following line (Ln18):
When using a RaspberryPi Pico, this is ARDUINO_ARCH_RP2040 and not ARDUINO_ARCH_AVR. Or is it me doing something wrong?
Fixing this files jumps to a similar problem on the next line. I can easily now go through the code and fix all the #if deffined statements (using the OR statement). But waiting for advice here!
Hi, CorsairLightingFirmwareStorageEEPROM
is not available for pi pico, try to use the static storage instead
Hi,
CorsairLightingFirmwareStorageEEPROM
is not available for pi pico, try to use the static storage instead
So you mean the LightningNodePro example is not working for the Pico? Note that I am following exact step as in the readme..... here
If I replace the Eeprom references to StorageStatic I get the following error: Compilation error: no matching function for call to 'CorsairLightingFirmwareStorageStatic::CorsairLightingFirmwareStorageStatic()
In the readme the Pi Pico step by step guide uses the TinyUSB
example instead of the LightningNodePro
.
arggggg...... it's always that small reading mistake that you make that keeps you busy for hours.......
thanks! It's all clear now!
Describe the problem New PC. setting up my dev environment. Trying to run this project on a RaspberryPi Pico. It was all working on my old PC. RPi pico is still connected and recognized by iCue. Now I want to get it all working on my new PC but I end up in a large amount of errors. I have been trying to fix it for a couple of hours now and I seem to be missing something..... or did it break with new versions of stuff?
Error: Compilation error: 'CorsairLightingFirmwareStorageEEPROM' does not name a type; did you mean 'CorsairLightingFirmwareStorageStatic'?
Screenshots
System (please complete the following information):
Code changes Did you changed the code of the library or the sketch? No.... just the example project....
Kind of the same error message in this topic: https://github.com/Legion2/CorsairLightingProtocol/issues/280 but I dint see a solution in there. But same error: Compilation error: 'CorsairLightingFirmwareStorageEEPROM' does not name a type; did you mean 'CorsairLightingFirmwareStorageStatic'?