Cannot build keyboard fw, missing pico/multicore.h

Hi there!!

I recently received my pocket reform, hurray!!

I’m trying to build the keyboard firmware (only need to remap one of the two space keys so that I can differentiate them in the software-level remapper I want to use: kanata)

I followed the multiple steps:

  • installed fw dependencies
  • build.sh: unfortunately that fails (towards the end I think) as one of the header is not found… I can find it in the pico_sdk folder above though… Looks like something isn’t quite right with the include paths? Haven’t touched a C-family language for ages, so not too sure where to look, I could try and decipher what the CMakeLists.txt does… But if someone has a tip would be much appreciated!!!

Thx

2 Likes

I think you can remove that line nowadays.

2 Likes

thanks @minute ! now I’m getting these errors, I tried to change the return type on that line but then it cascades onto other lines of code

I guess the solution would be to relax the compiler warnings, I had a brief look at the CMake but a bit lost…Could you give me some pointers?

Thanks a lot

That seems to be the only warning/error, after commenting out multicore.h I added a cast to work around the above error, like this:

uint offset = (uint) pio_add_program(pio, &ws2812_program);

And with that I was able to build and flash the firmware.

2 Likes