Notifications
Clear all
Firmware 3.9.2 compile warnings
Hi, everyone,
I'm attempting to compile firmware 3.9.2 using WSL on Windows 10.
My build environment:
- OS: Windows 10 x64
- WSL Version 2
- WSL Distro: Ubuntu 20.04
- Python 3.8
- Ardunio IDE : 1.8.5
Build env : 1.0.6
Board : prusa_einsy_rambo
Package name: PrusaResearch
Board v. : 1.0.3
Specific Lib: PrusaLibrary - git branch -a
* MK3
remotes/origin/HEAD -> origin/MK3
I've been following along with the instructions on the GitHub page.
So far, I have:
- Checked out the current branch (git checkout)
- Renamed Firmware/variants/1_75mm_MK3S-EINSy10a-E3Dv6full.h to Configuration_prusa.h
- Copied a copy of Configuration_prusa.h to the Firmware directory while also leaving a copy under Firmware/variants
- Run PF-build.sh
Here is my output:
Start to build Prusa Firmware ...
Using variant Configuration_prusa
/mnt/c/Users/<username>/Documents/Prusa-Firmware-build/sketch/ultralcd.cpp: In function 'void lcd_implementation_drawmenu_sdfile_selected(uint8_t, const char*, char*)':
/mnt/c/Users/<username>/Documents/Prusa-Firmware-build/sketch/ultralcd.cpp:352:22: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
longFilename = filename;
^
/mnt/c/Users/<username>/Documents/Prusa-Firmware-build/sketch/ultralcd.cpp: In function 'void lcdui_print_farm()':
/mnt/c/Users/<username>/Documents/Prusa-Firmware-build/sketch/ultralcd.cpp:674:6: warning: unused variable 'chars' [-Wunused-variable]
int chars = lcd_printf_P(_N(" F0 "));
^
Sketch uses 230408 bytes (90%) of program storage space. Maximum is 253952 bytes.
Global variables use 6437 bytes of dynamic memory.
Copying English only firmware to PF-build-hex folder
1
Build done, please use Slic3rPE > 1.41.0 to upload the firmware
more information how to flash firmware https://www.prusa3d.com/drivers/
Does that exit code 1 mean that the build failed? Should I be worried about the invalid conversion and unused variable?
I'm hesitant to actually try out the firmware on the MK3S before understanding what this output means.
Thank you for any help you can provide!
Posted : 24/12/2020 10:56 pm