First time Proffie build please help

Hi my name is Aaron and I been having a real difficult time getting this to work for me I have been trying for two weeks now before I came here for help. I just dont seem to understand this proffieboard configure set up. I had some help from kr sabers with a config for my hero eco cc build. I just cant get anything right. I have been watching videos for weeks now and reading every thing I can. Please please please help me. Any help would be very very appreciated

This is my wiring diagram

I keep getting this erroe code in arduino any time I try any anything

C:/Users/speci/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\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\variants\STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region `SRAM2' not declared
C:/Users/speci/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\speci\AppData\Local\Temp\ccak7TOP.ltrans0.ltrans.o: in function `main':
C:\Users\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\cores\stm32l4/main.cpp:129:(.text.startup+0x5b2): undefined reference to `setup'
C:/Users/speci/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\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\cores\stm32l4/main.cpp:133:(.text.startup+0x5b6): undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Proffieboard V3.

Normally, when you get this error, it’s because you are trying to compile the config file instead of ProffieOS.ino. Or, possibly you just deleted most of the contents of ProffieOS.ino while messing with the CONFIG_FILE define.

Either way, I would recommend re-downloading ProffieOS, find some simple directions to follow, like these:

(or some youtube video)

Alternatively, you could try using ProffieConfig which makes some of these steps simpler.

This has nothing to to with your wiring or anything in your config (as of now anyway).
I would try uninstalling then reinstallng the Arduino Proffieboard plugin.
Goto Arduino menu Tools>Board>Board Manager, type “proffie” in the search box.
Choose uninstall.
Quit and reopen Arduino.
Go back to the same place, search “proffie” again and install version 4.6.0.

Then try uploading to the board again.

edit Listen to profezzorn :wink:

I will try anything you suggest to me. I had real difficulty installing the proffie to ardunio with the links provided I used a json file of some sorts

A note about your wiring:

The two black wires that connect to the board next to each other should be swapped, otherwise the power for the main blade will need to travel through the GND ↔ BATT- connection, which is not meant for high power.

I cant seem to get ardunio working correctly proffie does not show up in ardunio libary. this link doest work it has a error
GitHub - profezzorn/arduino-proffieboard profezzorn/stm32l4

I get this error

Error downloading GitHub - profezzorn/arduino-proffieboard profezzorn/stm32l4

So, that link seems to work just fine for me - in a browser.

I’m going to read between the lines a bit and assume that you’re getting an error from Arduino. Perhaps because you used the link you posted in the board manager instead of the link you are supposed to use…

It seems like you had arduino set up correctly earlier though…

Anyways, here are some instructions for how to set up arduino:

Let me know if that is not sufficient.

deleted arduino installed again. tried to write to board and got this error code again

C:/Users/speci/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\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\variants\STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region SRAM2' not declared C:/Users/speci/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\speci\AppData\Local\Temp\ccn4tgBC.ltrans0.ltrans.o: in function main’:
C:\Users\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\cores\stm32l4/main.cpp:129:(.text.startup+0x5e0): undefined reference to setup' C:/Users/speci/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\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\cores\stm32l4/main.cpp:133:(.text.startup+0x5e4): undefined reference to loop’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Proffieboard V3.

opps wrong board selected

this is my error code

C:/Users/speci/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\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\variants\STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region SRAM2' not declared C:/Users/speci/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\speci\AppData\Local\Temp\ccixu8QH.ltrans0.ltrans.o: in function main’:
C:\Users\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\cores\stm32l4/main.cpp:129:(.text.startup+0x5d0): undefined reference to setup' C:/Users/speci/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\speci\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6.0\cores\stm32l4/main.cpp:133:(.text.startup+0x5d4): undefined reference to loop’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Proffieboard V3.

This is the same error you started with.
It’s not a problem with Arduino, or Arduino-proffieboard, it is a problem with your ProffieOS setup.

Things to check:

  1. What version of ProffieOS are you using?
  2. Post your config file.
  3. What is your config file called?
  4. Is your config file in the config directory?
  5. In arduino, are you opening up ProffieOS.ino, or something else?
  6. Is your ProffieOS.ino about 1500 lines long?
  7. What instructions are you following?
  8. Did you set CONFIG_FILE properly? (do you even have a CONFIG_FILE?)

legacy version
file called battle
No idea how to put in config directory
open up proffieOS.ino yes
instructions by stephen powell online

// ProffieOS7 Config File
#ifdef CONFIG_TOP
#include "proffieboard_v3_config.h"
#define NUM_BLADES 4
#define NUM_BUTTONS 2
const unsigned int maxLedsPerStrip = 144;
#define EXTRA_COLOR_BUFFER_SPACE 60
#define VOLUME 2500
#define CLASH_THRESHOLD_G 3
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define MOTION_TIMEOUT 60 * 5 * 1000
#define IDLE_OFF_TIME 60 * 5 * 1000
#define DISABLE_BASIC_PARSER_STYLES
#define DISABLE_DIAGNOSTIC_COMMANDS
#define ENABLE_ALL_EDIT_OPTIONS
#define SAVE_PRESET
#define NO_REPEAT_RANDOM
#define COLOR_CHANGE_DIRECT
#define BLADE_DETECT_PIN blade4Pin
#define FETT263_SAY_COLOR_LIST
#define FETT263_SAY_BATTERY_PERCENT
#define FETT263_HOLD_BUTTON_LOCKUP
#define FETT263_LOCKUP_DELAY 200
#define FETT263_BM_CLASH_DETECT 6
#define FETT263_TWIST_ON
#define FETT263_TWIST_ON_NO_BM
#define FETT263_TWIST_OFF
#define FETT263_FORCE_PUSH
#define FETT263_FORCE_PUSH_LENGTH 5
#endif

#ifdef CONFIG_PROP
#include "../props/saber_fett263_buttons.h"
#endif


#ifdef CONFIG_PRESETS

Preset presets[] = {
{ "battle;common",  "battle/tracks/barge.wav",
/* copyright Fett263 Rotoscope (Crystal Chamber) OS7 Style
https://fett263library.com/early-access/#Rotoscope
OS7.14 v3.01p
Single Style
Style Option
Off Behavior: Off [Color: OffColorArg]

Base Color: BaseColorArg (0)

--Effects Included--
Ignition Effect: Instant [Color: IgnitionColorArg]
Retraction Effect: Instant [Color: RetractionColorArg]
Lockup Effect: NoneLightning Block Effect: NoneDrag Effect:
0: crystalDragMulti0Shape - Begin: Wipe In - Style: Intensity Sparking Drag - End: Wipe Out
[Color: DragColorArg]
Melt Effect:
0: crystalMeltMulti0Shape - Begin: Wipe In - Style: Intensity Melt - End: Wipe Out
[Color: StabColorArg]
*/
StylePtr<Layers<ColorSelect<IntArg<STYLE_OPTION_ARG,0>,TrInstant,Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,RandomFlicker<StripesX<Int<15000>,Scale<HoldPeakF<SwingSpeed<200>,Scale<SwingAcceleration<100>,Int<50>,Int<300>>,Scale<SwingAcceleration<100>,Int<24000>,Int<16000>>>,Int<-3200>,Int<-200>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>,Mix<Int<19276>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>,AudioFlicker<Stripes<10000,-2600,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,0,255>>>>,LockupTrL<AlphaL<TransitionEffect<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>>,BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>,Int<300>>,TrExtend<4000,TrInstant>,TrFade<4000>,EFFECT_DRAG_BEGIN>,SmoothStep<Scale<TwistAngle<>,IntArg<DRAG_SIZE_ARG,31000>,Int<30000>>,Int<3000>>>,TrWipeIn<200>,TrWipe<200>,SaberBase::LOCKUP_DRAG,Int<1>>,LockupTrL<AlphaL<Stripes<2000,4000,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>,Mix<Sin<Int<50>>,Black,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>,Mix<Int<4096>,Black,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>>,SmoothStep<Scale<TwistAngle<>,IntArg<MELT_SIZE_ARG,26000>,Int<30000>>,Int<3000>>>,TrConcat<TrExtend<4000,TrWipeIn<200>>,AlphaL<HumpFlicker<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>,RotateColorsX<Int<3000>,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>,100>,SmoothStep<Scale<TwistAngle<>,IntArg<MELT_SIZE_ARG,26000>,Int<30000>>,Int<3000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT,Int<1>>,InOutTrL<TrInstant,TrInstant,Black>>>(),

StylePtr<Black>(),

StylePtr<Black>(),

StylePtr<Black>(),

"preset0"
},

};

BladeConfig blades[] = {
 { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
    SubBladeWithStride(0, 15, 2, WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >()),
    SubBladeWithStride(1, 15, 2, NULL),
    WS281XBladePtr<1, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin1> >()
  , CONFIGARRAY(presets) },
};

#endif

#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif

What does that mean?
What’s the actual version?
Where did you download it from?

It should be called “battle.h” (but not battle.h.h, I suggest turning of “hide extension” option.)

Try watching a video that shows somoene configure a proffieboard from scratch.

good

Youtube video?
There seems to be several…
Can you provide a URL?

myconfig.h is my file …battle was my font file sorry

Arduino 1.8.19

put file in arduino called my config.h

one thing i noticed is my Arduino starts up with a blank page his shoes a file location at the top

Im getting closer I think
now my error is this only

ProffieOS:53:2: error: #error Please set CONFIG_FILE as shown above.
53 | #error Please set CONFIG_FILE as shown above.
| ^~~~~
ProffieOS:57:10: error: #include expects “FILENAME” or
57 | #include CONFIG_FILE
| ^~~~~~~~~~~
ProffieOS:617:10: error: #include expects “FILENAME” or
617 | #include CONFIG_FILE
| ^~~~~~~~~~~
ProffieOS:621:10: error: #include expects “FILENAME” or
621 | #include CONFIG_FILE
| ^~~~~~~~~~~
ProffieOS:625:10: error: #include expects “FILENAME” or
625 | #include CONFIG_FILE
| ^~~~~~~~~~~
ProffieOS:683:10: error: #include expects “FILENAME” or
683 | #include CONFIG_FILE
| ^~~~~~~~~~~
ProffieOS:1560:10: error: #include expects “FILENAME” or
1560 | #include CONFIG_FILE
| ^~~~~~~~~~~
exit status 1
#error Please set CONFIG_FILE as shown above.

I got it down to one error

ProffieOS:28:21: fatal error: config/CONFIG_FILE.: No such file or directory
28 | #define CONFIG_FILE “config/CONFIG_FILE.”
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
config/CONFIG_FILE.: No such file or directory

I GOT IT!!! thank you so so so much