Created
September 20, 2023 12:20
-
-
Save idank/972e1b497c927d92e4bdd4c23018b02a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% make handwired/onekey/rp2040:default:flash | |
QMK Firmware 0.22.2 | |
Making handwired/onekey/rp2040 with keymap default and target flash | |
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] | |
Copyright (C) 2018 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. | |
Size before: | |
text data bss dec hex filename | |
0 24656 0 24656 6050 handwired_onekey_rp2040_default.uf2 | |
Compiling: keyboards/handwired/onekey/onekey.c [OK] | |
Compiling: platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c In file included from ./lib/pico-sdk/src/rp2_common/hardware_pio/include/hardware/pio.h:13, | |
from platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c:4: | |
./lib/pico-sdk/src/rp2_common/hardware_gpio/include/hardware/gpio.h:105:17: error: expected identifier or '(' before numeric constant | |
#define GPIO_IN 0 | |
^ | |
./lib/chibios/os/common/ext/RP/RP2040/rp2040.h:281:25: note: in expansion of macro 'GPIO_IN' | |
__I uint32_t GPIO_IN; | |
^~~~~~~ | |
./lib/pico-sdk/src/rp2_common/hardware_gpio/include/hardware/gpio.h:104:18: error: expected identifier or '(' before numeric constant | |
#define GPIO_OUT 1 | |
^ | |
./lib/chibios/os/common/ext/RP/RP2040/rp2040.h:284:25: note: in expansion of macro 'GPIO_OUT' | |
__IO uint32_t GPIO_OUT; | |
^~~~~~~~ | |
platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c:24:6: error: #error PS/2 Clock pin must be followed by data pin! | |
# error PS/2 Clock pin must be followed by data pin! | |
^~~~~ | |
In file included from <command-line>: | |
platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c: In function 'ps2_host_init': | |
./.build/obj_handwired_onekey_rp2040_default/src/info_config.h:41:26: error: 'GP2' undeclared (first use in this function) | |
# define PS2_DATA_PIN GP2 | |
^~~ | |
platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c:135:56: note: in expansion of macro 'PS2_DATA_PIN' | |
pio_sm_set_consecutive_pindirs(pio, state_machine, PS2_DATA_PIN, 2, true); | |
^~~~~~~~~~~~ | |
./.build/obj_handwired_onekey_rp2040_default/src/info_config.h:41:26: note: each undeclared identifier is reported only once for each function it appears in | |
# define PS2_DATA_PIN GP2 | |
^~~ | |
platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c:135:56: note: in expansion of macro 'PS2_DATA_PIN' | |
pio_sm_set_consecutive_pindirs(pio, state_machine, PS2_DATA_PIN, 2, true); | |
^~~~~~~~~~~~ | |
./.build/obj_handwired_onekey_rp2040_default/src/info_config.h:37:27: error: 'GP3' undeclared (first use in this function) | |
# define PS2_CLOCK_PIN GP3 | |
^~~ | |
platforms/chibios/drivers/vendor/RP/RP2040/ps2_vendor.c:141:31: note: in expansion of macro 'PS2_CLOCK_PIN' | |
sm_config_set_jmp_pin(&c, PS2_CLOCK_PIN); | |
^~~~~~~~~~~~~ | |
[ERRORS] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment