make clean
source scripts/provision.sh ESPRUINOWIFI
make clean make
make clean && BOARD=ESPRUINOWIFI RELEASE=1 make
Which ran fine:
rgc@DESKTOP-R7T0VUC:/mnt/c/Users/robin/espruino$ make clean
Cleaning targets
rgc@DESKTOP-R7T0VUC:/mnt/c/Users/robin/espruino$ source scripts/provision.sh ESPRUINOWIFI
Provision BOARDNAME = ESPRUINOWIFI
Provision FAMILY = STM32F4
===== NRF52
===== ARM
arm-none-eabi-gcc installed
rgc@DESKTOP-R7T0VUC:/mnt/c/Users/robin/espruino$ make clean make
make: Nothing to be done for 'make'.
Cleaning targets
rgc@DESKTOP-R7T0VUC:/mnt/c/Users/robin/espruino$ make clean && BOARD=ESPRUINOWIFI RELEASE=1 make
Cleaning targets
CC /mnt/c/Users/robin/espruino/targetlibs/stm32f4/lib/startup_stm32f401xx.o
Generating platform configs
Generating pin info
Generating JS wrappers
WRAPPERSOURCES = src/jswrap_array.c src/jswrap_arraybuffer.c src/jswrap_dataview.c src/jswrap_date.c src/jswrap_e
. . .
and on and on to completion
I have not used my PC other than for email and one Windows10 update behind the scenes did reboot my laptop this past Friday.
2021-10 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5006670)
Successfully installed on 10/19/2021
I haven't fetched (intentionally by me) or cloned from github, I haven't made any file modifications to the make, or board .py files either. I just started this morning with the intent to build continuing where I left off, but now get htis unique new error:
libs/graphics/lcd_arraybuffer.c:222:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i=0;i<gfx->data.bpp;i+=8)
^
Makefile:803: recipe for target 'libs/graphics/lcd_arraybuffer.o' failed
make: *** [libs/graphics/lcd_arraybuffer.o] Error 1
make: *** wait: No child processes. Stop.
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.
Sun 2021.10.24
Firmware build for ESPRUINOWIFI fails make: *** [libs/graphics/lcd_arraybuffer.o] Error 1
Two weeks ago I was able to build .elf and .hex files using the steps clarified by @Gordon
I used this sequence:
Which ran fine:
I have not used my PC other than for email and one Windows10 update behind the scenes did reboot my laptop this past Friday.
I haven't fetched (intentionally by me) or cloned from github, I haven't made any file modifications to the make, or board .py files either. I just started this morning with the intent to build continuing where I left off, but now get htis unique new error:
In the mean time I re-reading:
and
I haven't changed any recipe within the make file, I haven't made any mods to the LCD libs, or any lib file for that matter.