ESP, IoT ESP8266, проблема с компиляцией скетча

Помогите запустить скетч
BLUETOOTH МАТРИЦА НА АДРЕСНЫХ СВЕТОДИОДАХ

Имею esp8266.
Библиотеки поставил, порт и плату выбрал по инструкции. При компиляции получаю вот это:

Arduino: 1.8.2 (Windows 10), Плата:"WeMos D1 R1, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"


In file included from C:\Users\Admin_scamt\Downloads\GyverMatrixBT-master\firmware\GyverMatrixOS_v1.11\GyverMatrixOS_v1.11.ino:137:0:

C:\Users\Admin_scamt\Documents\Arduino\libraries\FastLED-stm32patch/FastLED.h:17:21: note: #pragma message: FastLED version 3.002.000

# pragma message "FastLED version 3.002.000"

^

In file included from C:\Users\Admin_scamt\Documents\Arduino\libraries\FastLED-stm32patch/led_sysdefs.h:24:0,

from C:\Users\Admin_scamt\Documents\Arduino\libraries\FastLED-stm32patch/FastLED.h:44,

from C:\Users\Admin_scamt\Downloads\GyverMatrixBT-master\firmware\GyverMatrixOS_v1.11\GyverMatrixOS_v1.11.ino:137:

C:\Users\Admin_scamt\Documents\Arduino\libraries\FastLED-stm32patch/platforms/esp/8266/led_sysdefs_esp8266.h:15:17: error: conflicting declaration 'typedef uint8_t boolean'

typedef uint8_t boolean;

^

In file included from sketch\GyverMatrixOS_v1.11.ino.cpp:1:0:

C:\Users\Admin_scamt\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1\cores\esp8266/Arduino.h:191:14: error: 'boolean' has a previous declaration as 'typedef bool boolean'

typedef bool boolean;

^

In file included from C:\Users\Admin_scamt\Documents\Arduino\libraries\FastLED-stm32patch/FastLED.h:68:0,

from C:\Users\Admin_scamt\Downloads\GyverMatrixBT-master\firmware\GyverMatrixOS_v1.11\GyverMatrixOS_v1.11.ino:137:

C:\Users\Admin_scamt\Documents\Arduino\libraries\FastLED-stm32patch/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output

# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"

^

exit status 1
Ошибка компиляции для платы WeMos D1 R1.
 

Комментарии

Petr@vich

✩✩✩✩✩✩✩
5 Июл 2022
10
0
Установил новую IDE. Убрал все библиотеки. установил только от проекта. при компляции такая ошибка.
 

sendsay

✩✩✩✩✩✩✩
10 Окт 2024
10
1
@Petr@vich,Уверен что удалил старые библиотеки по всем маршрутам? Мажет где-то осталось?
 

sendsay

✩✩✩✩✩✩✩
10 Окт 2024
10
1
Ок, попробуй перименовать как оно просит, без нижнего подчеркивания, проверь настройки проекта, версии библиотек
 

Petr@vich

✩✩✩✩✩✩✩
5 Июл 2022
10
0
Так я библиотеки все удалил из IDE.Установил только от Алекса.
 

kiril_l

✩✩✩✩✩✩✩
8 Ноя 2024
1
0
GyverMatrixOS_v1.15 не получается установить, что я делаю не так?
In file included from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:14:21: note: '#pragma message: FastLED version 3.002.009'
14 | # pragma message "FastLED version 3.002.009"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:48,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:60:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
60 | inline void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= mPinMask; }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:61:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
61 | inline void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~mPinMask; }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:62:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
62 | inline void set(register port_t val) attribute ((always_inline)) { *mPort = val; }
| ^~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:64:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
64 | inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:64:64: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
64 | inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
| ^~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:225:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
225 | inline static void hi(register port_ptr_t port) attribute ((always_inline)) { }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:226:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
226 | inline static void lo(register port_ptr_t port) attribute ((always_inline)) { }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:227:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
227 | inline static void set(register port_t val) attribute ((always_inline)) { }
| ^~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:229:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
229 | inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastpin.h:229:71: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
229 | inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { }
| ^~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:49,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_types.h:22:80: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
22 | static attribute((always_inline)) inline uint8_t adjust(register uint8_t data) { return data; }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_types.h:23:80: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | static attribute((always_inline)) inline uint8_t adjust(register uint8_t data, register uint8_t scale) { return scale8(data, scale); }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_types.h:23:103: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
23 | static attribute((always_inline)) inline uint8_t adjust(register uint8_t data, register uint8_t scale) { return scale8(data, scale); }
| ^~~~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastled_esp8266.h:3,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms.h:31,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:52,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastpin_esp8266.h:25:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
25 | inline static void set(register port_t val) attribute ((always_inline)) { if(PIN < 16) { _GPB._GPO = val; } else { GP16O = val; }}
| ^~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastled_esp8266.h:3,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms.h:31,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:52,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastpin_esp8266.h:31:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
31 | inline static void hi(register port_ptr_t port) attribute ((always_inline)) { hi(); }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastpin_esp8266.h:32:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
32 | inline static void lo(register port_ptr_t port) attribute ((always_inline)) { lo(); }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastpin_esp8266.h:33:50: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
33 | inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastpin_esp8266.h:33:72: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
33 | inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
| ^~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastled_esp8266.h:4,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms.h:31,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:52,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_esp8266.h:55:102: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
55 | template<int BITS> attribute ((always_inline)) inline static void writeBits(register uint32_t & last_mark, register uint32_t b) {
| ^~~~~~~~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastled_esp8266.h:4,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms.h:31,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:52,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_esp8266.h:55:131: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
55 | template<int BITS> attribute ((always_inline)) inline static void writeBits(register uint32_t & last_mark, register uint32_t b) {
| ^
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_esp8266.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::writeBits(uint32_t&, uint32_t)':
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_esp8266.h:57:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
57 | for(register uint32_t i = BITS; i > 0; i--) {
| ^
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_esp8266.h: In static member function 'static uint32_t ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>)':
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_esp8266.h:76:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
76 | register uint32_t b = pixels.loadAndScale0();
| ^
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/fastled_esp8266.h:5,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms.h:31,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:52,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h: At global scope:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h:72:110: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
72 | template<int BITS,int PX> attribute ((always_inline)) inline static void writeBits(register uint32_t & last_mark, register Lines & b, PixelController<RGB_ORDER, LANES, PORT_MASK> &pixels) { // , register uint32_t & b2) {
| ^~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h:72:138: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
72 | template<int BITS,int PX> attribute ((always_inline)) inline static void writeBits(register uint32_t & last_mark, register Lines & b, PixelController<RGB_ORDER, LANES, PORT_MASK> &pixels) { // , register uint32_t & b2) {
| ^
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h: In static member function 'static void InlineBlockClocklessController<LANES, FIRST_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::writeBits(uint32_t&, InlineBlockClocklessController<LANES, FIRST_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::Lines&, PixelController<RGB_ORDER, LANES, (((1 << ((LANES < 6) ? LANES : 6)) - 1) & 65535)>&)':
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h:76:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
76 | register uint8_t d = pixels.template getd<PX>(pixels);
| ^
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h:77:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
77 | register uint8_t scale = pixels.template getscale<PX>(pixels);
| ^~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h:79:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
79 | for(register uint32_t i = 0; i < USED_LANES; i++) {
| ^
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/platforms/esp/8266/clockless_block_esp8266.h:94:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
94 | for(register uint32_t i = USED_LANES; i < 8; i++) {
| ^
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi.h:9,
from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:65,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h: At global scope:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:255:55: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
255 | template <class D> void writeBytes(register uint8_t *data, int len) {
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:300:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
300 | void writeBytes(register uint8_t *data, int len) { writeBytes<DATA_NOP>(data, len); }
| ^~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h: In static member function 'static void AVRSoftwareSPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::writeBytesValueRaw(uint8_t, int)':
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:225:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
225 | register data_ptr_t datapin = FastPin<DATA_PIN>::port();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:230:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
230 | register clock_ptr_t clockpin = FastPin<CLOCK_PIN>::port();
| ^~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:231:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
231 | register data_t datahi = FastPin<DATA_PIN>::hival();
| ^~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:232:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
232 | register data_t datalo = FastPin<DATA_PIN>::loval();
| ^~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:233:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
233 | register clock_t clockhi = FastPin<CLOCK_PIN>::hival();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:234:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
234 | register clock_t clocklo = FastPin<CLOCK_PIN>::loval();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:241:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
241 | register data_t datahi_clockhi = FastPin<DATA_PIN>::hival() | FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:242:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
242 | register data_t datalo_clockhi = FastPin<DATA_PIN>::loval() | FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:243:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
243 | register data_t datahi_clocklo = FastPin<DATA_PIN>::hival() & ~FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:244:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
244 | register data_t datalo_clocklo = FastPin<DATA_PIN>::loval() & ~FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h: In member function 'void AVRSoftwareSPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::writeBytes(uint8_t*, int)':
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:263:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
263 | register clock_ptr_t clockpin = FastPin<CLOCK_PIN>::port();
| ^~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:264:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
264 | register data_ptr_t datapin = FastPin<DATA_PIN>::port();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:269:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
269 | register data_t datahi = FastPin<DATA_PIN>::hival();
| ^~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:270:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
270 | register data_t datalo = FastPin<DATA_PIN>::loval();
| ^~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:271:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
271 | register clock_t clockhi = FastPin<CLOCK_PIN>::hival();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:272:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
272 | register clock_t clocklo = FastPin<CLOCK_PIN>::loval();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:282:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
282 | register data_t datahi_clockhi = FastPin<DATA_PIN>::hival() | FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:283:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
283 | register data_t datalo_clockhi = FastPin<DATA_PIN>::loval() | FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:284:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
284 | register data_t datahi_clocklo = FastPin<DATA_PIN>::hival() & ~FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:285:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
285 | register data_t datalo_clocklo = FastPin<DATA_PIN>::loval() & ~FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h: In member function 'void AVRSoftwareSPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::writePixels(PixelController<RGB_ORDER>)':
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:326:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
326 | register data_ptr_t datapin = FastPin<DATA_PIN>::port();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:329:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
329 | register clock_ptr_t clockpin = FastPin<CLOCK_PIN>::port();
| ^~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:332:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
332 | register data_t datahi = FastPin<DATA_PIN>::hival();
| ^~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:333:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
333 | register data_t datalo = FastPin<DATA_PIN>::loval();
| ^~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:334:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
334 | register clock_t clockhi = FastPin<CLOCK_PIN>::hival();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:335:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
335 | register clock_t clocklo = FastPin<CLOCK_PIN>::loval();
| ^~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:350:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
350 | register data_t datahi_clockhi = FastPin<DATA_PIN>::hival() | FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:351:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
351 | register data_t datalo_clockhi = FastPin<DATA_PIN>::loval() | FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:352:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
352 | register data_t datahi_clocklo = FastPin<DATA_PIN>::hival() & ~FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi_bitbang.h:353:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
353 | register data_t datalo_clocklo = FastPin<DATA_PIN>::loval() & ~FastPin<CLOCK_PIN>::mask();
| ^~~~~~~~~~~~~~
In file included from c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/FastLED.h:65,
from C:\Users\kiril\Desktop\GyverMatrixWiFi-master1\GyverMatrixWiFi-master\firmware\GyverMatrixOS_v1.15\GyverMatrixOS_v1.15.ino:18:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi.h: At global scope:
c:\Users\kiril\Documents\Arduino\libraries\FastLED-3.2.9/fastspi.h:115:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output'

cc1plus.exe: some warnings being treated as errors

exit status 1

Compilation error: no return statement in function returning non-void [-Werror=return-type]
 

Сотнег

★★★★★★★
15 Янв 2020
4,340
1,492
@kiril_l,
наверное, в настройках компиляции поставлена или убрана галочка, из-за которой на предупреждения реагируют как на ошибки.
Найдёте, дайте хоть на картинке посмотреть, где она там?