Skip to content

Commit acbf66d

Browse files
committed
Make sys.platform "RP2040" on raspberrypi
[#4091]
1 parent 067f42b commit acbf66d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/raspberrypi/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#ifndef __INCLUDED_MPCONFIGPORT_H
2828
#define __INCLUDED_MPCONFIGPORT_H
2929

30+
#define MICROPY_PY_SYS_PLATFORM "RP2040"
31+
3032
#define CIRCUITPY_INTERNAL_NVM_SIZE 0
3133

3234
#define CIRCUITPY_DEFAULT_STACK_SIZE (24*1024)

0 commit comments

Comments
 (0)