Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing RP2040 - No rule to make target 'flash' #96

Open
alextac98 opened this issue Nov 30, 2023 · 3 comments
Open

Flashing RP2040 - No rule to make target 'flash' #96

alextac98 opened this issue Nov 30, 2023 · 3 comments

Comments

@alextac98
Copy link

Hi all,

Just bought a new BTT SB2209 with an RP2040 and wanted to install Katapult to be able to flash it over CAN. I ran through the instructions until it was time to flash to the board, and I was getting this error (after running make first):

$ make flash FLASH_DEVICE=2e8a:0003
make: *** No rule to make target 'flash'.  Stop

Looking at the Makefile, I didn't see a flash target, but I also never saw one in a quick history search in the file. Am I missing something? Is there a dependency needed that I don't have? I am doing this all on a Raspberry Pi, so is there an incompatability issue with arm chips?

Thanks!

@Arksine
Copy link
Owner

Arksine commented Dec 4, 2023

Each platform has its own Makefile, the targets are located in there (ie: src/rp2040/Makefile). To flash Katapult on an RP2040 you run make flash. There is no FLASH_DEVICE option.

@TimGehres
Copy link

Thanks, that solved the problem. It was a long day.

@Burnsian
Copy link

I got excited when I read this thinking it might solve my issue, but sadly no. I'm the noobest of noobs, but I'm following BigTreeTech's manual on the SB2209 CAN (RP2040), page 29. After setting the SB2209 into 'boot' mode, querying DFU device ID, I came up with 2e8a:0003, identical to the ID shown in the guide. Then I entered the next command in the manual verbatim, "make flash FLASH_DEVICE=2e8a:0003", then I get the same error code "no rule to make target 'flash'". It may be that your answer above already should have given me a clue, but sadly I need a little more hand holding in order to understand what to do. Any help would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants