Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Firmware Modification ROM file size exceeded

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    315
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rinturajundefined
      rinturaj
      last edited by

      Hi everyone, I have a duet3d 7i LCD screen, I want to modify the UI for our new 3d printer.so we decided to use our own custom icons. while converting the BMP icons to c array, we getting uint16_t format with "bmp2c.exe" converter. so we tried with so other software but those array images are not displaying properly.

      uint16_t array icons are working fine but when we putting more icon arrays in the project, the build size is exceeding.

      if uint8_t is supporting in duet3d 7i, how could I generate uint8_t image array?

      NB: our images having black and white colors only.
      NB: array format used -
      extern const uint8_t test[] = { 60, 60,
      0xff, 0xff, 0xff, 0xff, 0xff, 0xf...............}
      NB: uint16_t working fine .

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        The bmp2c program needs to be updated to generate uint8_t values from a 256-colour image. We originally used uint16_t values representing the RGB values in 5-6-5 format. Then I accepted a pull request to use 8-bit values and a pallette instead. But bmp2c was not updated.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA