libretiny
libretiny copied to clipboard
rtl8710bn HLW8012 CHANGE interrupts not supported
libretiny:
board: generic-rtl8710bn-2mb-788k
framework:
version: dev
not work
libretiny:
board: generic-rtl8710bn-2mb-788k
framework:
version: 1.1.0
work good
error log
System_Init1
OSC8M: 7fea9f
boot reason: 1
System_Init2
I [ 0.000] LibreTiny v1.2.0+sha.e99c612 on generic-rtl8710bn-2mb-788k, compiled at Aug 12 2023 01:25:36, GCC 10.3.1 (-Os)
I [ 0.000] Reset reason: Unknown
I [ 0.007] Preferences initialized
[I][logger:302]: Log initialized
[C][ota:477]: There have been 9 suspected unsuccessful boot attempts.
[D][lt.preferences:104]: Saving 1 preferences to flash...
[D][lt.preferences:132]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][switch.gpio:011]: Setting up GPIO Switch 'Relay'...
[D][switch:016]: 'Relay' Turning OFF.
[D][switch:055]: 'Relay': Sending state OFF
[D][switch:016]: 'Relay' Turning OFF.
[C][status_led:055]: Setting up Status LED...
[C][light:035]: Setting up light 'statusled'...
[D][status_led:038]: 'statusled': Setting initial state
[D][status_led:049]: 'statusled': Setting state OFF
[D][light:036]: 'statusled' Setting:
[D][light:041]: Color mode:
[C][hlw8012:014]: Setting up HLW8012...
W [ 0.102] CHANGE interrupts not supported