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

1 point
*

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.

permalink
report
reply

ErgoMechKeyboards

!ergomechkeyboards@lemmy.world

Create post

Ergonomic, split and other weird keyboards

Rules

Keep it ergo

Posts must be of/about keyboards that have a clear delineation between the left and right halves of the keyboard, column stagger, or both. This includes one-handed (one half doesn’t exist, what clearer delineation is that!?)

i.e. no regular non-split¹ row-stagger and no non-split¹ ortholinear²

¹ split meaning a separation of the halves, whether fixed in place or entirely separate, both are fine.
² ortholinear meaning keys layed out in a grid

No Spam

No excessive posting/“shilling” for commercial purposes. Vendors are permitted to promote their products/services but keep it to a minimum and use the [vendor] flair. Posts that appear to be marketing without being transparent about it will be removed.

No Buy/Sell/Trade

This subreddit is not a marketplace, please post on r/mechmarket or other relevant marketplace.

Some useful links

Community stats

  • 70

    Monthly active users

  • 542

    Posts

  • 4.4K

    Comments