I built a Cheapino today to start trying out a smaller keyboard. I am trying to flash it but I’m definitely doing something wrong.

https://github.com/tompi/cheapino/blob/master/doc/buildguide_v1.md

The Cheapino is not officially supported so I guess they have their own QMK branch.

https://github.com/tompi/qmk_firmware/tree/cheapino

I cloned it and followed QMKs steps to setup a build enviroment but when I try to flash the firmware I cloned the repo and ran the command but it seems to keep failing.

[reeve@t480 qmk_firmware]$ make cheapino:default:flash QMK Firmware 0.15.18 <img data-emoji=“⚠” class=“an1” alt=“⚠” aria-label=“⚠” src=“https://fonts.gstatic.com/s/e/notoemoji/15.0/26a0/32.png” loading=“lazy”> cheapino: TAPPING_FORCE_HOLD in config.h is deprecated and will be removed at a later date <img data-emoji=“⚠” class=“an1” alt=“⚠” aria-label=“⚠” src=“https://fonts.gstatic.com/s/e/notoemoji/15.0/26a0/32.png” loading=“lazy”> cheapino: IGNORE_MOD_TAP_INTERRUPT in config.h is deprecated and will be removed at a later date Making cheapino with keymap default and target flash

<img data-emoji=“⚠” class=“an1” alt=“⚠” aria-label=“⚠” src=“https://fonts.gstatic.com/s/e/notoemoji/15.0/26a0/32.png” loading=“lazy”> cheapino: TAPPING_FORCE_HOLD in config.h is deprecated and will be removed at a later date <img data-emoji=“⚠” class=“an1” alt=“⚠” aria-label=“⚠” src=“https://fonts.gstatic.com/s/e/notoemoji/15.0/26a0/32.png” loading=“lazy”> cheapino: IGNORE_MOD_TAP_INTERRUPT in config.h is deprecated and will be removed at a later date arm-none-eabi-gcc (Fedora 12.2.0-3.fc38) 12.2.0 Copyright © 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiling: keyboards/cheapino/encoder.c In file included from <command-line>: ./platforms/chibios/drivers/wear_leveling/wear_leveling_rp2040_flash_config.h:6:14: fatal error: hardware/flash.h: No such file or directory 6 | # include “hardware/flash.h” | ^~~~~~~~~~~~~~~~~~ compilation terminated. [ERRORS] | | | make[1]: *** [builddefs/common_rules.mk:360: .build/obj_cheapino_default/encoder.o] Error 1 Make finished with errors make: *** [Makefile:392: cheapino:default:flash] Error 1

  • obosob@feddit.ukM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    tested locally and seems to work, also please edit your post to properly format the terminal output, it’s very hard to read (put it in a code block with ``` on the line before the content and the line after it all).

    I think your problem is you didn’t run git submodule init to initialise the submodules, hardware/flash.h lives inside the lib/pico-sdk submodule. the output from make is telling you it can’t find that file.

    • pixelprimer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thank you I appreciate the help. I actually fixed it and it’s working great. I wanted to delete the post but I don’t know how to do so on the Memmy app haha