Skip to content

Single file configuration question #287

Answered by fra589
Ams-Laser asked this question in Q&A
Discussion options

You must be logged in to vote

HI @Ams-Laser,

Yes you have to copy all the file from line 30 (after the line #ifdef CPU_MAP_2560_RAMPS_BOARD // (Arduino Mega 2560) with Ramps 1.4 Board) to line 612 (before the line #endif // CPU_MAP_2560_RAMPS_BOARD).

Don't forget to comment the line 43 (#define CPU_MAP_2560_RAMPS_BOARD) at the beginning of the config.h file.

However, I don't see why you want to use a single configuration file...
The file will become huge and it is much easier to find a parameter with the logical breakdown as it is:

  • config.h: general configuration of Grbl,
  • cpu_map.h: pin mapping for different CPU types or alternative pin layouts,
  • default.h: default Grbl settings ($0 to $999).

@++;
Gauthier.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Ams-Laser
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Ams-Laser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants