You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FQBN: esp32:esp32:XIAO_ESP32C3
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15
Using core 'esp32' from platform in folder: C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812_io.cpp: In member function 'void SK6812::sendarray_mask(uint8_t*, uint16_t, uint8_t, uint8_t*, uint8_t*)':
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812_io.cpp:71:13: error: 'SREG' was not declared in this scope
sreg_prev=SREG;
^~~~
In file included from D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.h:6,
from D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp:1:
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp: In member function 'void SK6812::set_output(uint8_t)':
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32/Arduino.h:114:70: error: cannot convert 'volatile uint32_t*' {aka 'volatile long unsigned int*'} to 'const volatile uint8_t*' {aka 'const volatile unsigned char*'} in assignment
#define portOutputRegister(port) ((volatile uint32_t*)GPIO_OUT_REG)
^
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp:18:10: note: in expansion of macro 'portOutputRegister'
_port = portOutputRegister(digitalPinToPort(pin));
^~~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32/Arduino.h:116:73: error: cannot convert 'volatile uint32_t*' {aka 'volatile long unsigned int*'} to 'volatile uint8_t*' {aka 'volatile unsigned char*'} in assignment
#define portModeRegister(port) ((volatile uint32_t*)GPIO_ENABLE_REG)
^
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp:19:14: note: in expansion of macro 'portModeRegister'
_port_reg = portModeRegister(digitalPinToPort(pin));
^~~~~~~~~~~~~~~~
exit status 1
Compilation error: 'SREG' was not declared in this scope
The text was updated successfully, but these errors were encountered:
FQBN: esp32:esp32:XIAO_ESP32C3
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15
Using core 'esp32' from platform in folder: C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812_io.cpp: In member function 'void SK6812::sendarray_mask(uint8_t*, uint16_t, uint8_t, uint8_t*, uint8_t*)':
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812_io.cpp:71:13: error: 'SREG' was not declared in this scope
sreg_prev=SREG;
^~~~
In file included from D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.h:6,
from D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp:1:
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp: In member function 'void SK6812::set_output(uint8_t)':
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32/Arduino.h:114:70: error: cannot convert 'volatile uint32_t*' {aka 'volatile long unsigned int*'} to 'const volatile uint8_t*' {aka 'const volatile unsigned char*'} in assignment
#define portOutputRegister(port) ((volatile uint32_t*)GPIO_OUT_REG)
^
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp:18:10: note: in expansion of macro 'portOutputRegister'
_port = portOutputRegister(digitalPinToPort(pin));
^~~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32/Arduino.h:116:73: error: cannot convert 'volatile uint32_t*' {aka 'volatile long unsigned int*'} to 'volatile uint8_t*' {aka 'volatile unsigned char*'} in assignment
#define portModeRegister(port) ((volatile uint32_t*)GPIO_ENABLE_REG)
^
D:\Arduino\github\FastLED-RGBW\CRGBW\SK6812.cpp:19:14: note: in expansion of macro 'portModeRegister'
_port_reg = portModeRegister(digitalPinToPort(pin));
^~~~~~~~~~~~~~~~
exit status 1
Compilation error: 'SREG' was not declared in this scope
The text was updated successfully, but these errors were encountered: