These are chat archives for SmingHub/Sming

31st
Dec 2016
crosofg
@crosofg
Dec 31 2016 11:21
@slaff
c:/tools/sming/Sming/third-party/.patches/pwm.patch:18: trailing whitespace.
/* ISR related definitions that are missing in some SDKs */
c:/tools/sming/Sming/third-party/.patches/pwm.patch:19: trailing whitespace.
extern void ets_isr_attach(int intr, void *handler, void *arg);
c:/tools/sming/Sming/third-party/.patches/pwm.patch:20: trailing whitespace.
extern void ets_isr_mask(unsigned intr);
Checking patch pwm.c...
error: while searching for:

/* Set the following three defines to your needs */

#ifndef SDK_PWM_PERIOD_COMPAT_MODE
  #define SDK_PWM_PERIOD_COMPAT_MODE 0
#endif

error: patch failed: pwm.c:18
error: pwm.c: patch does not apply
make: [third-party/pwm/pwm.c] Error 1 (ignored)
crosofg
@crosofg
Dec 31 2016 11:29
@/all
has anyone integrated hlw8012
power mesuremnt
it comes packaged with sonoff pow
crosofg
@crosofg
Dec 31 2016 14:28
what needs to be done to integrate