Fail to complie RPI_PICO with MICROPY_KBD_EXCEPTION off #18348
Unanswered
ksprs
asked this question in
RP2040 / Pico
Replies: 2 comments 2 replies
-
|
Disabling keyboard interrupt at runtime may be sufficient for you. That's done by Re-seting Ctrl-C as interrupt can be done with Edit: You cannot test micropython.kbd_int(-1) ni RELP, because REPL re-enables keyboard interrupt for each prompt. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks! This solves the problem for the moment. It would be good to fix it when using MICROPY_KBD_EXCEPTION macro. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I was looking for a way to disable keyboard interrupts in my custom firmware build using RPI_PICO board. So prepared microptyhon with v1.26.1. The baseline setup in this version works fine. However, compilation failed when customized ports/rp2/boards/RPI_PICO/mpconfigboard.h file with this:
This is the output I see:
The same works just fine when using
#define MICROPY_KBD_EXCEPTION (1).What causes the problem?
Beta Was this translation helpful? Give feedback.
All reactions