Skip to content

Commit

Permalink
Merge pull request #473 from udo-munk/dev
Browse files Browse the repository at this point in the history
merge dev
  • Loading branch information
udo-munk authored Dec 9, 2024
2 parents 0d8e2ba + d2020a2 commit 5406385
Show file tree
Hide file tree
Showing 38 changed files with 67 additions and 1,863 deletions.
18 changes: 10 additions & 8 deletions picosim/README
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ systems on PCB available, which can run the software. I have implemented
picosim also on these:

https://github.com/udo-munk/Pico-Eval-Board-80
https://github.com/udo-munk/RP2040-GEEK-80
https://github.com/udo-munk/RP2xxx-GEEK-80


To build the software you need to have the SDK for RP2040/RP2350 devices
Expand All @@ -19,24 +19,26 @@ https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.htm

Now you can build picosim for the Pico RP2040 with these commands:

cd z80pack/picosim/rp2040
cd z80pack/picosim/srcsim
mkdir build
cd build
cmake .. -G "Unix Makefiles"
make
cmake -G "Unix Makefiles" ..
make -j

This machine can be used with Pico and Pico W boards, it is setup
for a Pico board. To setup for a Pico W comment/uncomment the lines
in CMakeLists.txt. It doesn't really matter, on a Pico W the CYW43
gets intitialized but is not used yet.

To build picosim for the Pico 2 RP2350:
To build picosim for the Pico 2 RP2350 (you can also use
PICO_PLATFORM=rp2350-riscv if you have the appropriate RISC-V toolchain
installed):

cd z80pack/picosim/rp2350
cd z80pack/picosim/srcsim
mkdir build
cd build
cmake .. -G "Unix Makefiles"
make
cmake -D PICO_PLATFORM=rp2350-arm-s -G "Unix Makefiles" ..
make -j

The machine is configured for USB UART so that no additional parts are needed
to hook up a terminal. The default UART also is enabled, to use connect a
Expand Down
Loading

0 comments on commit 5406385

Please sign in to comment.