diff options
| author | James Bowman <jamesb@excamera.com> | 2021-01-29 12:33:37 -0800 |
|---|---|---|
| committer | James Bowman <jamesb@excamera.com> | 2021-01-29 12:33:37 -0800 |
| commit | acbf66dacc198588323d1887e2599acb5d71cf12 (patch) | |
| tree | 248dadb95daa7c28116af153c563804cb313636f /ports | |
| parent | 067f42b4f869b34a108ccd9bf6de049f928b10b5 (diff) | |
Make sys.platform "RP2040" on raspberrypi
[#4091]
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/raspberrypi/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/raspberrypi/mpconfigport.h b/ports/raspberrypi/mpconfigport.h index 743151931..77d1ff080 100644 --- a/ports/raspberrypi/mpconfigport.h +++ b/ports/raspberrypi/mpconfigport.h @@ -27,6 +27,8 @@ #ifndef __INCLUDED_MPCONFIGPORT_H #define __INCLUDED_MPCONFIGPORT_H +#define MICROPY_PY_SYS_PLATFORM "RP2040" + #define CIRCUITPY_INTERNAL_NVM_SIZE 0 #define CIRCUITPY_DEFAULT_STACK_SIZE (24*1024) |
