
After flashing the .uf2 file, connect to PicoMite using the USB TTY, and enter these options :
OPTION SYSTEM SPI GP18,GP19,GP4
OPTION LCDPANEL ST7789_320, RLANDSCAPE,GP16,GP17,GP21,GP20
OPTION COLOURCODE ON
OPTION CPUSPEED 200000
OPTION DISPLAY 30, 53
OPTION LCDPANEL CONSOLE 7,rgb(GREEN),,,NOSCROLL
OPTION SDCARD GP13, GP10, GP11, GP12
OPTION AUDIO GP0,GP1', ON PWM CHANNEL 0
OPTION PLATFORM "PICOMPUTER"
OPTION DEFAULT FONT 7, 1
SHIFT-DOWN : select LowerCase (then the shift key acts more like an ALT one, to select symbols)
SHIFT-UP : select UpperCase (then the shift key acts more like an ALT one, to select symbols)
SHIFT-RIGHT : select Symbols (then the shift key acts more like an CTRL one, to select control charaters)
Follow the excellent recommendations from https://github.com/madcock/PicoMiteAllVersions
but beware that the list of files to be overridden in the sdk has changed (do NOT replace flash.c and float_sci_m33_vfp.S anymore).
- version 6.01.00b7 seems to insert an "OPTION LCD BACKLIGHT 0" whick blanks the screen at the first bootup. The command "BACKLIGHT 100,DEFAULT" seems to fix this.
- there are a few GPIO collision, but harmless : Picomputer uses GPIO0 for audio, thus reserving GPIO1 for the other channel. I still can read the keyboard matrix connected to it.
- GPIO4 is supposed to be the screen MISO, but is not connected. Connecting it is useless since it won't make the SCROLL faster. I still can read the keyboard matrix connected to it.
(original readme follows...)
This contains files to build MMbasic 6.01.00 to run on both RP2040 and RP2350
Compile with GCC 13.3.1 arm-none-eabi
Build with sdk V2.2.0 but replace gpio.c with the one included here. Note the change in gpio.c is just to set the gpio interrupt to be in ram
Change CMakeLists.txt line 4 to determine which variant to build
RP2040
set(COMPILE PICO)
set(COMPILE VGA)
set(COMPILE PICOUSB)
set(COMPILE VGAUSB)
set(COMPILE WEB)
RP2350
set(COMPILE PICORP2350)
set(COMPILE VGARP2350)
set(COMPILE PICOUSBRP2350)
set(COMPILE VGAUSBRP2350)
set(COMPILE HDMI)
set(COMPILE HDMIUSB)
set(COMPILE WEBRP2350)
Any of the RP2350 variants or the RP2040 variants can be built by simply changing the set(COMPILE aaaa)
However, to swap between a rp2040 build and a rp2350 build (or visa versa) needs a different build directory.
The process for doing this is as follows:
Close VSCode
Rename the current build directory - e.g. build -> buildrp2040
Rename the inactive build directory - e.g. buildrp2350 -> build
edit CMakeLists.txt to choose a setting for the other chip and save it - e.g. set(COMPILE PICO) -> set(COMPILE PICORP2350)
Restart VSCode