diff --git a/httpdocs/firmware/toolbox/config.yaml b/httpdocs/firmware/toolbox/config.yaml index 1704d1f..5f1001b 100644 --- a/httpdocs/firmware/toolbox/config.yaml +++ b/httpdocs/firmware/toolbox/config.yaml @@ -816,6 +816,9 @@ ble_proto: 3004: name: m5papers3_960x540 description: M5Stack PaperS3 (ED047TC1-class, 960x540, 16-gray capable; FastEPD native parallel path) + 3005: + name: m5paper_960x540 + description: Original M5Stack M5Paper (ED047TC1 960x540 + IT8951 over SPI, 16-gray capable; FastEPD IT8951 path) - name: pixel_width size: 2 description: Pixel width of panel diff --git a/httpdocs/firmware/toolbox/simple-config-id-registry.json b/httpdocs/firmware/toolbox/simple-config-id-registry.json index a913198..547ef3c 100644 --- a/httpdocs/firmware/toolbox/simple-config-id-registry.json +++ b/httpdocs/firmware/toolbox/simple-config-id-registry.json @@ -32,7 +32,8 @@ "ee02": 29, "good-display-133c02": 30, "m5-papers3": 31, - "nm-epd-420-4c": 32 + "nm-epd-420-4c": 32, + "m5-paper": 33 }, "displays": { "ep154-200x200": 1, @@ -81,7 +82,9 @@ "m5-papers3-960x540": 44, "m5-papers3-960x540-4gray": 45, "ep37yr-240x416": 46, - "ep42r-400x300": 47 + "ep42r-400x300": 47, + "m5-paper-960x540": 48, + "m5-paper-960x540-4gray": 49 }, "powerOptions": { "usb": 1, diff --git a/httpdocs/firmware/toolbox/simple-config-presets.json b/httpdocs/firmware/toolbox/simple-config-presets.json index 5c369e7..871fbc2 100644 --- a/httpdocs/firmware/toolbox/simple-config-presets.json +++ b/httpdocs/firmware/toolbox/simple-config-presets.json @@ -2338,6 +2338,101 @@ }, "transmission_modes": "25", "index": 32 + }, + { + "id": "m5-paper", + "name": "M5Stack M5Paper (ESP32)", + "connectorPins": [ + 1048 + ], + "systemConfig": { + "ic_type": "9", + "communication_modes": "0x1", + "device_flags": "0x8", + "pwr_pin": "0xff", + "pwr_pin_2": "2", + "pwr_pin_3": "0xff", + "reserved": "0x0" + }, + "manufacturerData": { + "manufacturer_id": "0", + "board_type": "0", + "board_revision": "0x0", + "reserved": "0x0" + }, + "displayPins": { + "reset": "23", + "busy": "27", + "dc": "13", + "cs": "15", + "data": "12", + "clk": "14", + "cs2": "0xff" + }, + "powerDefaults": { + "battery_sense_pin": "35", + "battery_sense_enable_pin": "0xff", + "voltage_scaling_factor": "0xae", + "deep_sleep_current_ua": "0", + "capacity_estimator": "1" + }, + "buttons": { + "instance_number": "0x0", + "input_type": "1", + "display_as": "1", + "inputpin1": "37", + "inputpin2": "38", + "inputpin3": "39", + "inputpin4": "0x0", + "inputpin5": "0x0", + "inputpin6": "0x0", + "inputpin7": "0x0", + "inputpin8": "0x0", + "isused": "0x7", + "invert": "0x7", + "pullups": "0x0", + "pulldowns": "0x0", + "button_data_byte_index": "0", + "reserved": "0x0" + }, + "dataBus": { + "instance_number": "0x0", + "bus_type": "1", + "pin_1": "22", + "pin_2": "21", + "pin_3": "0xff", + "pin_4": "0xff", + "pin_5": "0xff", + "pin_6": "0xff", + "pin_7": "0xff", + "bus_speed_hz": "0x61a80", + "bus_flags": "0x0", + "pullups": "0x0", + "pulldowns": "0x0" + }, + "touchController": { + "instance_number": "0x0", + "touch_ic_type": "1", + "bus_id": "0x0", + "i2c_addr_7bit": "0xff", + "int_pin": "36", + "rst_pin": "0xff", + "display_instance": "0x0", + "flags": "0x6", + "poll_interval_ms": "0", + "touch_data_start_byte": "1", + "enable_pin": "0xff" + }, + "defaultDisplay": "m5-paper-960x540-4gray", + "defaultPower": "usb", + "installConfig": { + "type": "esp32", + "manifest": "https://opendisplay.org/firmware/toolbox/bin/esp32-wrover-e-N4R8_full.json", + "firmwareLetter": "O", + "githubRepo": "https://github.com/OpenDisplay/Firmware" + }, + "transmission_modes": "0x3", + "index": 33 } ], "displays": [ @@ -3199,6 +3294,44 @@ "transmission_modes": "0x1b" }, "index": 45 + }, + { + "id": "m5-paper-960x540", + "name": "4.7\" M5Stack M5Paper Monochrome (960×540)", + "connectorPins": [ + 1048 + ], + "panelIcType": "3005", + "config": { + "pixel_width": "0x3c0", + "pixel_height": "0x21c", + "active_width_mm": "0x0", + "active_height_mm": "0x0", + "partial_update_support": "0", + "color_scheme": "0", + "full_update_mC": "0x0", + "transmission_modes": "0x3" + }, + "index": 48 + }, + { + "id": "m5-paper-960x540-4gray", + "name": "4.7\" M5Stack M5Paper 4bpp gray (960×540)", + "connectorPins": [ + 1048 + ], + "panelIcType": "3005", + "config": { + "pixel_width": "0x3c0", + "pixel_height": "0x21c", + "active_width_mm": "0x0", + "active_height_mm": "0x0", + "partial_update_support": "0", + "color_scheme": "6", + "full_update_mC": "0x0", + "transmission_modes": "0x3" + }, + "index": 49 } ], "powerOptions": [