I did a lot of trial and error. But the main things are so the TFT firmware most of the changes were more “cosmetic”. The SKR firmware for the main board took a bit more editing.
With that said, for the TFT most of the edits are in two main locations:
TFT\User\Menu
TFT\User\API\Language
For languages I mostly edited in language_en.h
I found buttons I didn’t need and changed the language. This was based on what I saw on the different menu screens.
For Menus I edited the following boards:
- Fan.c = this is the “laser” menu
- Leveling.c = this is the screen for zero’ing everything (Job Setup). This is also a good screen to see how you can have the TFT run gcode commands based on button presses.
- MainPage.c = the main page. Note I didn’t have it use unified menu.
- Move.c is used but I don’t think I edited it
- Printing.c = the page displayed when it use CNCing. I did edits to the menu but also spent awhile trying to get the stop button to convert to a back button upon completion. I probably should have committed that to BTT github. see lines 432 - 440 for an example of how the button function changes (stop vs back) based on what the CNC is doing. Lines 490-501 were modified to change to the back button.
- Speed.c = I think I modified this to not allow “more” and just go back since we don’t need all the speed stuff for a CNC
In configuration.h I made sure that #define UNIFIED_MENU is commented out as is STATUS_SCREEN so it uses plain menus rather than the complicated ones. The complicated ones didn’t exist when I started and also appear more useful for 3d printing rather than CNC work.
Finally, edit the BMP images to match whatever function you want to use.