#keep getting "Compilation error: #error Please set CONFIG_FILE as shown above."
394 messages Β· Page 1 of 1 (latest)
that doesn't seem to be in the correct spot.
i was struggling to figure it out as there is extra things that aren't in my os
aight gonna fix that real quick
at least it has to be above line 7 in their example
you need to change this back to CONFIG_FILE_TEST then put the config info in the correct spot
he cut off the first number, so instead of 17 and 27, it looks like 7 is repeating.
as an example.
fair.
i don't have the test line in my os so i was trying to place where the actual error was at
hmmmmmmmmm
what line is that error showing at?
you did change line 49 to what it was originally, correct?
ohhhhhhhhhhhhhh
now i have this In file included from C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:621:
C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\config\Mercenary.h:102:9: error: expected '}' before '{' token
102 | { "Mercenary;common", "common/tracks/venus.wav",
| ^
C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\config\Mercenary.h:33:20: note: to match this '{'
33 | Preset presets[] = {
| ^
C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\config\Mercenary.h:102:9: error: expected ',' or ';' before '{' token
102 | { "Mercenary;common", "common/tracks/venus.wav",
| ^
C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\config\Mercenary.h:166:21: error: expected unqualified-id before ',' token
166 | >>(), "mercenary"},
| ^
C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\config\Mercenary.h:169:1: error: expected unqualified-id before '}' token
169 | };
| ^
C:\Users\Admin\Downloads\ProffieOS-v7.15\ProffieOS\config\Mercenary.h:169:1: error: expected declaration before '}' token
exit status 1
Compilation error: expected '}' before '{' token
you have an extra something or missing something.
we need to see how you are adding that font/bladestyle in.
missing a ,
shit i didn't realize the compressed was cutting off lol
and it overflows once corrected.
like this right?
yep, you'll also need to add
#define DISABLE_BASIC_PARSER_STYLES
to the top section, otherwise you'll get an overflow error.
above all the config preset stuff?
yep, the top section:
done
says its done compiling
ima check if it works rqqqqq
fails when uploading for some reason
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe:C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto-wrapper.exe: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: start of section .bss changed by 24
Sketch uses 261904 bytes (99%) of program storage space. Maximum is 262144 bytes.
Failed uploading: uploading error: exit status 255
Yup
I followed a video as it was easier
This one https://youtu.be/o4YZ-2ekaPw
If you need a straight-to-the-point guide that walks you through how to add soundfonts AND blade styles to your proffieboard without taking more than 1 hour, then this video's for you.
00:00 Things that you would need
00:36 Installation of ProffieOS and Arduino
01:09 Getting your free Soundfont
01:52 Plugging the SD Card into your computer
03:3...
follow my link, most up to date. Go thorugh each step and verify.
I added the mercenary font to my sd card. Plugged in my proffie set up and the config thingy
had a little look and im sure ive done everything correctly
even installed the DFU?
do you have a 3rd party controller you use for gaming?
nope dont think so
you don't use a controller while gaming? That includes a flight stick or steering wheel accessory.
nope i just use a keybaord and mouse
i had those errors pop up too and i've never used one. they are sticky and stupid
the mouse IS wireless though
You got any fix for them?
it's typically something like a driver getting in the way of opening the port to allow the board to be flashed.
Ill have a look
Where do i check my drivers and stuff?
there is a link in #1019929505776812032 iirc
no, it would give an overflow error.
you could try putting the board into bootloader first to see if that will work.
how do i do that?
i dont thing i have anything to trigger the contacts at allπ
they are press buttons.
with it in bootloader mode and plugged in (arduino will show it isn't connected) hit upload.
like this?
The arrow button is upload.
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe:C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto-wrapper.exe: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: start of section .bss changed by 24
Sketch uses 261904 bytes (99%) of program storage space. Maximum is 262144 bytes.
Failed uploading: uploading error: exit status 255
ill try a different font just in case
same issue with the coda font C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe:C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto-wrapper.exe: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: start of section .bss changed by 24
Sketch uses 249672 bytes (95%) of program storage space. Maximum is 262144 bytes.
It's not a config issue (unless some weird define is causing it) it looks more like an Arduino settings or install issue
is there anything i should change?
I haven't used Arduino in a long time so I'm not super familiar, just noting that the error isn't pointing to he config for a typo or something like that, it's other parts of the code run that are failing. Does the version of Arduino matter @north dune
im on ide 2.3.7
this is not the same as the last. unless you forgot a line. this sketch should upload
unless that ito-wrapper is the error
nope. my verification comes back exactly the same
even this one without the custom fonts fails
like trav was saying. it seems like an arduino/communication error not a config
anything i could try to do to fix it? such as a reinstall or smth
i wish i knew what that 255 error was
one dude ran arduino in compatibility mode for win 8 and got rid of it
welp gotta try that then
ill tell ya what happens
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe:C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto-wrapper.exe: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
C:/Users/Admin/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: start of section .bss changed by 24
Sketch uses 261904 bytes (99%) of program storage space. Maximum is 262144 bytes.
Failed uploading: uploading error: exit status 255
still aint work at all
maybe this is an uninstall the arduino plug in for proffie and reinstall it.
done that and i still got the same issue
I'd say try ProffieConfig, but if it's something blocking drivers/ports it might still fail.
could you link it rq?
#electronics-and-sound message
There's a link in the video description.
figured as much, something on your PC is blocking things.
anything i should check?
any kind of malware protections and port lockers is all that comes to mind.
Invalid FQBN: getting build properties for board proffieboard:stm32l4:ProffieboardV2-L433CC: invalid option 'pclk'
Compilation error: Invalid FQBN: getting build properties for board proffieboard:stm32l4:ProffieboardV2-L433CC: invalid option 'pclk'
I dunno, I did say ProffieConfig might not work if you are having issues with a properly set up arduino INO. Best wait for some instruction on your crucible post. Β―_(γ)_/Β―
updated firmware
still the same issue
havent made a crubile post yet
ill do that later
unknown upload error now
i mean that is a bit better
have you tried a different version of arduino?
yup still get the same issue
my board IS in dfu mode so idk why
you're on the admin user?
verifying works
yup. didnt run it in admin mode though
ill try that
i only ask cause it's looking for stuff on the admin user
was that where it was installed?
nope im using the zip version of arduino 1.8.19 in my downloads folder
wait, it's in a zip file?
yea
is the folder one level up a zip file though?
think so. i unzipped it so it should be fine
i could try the installer if you want
i think it's worth a try to use the installer
could be a problem with the portable version
you could also try the 2.x up to date version unless you have a reason to use the legacy version
tried the up to date version which always gave me error 255 for some reason
only does it when uploading it
were you also using a portable version or the installed version?
installed version
was 1.8 still giving you error 255?
nope gave me this
follow the directions to show verbose output
I would try downloading and unzipping a fresh copy of the OS and adding in the config to the proper folder and setting it in the INO, just to rule out an issue with the current one. Tips: make sure you are unzipping everything into a folder on your PC and not the SD card.
was this error message on the installed 2.x version or the 1.8 portable version?
oops it didn't reply, hang on
this
so when i use verbose and verify a config, it looks for arduino stuff on my user and not the admin. i'm not sure if that's because you're using a portable version or not, but if it's looking for stuff in the admin user files and you don't have permissions, it could explain returning errors
Also have to make sure the folder in a local one not a cloud one. That's been an issue for many.
just uninstalled everything just in case
should i download arduino for all users or just admin?
all
do the set up for arduino again and see if it will compile
post your verbose output again?
and that's when you hit upload right? does it do the same thing if you hit verify?
same thing except the "Failed uploading: uploading error: exit status 255"
also disappears from the port section when uploading
have you done anything with the board and the serial monitor?
used rebootdfu
but it did see and talk to the board?
also tried doing the boot and reset thing
disappears from the port thingy
but it appears here
i assume you ran the driver installer?
yup
hm, lemme google for a few minutes, see if i see anything
aight
you are on proffie 2.2, right?
yup
So yeah if you put it in bootloader mode it will just disappear from the Arduino as far as picking a port. And it'll still show up that it's connected in your devices.
so thats normal then?
100%
The idea is for you to manually put it into bootloader mode so that you can push the update. Usually when you upload with Arduino it resets the board into bootloader mode to take it on its own. It's a process.
Did you go through The crucible that I linked to see if any of those issues that those guys were having might be something to look into?
yup
what version of arduino are you on now?
I've never seen that 255 issue before myself
tried to see if crubile could help but ive basically tried everything they recommened
2.3.7
so my concern is that the ports show the boards as unknown
neither have I, everything I can find while googling is that it might be a DFU issue, meaning something is getting in the way of the flashing process. Though as I'm not an expert, that could be a wrong assessment.
it appears as com6
it says proffieboard com6?
and then when you select that and try to upload, it disappears?
which looks correct.
Just to be 100% sure, what about here? All that info there on COM4?
hmm....
ill try it without mass storage
thats new c:/users/admin/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:C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto1.exe: internal compiler error: compressed stream: data error
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
lto-wrapper.exe: fatal error: C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update/bin/arm-none-eabi-gcc returned 1 exit status
compilation terminated.
c:/users/admin/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: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
Using library Wire at version 1.0 in folder: C:\Users\Admin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\libraries\Wire
exit status 1
Compilation error: exit status 1
didnt even enter dfu mode
still the same thing with dfu on
4.6
now im getting this error even with serial + mass storage + webUSB
doersnt even enter dfu automatically any more
π
did you try resetting the board?
done
andi put it in dfu mode
just uninstalled and reinstalled proffieboard 4.6 now im getting error 255
shi mad weird ngl
try downgrading to the previous version of the proffieboard plugin before 4.6
i'm working on comparing your verbose output to mine to look for differences but it will take me a few minutes
aight ill try all previous versions just in case something different happens
3.6 failed
2.2 fails aswell but says exit status 1
1.0 fails aswell
dumb questions but just covering bases: have you tried different usb ports and/or a different data cable if you have one? (i don't think those are the issues, but just ruling it out)
bought a new cable but its meant to be arriving tommorow
ill try a different usb port
1.0 shows this
interesting. i'm guessing that's just an issue with the plugin being too outdated, but something to keep in our back pocket
might have an idea, but need to do some looking thru my files first
aight
test config fails aswell
heres my test config
and heres the one i wanna add
can you post that test verbose output?
its the same as the one i sent but ill send it rq
hm, ok. give me another minute, trying to find a thread i was on yesterday
also tried it in win 8 compatability mode aswell
i realize this is probably going to be annoying, but this is what i would do at this point
i would do a full clean uninstall and reinstall of arduino. arduino keeps a number of folders around after you do a regular uninstall (or at least that's my understanding)
there's instructions for a clean uninstall here: https://forum.arduino.cc/t/uninstall-fresh-install-of-arduino-ide/1276407/4
Arduino IDE stores data under five separate external folders. So if you want to make a fresh installation you should delete all of them: Sketchbook Folder The sketchbook folder location is configured via the Arduino IDE preferences. You can determine the location by selecting File > Preferences from the Arduino IDE menus and then checking the ...
it's been looking for stuff in your admin user files so make sure you check there
i would bet on something corrupted or didn't install properly that stayed in one of those hidden folders
yup noticed it had my prefrences and stuff
reinstalling it rn
uploading the thing rn
and error 255 again
damn
greatttttttttttttttttt
really thought we were onto something 
no, I'm leaning towards something on the PC blocking things.
windows deffender is off
gonna try winusb
or wtf its called
not usually the issue, typically it's that damn Guillemot driver is the culprit, keeps overriding the driver. Though in this case it seems like the driver is still in place, but something else is interfering with arduino in starting the flash process. At least that's what it looks like to me. Did you make a crucible post yet? More proffie brainpower located here.
yup they basically said the same stuff
like try win 8 compatablility mode
try startup repair and allat
I doubt it's windows directly, but some 3rd party software causing it.
do you have any other software open? besides discord that is
got the windows security thing open incase it reactivates itsself
also file explorer and opera gx
yeah, that should be fine
hmm now that i think about it i DID have the xbox wheel compatability app a while back but i deleted it
π€
could be worth checking to see if any files are still hanging out
idk, i don't remember guillemot driver giving an error 255 for anyone else
me either, usually just a failed to open DFU or some such.
did you ever try running arduino on the admin profile?
but when I google that error, it seems to fall in the same line.
it's also kinda weird that all the sketches are looking at admin to me. granted i don't have a profile named admin, but i would have thought it would install on the profile that you're using
nothing
k
how about this?
same error
gonna check all my drivers to see if anythings sketchy
heres all my drivers and stuff
i dont see anything sketchy at all
is your proffieboard plugged in?
i forget, are you on win10 or 11?
ok, go to windows settings -> bluetooth and devices -> devices -> scroll all the way down and find "more devices and printer settings"
you should get a popup window and proffieboard should be in there. right click -> properties
then go to the hardware tab and see what's there
hmm
leave that screen up, uplug the proffieboard, and try running the one click driver installer again
then plug the proffieboard back in
appears as proffie baord when not is bootloader mode
ok
right click proprties then
gonna do the driver setup again
go into properties there
reinstalled the drivers
i think that looks right. try an upload?
still the same error
sighhhh... ill try and see what a whole seperate windows install does
i would say take a break and wait for your new cable tomorrow to see if that has an impact
and if not you can always try a fresh windows
aight
ima try a new windows install on a seperate drive just in case though
if there is some sort of problem with something you've previously installed that would certainly solve it
hoping it wont be a waste of time lmao
fortunately it's mostly automated lol
yup but still longgggggggggg
you could also try posting in arduino's forums
i saw some references in there to error 255 but every thread seemed to peter out before describing a solution
yup mad annoying tbf
nope... sadly
about all I got left as a suggestion is using a USB bootable linux distro that you can run all this off of, eliminating the PC's OS as the issue.
i could do that
ill try mint rq
installing mint rn
just gotta waitttttt
On linux mint rn
50kbs a second just to install arduino...
Greattttt
Keeps on failing the downloadddd
Screw it ima just download mint to a separate drive
just don't do anything to override your main OS on the computer, would hate if my suggestion lead to that.
Yup
Got a seperate drive for that very reason lmaooo
Ughhh mint doesnt wanna download
have you considered that your house is on an ancient cursed burial ground?
Hmm maybe
just ruling out all the possibilities
Gonna delete the whole drive cause it DID have a other os on it
One that i dont use lmaooo
Might be time to burn some sage.
Just looked over and seen my sabers motherboard was lifted off the chassis because i had the micro usb plugged in lmaoooo
Works fine though
Trying ubuntu rn
Cause mint aint wanna install at allllll
Installing ubuntu
Praying that proffie os works
π
Finally installed ubuntu
now time to test if proffieos works
π₯ π₯ π₯
Ughhhh
Ubuntu says i aint got a directory or smth
So annoying istfg
Screw it ima just use windows
A whole NEW separate install
It totallyyyyyyy should work... totally...
sorry i don't use ubuntu/linux much so can't really help you there π
Yup
that's so weird
not sure what would've happened on a windows install that owuld not allow you to upload
Wish i didnt have to remove my battery to do the usb thing lmaooo
tbf it was probably some 3rd party program but still applies
Yeah, though trying to figure out which one would've been a headache.
Do yall know any good free soundfonts with the LONGGGGG startup?π π π