make clean && make
source scripts/provision.sh ESPRUINOWIFI
BOARD=ESPRUINOWIFI make
CC libs/tv/tv.o
CC targets/stm32/jshardware.o
CC targets/stm32/stm32_it.o
libs/tv/tv.c:80:30: error: unknown type name 'TIM_TypeDef'
unsigned int jshGetTimerFreq(TIM_TypeDef *TIMx);
^~~~~~~~~~~
libs/tv/tv.c: In function 'TIM4_IRQHandler':
libs/tv/tv.c:91:3: error: implicit declaration of function 'TIM_ClearITPendingBit' [-Werror=implicit-function-declaration]
TIM_ClearITPendingBit(TVTIMER, TIM_IT_Update);
^~~~~~~~~~~~~~~~~~~~~
libs/tv/tv.c:64:31: error: 'TIM4' undeclared (first use in this function)
[#define](https://forum.espruino.com/search/?q=%23define) TVTIMER TIM4
^~~~
libs/tv/tv.c:91:25: note: in expansion of macro 'TVTIMER'
TIM_ClearITPendingBit(TVTIMER, TIM_IT_Update);
^~~~~~~
cc1: some warnings being treated as errors
Makefile:797: recipe for target 'targets/stm32/jshardware.o' failed
make: *** [targets/stm32/jshardware.o] Error 1
rgc@DESKTOP-R7T0VUC:/mnt/c/Users/robin/Espruino$
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sat 2021.09.25 - 12:53pm CST
Similar errors occur for WIFI also: