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 cheapino: TAPPING_FORCE_HOLD in config.h is deprecated and will be removed at a later date 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
cheapino: TAPPING_FORCE_HOLD in config.h is deprecated and will be removed at a later date 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 (C) 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 : ./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
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 thelib/pico-sdk
submodule. the output frommake
is telling you it can't find that file.