NES Emulator for Pico2?

Just as the subject line says. I’m able to compile the NES emulator, but I didn’t see anywhere to change the target processor, so when I try to load it, I get the message “ERR: not for this device”.
I followed the instructions on PicoCalc/Code/NES at master · clockworkpi/PicoCalc · GitHub and compiled without an issue, except that I didn’t see how to specify that I’m using a Pico2.

(also re: those directions, I’m not sure why I need to be in the samples/v3 directory)

To build for the pico2 you need to modify the cmake line to add the board configuration (delete everything in the build directory first so the old configuration doesn’t interfere):

cmake .. -DPICO_BOARD=pico2

As for the “samples/v3” path, that’s just because whoever wrote the picocalc patch put things there. It’s basically just the bare minimum to get it working, it’s not in any way a polished application.

1 Like

Thank you, Sir! That was exactly what I needed and it’s running just fine now