Prusa 3d printer firmware

Hi,

I have a prusa 3d printer MK2S  with 4 colour update.  It has a mini rambo board.  I am rebuilding this printer into something professional both structurally and electronically.  By profession I am a technician in CNC machining with many years of experience, bought this 3d printer to start producing professional prototypes and finished changing most of it.   Basically I found out that I need to install a Z axis microswitch in the minus direction to prevent the nozzle digging into the heat bed and there are other things which I wish to achieve but let us keep it only to this…

I resarched and found that I need arduino which I installed and have working and communications with my printer.

Next I figured out how the commands in adruino works so I have a good idea what needs to be done.

Prusa loaded a firmware on github which I loaded on adruino from this link…

https://github.com/prusa3d/Prusa-Firmware/archive/v3.1.0-RC2.zip

The adruino file presents several pull down tabs like firmware, configuration.h, prusa.h amonst others.

One particular tab is prusa.h which is missing and I “think” that I need to create a new tab with this name, and copy and paste the entire contents of the text file available in the Zip file>FIRMWARE>VARIANTS> in my case I need the file named “1_75mm_MK2-MultiMaterial-RAMBo13a-E3Dv6full”

I am not sure perhaps somebody might guide me…

I also do not know what tabs need to be checked as I “think” that not all the tabs have a bearing on my file but if somebody cares to explain to me what these tabs effect…

The tabs in the file I loaded has no line numberings…  I have seen some uncompiled firmware in arduno and these have numbers…

anybody can help me appreciated… as I have several projects which I wish to start from scratch