{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/15924","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/15924/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/15924/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/15924/events","html_url":"https://github.com/MarlinFirmware/Marlin/pull/15924","id":524049629,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQxODk5MDcw","number":15924,"title":"Support Ender-2 display on SKR E3 boards","user":{"login":"TheAssassin","id":4503202,"node_id":"MDQ6VXNlcjQ1MDMyMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/4503202?v=4","gravatar_id":"","url":"https://api.github.com/users/TheAssassin","html_url":"https://github.com/TheAssassin","followers_url":"https://api.github.com/users/TheAssassin/followers","following_url":"https://api.github.com/users/TheAssassin/following{/other_user}","gists_url":"https://api.github.com/users/TheAssassin/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAssassin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAssassin/subscriptions","organizations_url":"https://api.github.com/users/TheAssassin/orgs","repos_url":"https://api.github.com/users/TheAssassin/repos","events_url":"https://api.github.com/users/TheAssassin/events{/privacy}","received_events_url":"https://api.github.com/users/TheAssassin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2019-11-17T21:22:50Z","updated_at":"2019-11-17T23:18:42Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/15924","html_url":"https://github.com/MarlinFirmware/Marlin/pull/15924","diff_url":"https://github.com/MarlinFirmware/Marlin/pull/15924.diff","patch_url":"https://github.com/MarlinFirmware/Marlin/pull/15924.patch"},"body":"### Description\r\n\r\nThis commit adds support for the MKS Mini 12864 style displays used on the Creality Ender-2 for the STM32 based compatible SKR E3 DIP and SKR Mini E3 boards by BigTreeTech.\r\n\r\nI do not know whether other MKS Mini 12864 boards are supported with the pinout defined by this commit, but the Ender-2 ones work reliably.\r\n\r\nThis solution has been suggested by user @Grrby after a lengthy investigation conducted in #15624. If someone can confirm the suggested solution works on the SKR 1.3 as well, this issue could be closed.\r\n\r\nI tested this change with today's upstream `bugfix-2.0.x` branch in a minimal-working-example like environment. All I had to change are the following variables:\r\n\r\n```sh\r\nsed -i 's|^//#define MKS_MINI_12864|#define MKS_MINI_12864|' Marlin/Configuration.h\r\nsed -i 's|^  #define MOTHERBOARD .*|  #define MOTHERBOARD BOARD_BIGTREE_SKR_E3_DIP|' Marlin/Configuration.h\r\nsed -i 's|^#define SERIAL_PORT .*|#define SERIAL_PORT -1|' Marlin/Configuration.h\r\n```\r\n\r\nThen build like `pio run -e STM32F103RC_bigtree`.\r\n\r\nOf course this minimal build won't work with the printer, but it proves that the display is working. You need additional changes to the configuration, you need the alternative TMC stepper library from BTT etc. Also there's a new series of boards shipping an STM32 with a larger ROM, which I'll send a PR for soon. (However, it seems the bootloader isn't willing to flash larger firmwares anyway right now).\r\nYou can find my complete changes in https://github.com/TheAssassin/Marlin-Ender2-SKR-E3-DIP/. I intend to send a PR to add support for the \r\n\r\n### Benefits\r\n\r\nYou can use the SKR E3 DIP / SKR Mini E3 boards, which were originally designed for the Creality Ender-3, with the older Ender-2. This PR makes the stock display work.\r\n\r\n### Related Issues\r\n\r\n#15624 (isn't fixed by this PR, though, as the issue is about the SKR 1.3, not the SKR E3 series)\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/554799402","html_url":"https://github.com/MarlinFirmware/Marlin/pull/15924#issuecomment-554799402","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/15924","id":554799402,"node_id":"MDEyOklzc3VlQ29tbWVudDU1NDc5OTQwMg==","user":{"login":"TheAssassin","id":4503202,"node_id":"MDQ6VXNlcjQ1MDMyMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/4503202?v=4","gravatar_id":"","url":"https://api.github.com/users/TheAssassin","html_url":"https://github.com/TheAssassin","followers_url":"https://api.github.com/users/TheAssassin/followers","following_url":"https://api.github.com/users/TheAssassin/following{/other_user}","gists_url":"https://api.github.com/users/TheAssassin/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAssassin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAssassin/subscriptions","organizations_url":"https://api.github.com/users/TheAssassin/orgs","repos_url":"https://api.github.com/users/TheAssassin/repos","events_url":"https://api.github.com/users/TheAssassin/events{/privacy}","received_events_url":"https://api.github.com/users/TheAssassin/received_events","type":"User","site_admin":false},"created_at":"2019-11-17T23:18:42Z","updated_at":"2019-11-17T23:18:42Z","author_association":"NONE","body":"Thanks. Perhaps you just like it darker than me then, it's definitely darker than with mine on 160, but looks lighter than 195. I'll make pictures later, I put the printer on the shelf right now."}}
{"actor":{"display_login":"TheAssassin"}}