Skip to content

Mac68k Quickstart Guide

andy diller edited this page Nov 10, 2023 · 10 revisions

Current Status: Hand built boards Date: Nov 2023

Andy's Notes:

FujiNet Pico Mac68k

- Linux Ubuntu
- Git
- clone fujinet-platform Io
	 81  git clone https://github.com/FujiNetWIFI/fujinet-platformio.git
   
All code will be put into a dir called 'code'


$ mkdir -p ~/code

Install req. packages:

$ sudo apt-get -y install build-essential gcc-arm-none-eabi curl wget python3.10-venv python3-pip libusb-1.0-0-dev cmake pkg-config


###################################
# PIO SDK SETUP

curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py

python3 get-platformio.py

	... Creating a virtual environment at /home/[yourHome]/.platformio/penv



###################################
# PICO SDK SETUP

- install PICO SDK
	https://github.com/raspberrypi/pico-sdk/archive/refs/tags/1.5.1.tar.gz

$ wget https://github.com/raspberrypi/pico-sdk/archive/refs/tags/1.5.1.tar.gz
$ tar xvf pico-sdk-1.5.1.tar.gz -C ~/code/


cat << EOF >> ~/.profile
# added for Fujinet PIO and PICO dev
export PATH=$PATH:$HOME/.local/bin:~/.platformio/penv/bin
export PICO_SDK_PATH=~/code/pico-sdk-1.5.1/
EOF

source ~/.profile


###################################
# Test Env

$ pio --version
PlatformIO Core, version 6.1.11


###################################
# PICO Connect and Uploading


Connect to PICO board

$ pip3 install adafruit-ampy
$ sudo addgronup dillera dialout
/dev/ttyACM0


ampy --port /dev/ttyACM0 ls

### Build PIO FujiNet

cd pico/mac
 rm CMakeCache.txt
 rm -rf CMakeFiles
 cmake .
 make

[ should have commands.uf2 file ]
[ Drop that on the mounted PICO USB drive ]

Clone this wiki locally