-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unit test / unity.h compilation errors #27647
Comments
Marlin under platformio uses source filtering, a system of completely skipping files and directories that are not needed. My best guess if you have totally broken the platformio.ini file disabling source filtering, you probably used import arduino or some other loading option instead of just opening the Marlin folder with menu File|Open folder. BIGTREE_SKR_2_F429_USB is not a valid build environment for this board.
If your using the stock "Platformio: Build" button you have to update the file platformio.ini and set default_envs to one of these valid build environments restore your platformio.ini file to the stock one |
why did you close my topic before I even had a chance to respond? Seems rather dismissive. I seem to have given you the impression that I dont understand how to setup a platformIO environment. I do, I only pointed out the nomenclature change in case it was related to another change. I've not done any of the things you've accused me of: I can confirm that default all that being said, I did find the problem. My printer firmwares all live(d) in a folder called "[3dprinter]" ..that hadn't been an issue for any previous version of marlin, but now seems to be. Removing the "[ ]" from the folder name resolved the issue. now its closed. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
When attempting to compile the most recent bug fix (as of yesterday) and the beta release I am unable to complete compilation. I hesitate to call this a bug, given that I cant compile either of these versions "out of the box", or for my environment (btt skr 2). I must have something wrong? I've attached pictures of the errors for these versions. If I go back to 2.1.2.5 (latest stable), everything works fine. I also dont find the "test" folder that seems to be giving me problems in the newer versions. I'm not sure if thats something corresponding to the newer versions, or just on the bugfix / beta branches?
One thing I noticed that might help: I had to change my environment from BIGTREE_SKR_2_F429_USB to STM32F429VG_btt. Not a big deal, seems like there was just some nomenclature change...but maybe those changes are related?
MarlinConfig.zip
Bug Timeline
new staring with current bf & beta versions
Expected behavior
I expected it to compile!
Actual behavior
it did not compile!
Steps to Reproduce
Version of Marlin Firmware
bugfix 2.1.x (16 jan 2025)
Printer model
homemade
Electronics
btt skr-2 with 2209 drivers
LCD/Controller
btt mini 12864
Other add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
IdeaMaker
Host Software
Repetier Host
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
the config files I've included are very basic, just enough to get it to compile for my system.
thanks to all involved in maintaining this project, it cant be easy!
The text was updated successfully, but these errors were encountered: