Errors when adding a Greyscale font

Here is my config: Proffie Config - Pastebin.com

Here is my error,

In file included from F:\extra\ProffieOS\ProffieOS.ino:571:
F:\extra\ProffieOS\config\s3config.h:626:10: error: cannot convert ‘const char*’ to ‘StyleFactory*’ in initialization
626 | >>(), “null”}
| ^~~~~~
| |
| const char*

exit status 1

Compilation error: cannot convert ‘const char*’ to ‘StyleFactory*’ in initialization

You have 2 blades, so you need 2 styles in each preset. At least one preset is missing the 2nd style.

I fixed that part and it compiled correct, now im getting an issue while uploading to the saber. NOTE: this whole file is structured how it was before I added the greyscale font.

Here is the error: c:/users/joey/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/joey/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/joey/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/joey/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/joey/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
Sketch uses 211176 bytes (85%) of program storage space. Maximum is 245760 bytes.
The current directory is invalid.
Failed uploading: uploading error: exit status 255

Here is the updated config: Proffie Config - Pastebin.com

The current directory is invalid.

This isn’t a config file issue. Your ProffieOS folder is somewhere it can’t be.
Examples might be on an SD card, still inside a .zip that wasn’t extracted, etc.

Nothing has changed structure wise from the previous upload that worked, I just added a font. I looked and nothing is zipped. Is there a way someone who knows this better can take a look?

Try moving the ProffieOS folder off the SD card and onto your computer’s main drive. Close Arduino before you do that, and reopen it via opening the ProffieOS.ino file in the new location.

Ok uploading the new config from the same folder now located on the desktop seems to have did the trick, that was weird.

If you are leaving the SD Card mounted in the board while attempting a flash and your OS is based out of said card you loose the connection when the card disconnects during the flash. Unless you have the SD Card out of the board and connected separately this will happen. Best-Practice is to always have your OS based off of your main device. *That and always keep a working backup config copy.

ProffieOS 8 will improve upon this by making SD card access something that can be enabled/disabled at runtime using the serial monitor, the workbench or the settings menu on the hilt itself.

1 Like