Arduino-proffieboard plugin 4.6 beta

TBF, you tend to lock your posts on FB so people couldn’t reply…

I’ve got the beta installed but both that and the full release version are called ‘Proffieboard’ in the menu so not sure which is which?

I think with Facebook group the majority of the people that are on there are looking for help, myself included if you’ve got no experiencing coding or anything like that, Setting up an editing and adding fonts for proffie can be quite daunting and once you’ve got it working you don’t wanna mess with it just in case you break it, i’d love to try and help, but I don’t know what I’m doing :joy:

Yeah, that’s true. The smarts are all on here…

You can definitely help :slight_smile: . You’re right about it being a little scary, but I find it’s rewarding to contribute.

Tonight (hopefully, things have been weird this week) I’ll test my other saber. Although it doesn’t have a screen, I’ll upload with the new plugin (and my current config) and report any errors, or lack there of. Especially with the saber running…it’s a good excuse to play with all off your presets for a bit.

The link for the plug in is in the first post. I think NoSloppy’s bug scenario isn’t likely to happen, but if something goes wacky we’ll get you back on track. Just be sure to back up your sd card and know where your config is.

We would be honored if you would join us.

Cool I’ll give it a go and report back

Arduino 2.3.4
Arduino-proffieboard v4.6 beta
Windows 10
ProffieOS 7.14
default LGT font package and config that came with the saber(bank1,Bank2,Bank ect)
BC probs
Proffieboard V2

ran into an error right away just tring to upload

C:/Users/Bedroom PC/AppData/Local/Arduino15/packages/proffieboard_beta/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\Bedroom PC\AppData\Local\Arduino15\packages\proffieboard_beta\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 7 LTRANS jobs
lto-wrapper.exe: note: see the ‘-flto’ option documentation for more information
Sketch uses 244472 bytes (93%) of program storage space. Maximum is 262144 bytes.
‘C:\Users\Bedroom’ is not recognized as an internal or external command,
operable program or batch file.
Failed uploading: uploading error: exit status 1

i tried again but this time in arduino 1.8 and it uploaded successfully

True. I sometimes do that because there can be weeks betewen facebook logins, so I won’t see any replies.

If you’re using Arduino 2.x, and select board through the tools menu, it will show you which is which.
(The drop-down menu above the editor doesn’t show it though, which is annoying.)

For some reason Arduino 2.x doesn’t seem to handle spaces in the user name. (or anywhere in the path really.) Arduno 1.x used to handle it just fine though. Not sure if there is anything I can do about it…

Two possible workarounds:

  1. Create another user on the computer, with no space in the name, then use that user for running arduino.
  2. Use Arduino 1.8.19 (It’s old, but I think it still works fairly well.)
1 Like

A post was split to a new topic: Tapping the blade to trigger a clash is also triggering a force (4.6 testing)

NoSloppy posted a solution for that “problem”. See below.

1 Like

Ah yeah. I was running the wrong version. I keep forgetting to uninstalled 1.8…

Sorry!

ProffieConfig uses shortnames to resolve this.

It effectively uses Arduino 2.x in the backend, but it handles spaces fine.

Arduino 1.8.19 would quote the paths, which also made it work just fine.
Not sure why 2.x doesn’t do that.

I recall trying to make things work by quoting and it was very hit or miss for me… Not sure if v2.x just gave up or what, but it is a bit odd it would overlook that…

Eventually I just caved and ended up doing all the fiddly bits I needed to in order to generate short names, and that’s worked far more reliably for me. :person_shrugging:

Tested it on mine with one of my boards.

Arduino 2.3.4
Arduino-proffieboard v4.6 beta
macOS 14.7
ProffieOS 7.14
Fett263 blade styles and prop
Proffieboard V2

All seems OK apart from a SQUEEEEEE that required a reboot when I did some sort of button combo trying to get battery level (hold PWR + AUX). Couldn’t reproduce.

1 Like

This is a Desert Wanderer thin neck with CC

Arduino 2.3.4
Arduino-proffieboard v4.6 beta
macOS 15.2
ProffieOS 7.14
Fett263 blade styles and prop
Proffieboard V2.2

Compiled at 77% memory. V3.6 Compiles with 74%.

No issues.

1 Like

Hey all - tested this on a S3 Korvus. All fonts have varying CC behavior.

Arduino IDE 2.3.4
Arduino-proffieboard 4.6beta
Windows 10
ProffieOS 7.14
Fett263 Styles and prop
Proffieboard v3.9

Previous version compiled at 72%
Beta compiled at 72% at about the same speed

No issues so far.

1 Like

I just did two v2.2 boards

Arduino IDE 2.3.2
Windows 10
ProffieOS 7.14

first:
plugin v3.6
Sketch uses 189376 bytes (72%) of program storage space. Maximum is 262144 bytes.
plugin v4.6
Sketch uses 185408 bytes (70%) of program storage space. Maximum is 262144 bytes.

second:
plugin v3.6
Sketch uses 184864 bytes (70%) of program storage space. Maximum is 262144 bytes.
plugin v4.6
Sketch uses 180032 bytes (68%) of program storage space. Maximum is 262144 bytes.

Funny, the second smaller one is actually a more complex config with more presets, yet it came out smaller.

on both 4.6 plugins I get these warnings

lto-wrapper.exe: warning: using serial compilation of 5 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information