makerbase-mks / Mks-Robin-Nano-Marlin2.0-Firmware

The firmware of Mks Robin Nano, based on Marlin-2.0.x, adding the color GUI.
GNU General Public License v3.0
262 stars 285 forks source link

MKS Nano V3 and MKS Wifi Module (Compilation requesting USB_Power_Control_Pin Declaration) #196

Closed FabioMC closed 3 years ago

FabioMC commented 3 years ago

I have just added to my MKS Nano V3 a MKS Wifi module. According the information available I changed the UI from COLOR_UI to LVGL_UI since the module only work in this setup. My panel is a MKS TS35.

When compiling the new firmware to include the Wifi communication I receive the error message shown in the attached picture. Any hint on how to fix this error?

Captura de tela 2021-03-18 005427

MKS-Sean commented 3 years ago

Sorry, now i have fixed it

FabioMC commented 3 years ago

Thanks

FabioMC commented 3 years ago

@MKS-Sean . After your last update the compilation is presenting lots of warning message. See below into the picture. The compilation finishes but for some reason the board is not updating. The TS35 stays with 100% done. The makerbase logo do not appears and so do not start updating assets. I upload the older firmware using TFT_COLOR_UI and everything works which means that the board is ok. It is happening just when I use TFT_LVGL_UI. I appreciate if you could revise and see what is happening.

Captura de tela 2021-03-20 153729

FabioMC commented 3 years ago

@MKS-Sean. You can deconsider my last comment. Apparenlty when I changed the pin definitions to enable the PWC I also enabled the MKS Test var. I supposed that this was the problem, because since I disabled it everythin worked well.