SD Card Structure Question and Typos
-
I'm reading the SD Card Structure documentation and I have some questions about the folder structure.
Do macro files have to be put in the /macros folder?
Does DWC/DSF treat any file in the /macros folder different than any other folder?For example, I have 50+ macro files in several folders in the /sys (system) folder and my macros folder is empty.
Are the files under the /sys folder treated any differently that if the files were in the /macros folder?
Or is the /macros folder (and the other folders) just to keep some separation and order to the files on the SD card?
My system is working fine the way I have my folders and files under /sys, I just didn't know if they HAVE to be under /macros because of some extra processing or treatment by DWC/DSF (other than them showing up under Macros in the DWC Dashboard).My setup is 6HC in CNC mode with 3 3HC, Pi5, latest DuetPi image, 3.6.0-rc2 on all boards
This is a non-printer applicationCouple of typos in the SD documentation
https://docs.duet3d.com/User_manual/RepRapFirmware/SD_cardSD card structure
/macros user-defined macro files ?Troubleshooting SD Card issues
SD Card
slowed down printing ? -
@davidjryan currently you can put macro files anywhere you like if you don't want them to show up in the DWC Macros page or the display Macros page.
In the future when we implement security controls, we may afford macros in /sys a higher trust status that macros in /macros.
-
@davidjryan If you put them in the /macro folder, they will show up on the Macro menu in DWC, and on the PanelDue or other display. The default path for macros is the /sys folder, see https://docs.duet3d.com/User_manual/Reference/Gcodes#m98-call-macrosubprogram
The filename may include a path to a subdirectory. For relative paths, the default folder is /sys. Absolute file paths are also supported starting with "0:/" for the internal SD card or "1:/" for the external SD card if fitted.
So, really, it's whatever is convenient for you.
@davidjryan said in SD Card Structure Question and Typos:
Couple of typos in the SD documentation
Thanks, fixed.
Ian
-
When we started this project 2 years ago, we put everything into the /sys folder because of the M98 info. I just wanted to make sure we weren't missing out on any fun by not having them in the /macros folder. We do not need them to show up in the DWC so I'll leave my files where they are.
Thanks, gents!
-
undefined davidjryan has marked this topic as solved