Build for custom keyboard failing with parse error: expected number or parenthesized expression #384
-
I created a fork of miryoku here for a project. I am using a xiao board. I am setting it up as an outboard which is here. This repo builds fine and gives me working uf2 files. I want to flash miryoku onto it so I have set up a mapping file as pickpocket.h, a shield as pickpocket, and a keymap as pickpocket.keymap. I modeled them off op the totem files because I am using the same micro controller and I am able to build totem successfully with miryoku. My issue is when I run the build for left side I get the following logs(full logs here): -- Found devicetree overlay: /__w/miryoku_zmk/miryoku_zmk/miryoku_zmk/config/boards/shields/PickPocket/pickpocket_left.overlay it looks like an issue with my keymap but I have made no changes to the customconfig.h which was the issue the other place I found someone asking about this error. any help would be great and if you need any more information just let me know. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Also, if your keyboard has 40 keys the mapping file should be in https://github.com/ParksDevelopment/miryoku_zmk/tree/master/miryoku/mapping/40 (that's just for organisation though, it will still build in any location if you update the keymap file to match). |
Beta Was this translation helpful? Give feedback.
https://github.com/ParksDevelopment/miryoku_zmk/blob/f54fbe5b32ac3ac76bf5ea037a78a6a14cc00c0c/miryoku/mapping/36/pickpocket.h#L8 should be
Also, if your keyboard has 40 keys the mapping file should be in https://github.com/ParksDevelopment/miryoku_zmk/tree/master/miryoku/mapping/40 (that's just for organisation though, it will still build in any location if you update the keymap file to match).