Skip to content

После обновления packages esp8266 не компилируется скетч с библиотекой GyverTM1637.h #84

@fess1100

Description

@fess1100

При компиляции стала появляться ошибка, связываю с обновлением esp8266. Как лечить не знаю, чем то библиотеке time.h перестала нравиться буква "u"

c:\users\oooooooo\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\sys\time.h: In function 'void bintime_addx(bintime*, uint64_t)':
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:137:12: error: expected unqualified-id before numeric constant
  137 | #define _u 0x1c
      |            ^~~~
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:137:12: error: lvalue required as left operand of assignment
  137 | #define _u 0x1c
      |            ^~~~
c:\users\oooooooo\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\sys\time.h: In function 'void bintime_add(bintime*, const bintime*)':
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:137:12: error: expected unqualified-id before numeric constant
  137 | #define _u 0x1c
      |            ^~~~
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:137:12: error: lvalue required as left operand of assignment
  137 | #define _u 0x1c
      |            ^~~~
c:\users\oooooooo\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\sys\time.h: In function 'void bintime_sub(bintime*, const bintime*)':
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:137:12: error: expected unqualified-id before numeric constant
  137 | #define _u 0x1c
      |            ^~~~
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:137:12: error: lvalue required as left operand of assignment
  137 | #define _u 0x1c
      |            ^~~~
exit status 1
Ошибка компиляции для платы NodeMCU 1.0 (ESP-12E Module).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions