Skip to content
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

Compiling help #9

Open
Cncninja opened this issue Feb 10, 2021 · 5 comments
Open

Compiling help #9

Cncninja opened this issue Feb 10, 2021 · 5 comments

Comments

@Cncninja
Copy link

I've been fighting with this for a few weeks, and wonder if you could just make a precompiled version of the 3axis for lasers. I need the buffer changed to 1024 so I can move faster I have a 60W laser so I can move a bit faster than the LED lasers. Ive tried everything to compile, Ive used your guide but ran into the same thing as others with different/missing folders. I tried compiling using the most current Grblhal build and instructions and get an error ( no IOport.h file) but can't find where or what is even calling for it. I just need a 3 axis with homing switches (No Z tho) and the buffer set to 1024 and the 30k step limit removed.

Thanks

@Cncninja
Copy link
Author

image

@phil-barrett
Copy link
Owner

Here you go. 3, 4 and 5 axis with planning buffer set to 1024. 30K limit does not exist in grblHAL.

@Cncninja
Copy link
Author

Thanks, I really appreciate it, any idea about the ioports.h error i would really like to understand why its not working for me, also if grblhal does not have step rate limits why is it still defined in the config file

// Sets the maximum step rate allowed to be written as a Grbl setting. This option enables an error
// check in the settings module to prevent settings values that will exceed this limitation. The maximum
// step rate is strictly limited by the CPU speed and will change if something other than an AVR running
// at 16MHz is used.
// NOTE: For now disabled, will enable if flash space permits.
#define MAX_STEP_RATE_HZ 30000 // Hz

@phil-barrett
Copy link
Owner

phil-barrett commented Feb 10, 2021

OK, forgot about that. Never had that enabled for any of my builds. Never any reason to do so - I can get to 400 kHz step rate on the teensy.

I'm not sure why you are seeing the ioports error. could be a mix and match thing. I built with the master branch and keep it pure. If you download the test over the master branch (or the other way around) you might wind up with left over files. The arduino IDE by default will try to compile everything.

@Cncninja
Copy link
Author

Worked like a charm !!! the laser is up and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants