Skip to content

Latest commit

 

History

History
59 lines (51 loc) · 1.84 KB

README.macos

File metadata and controls

59 lines (51 loc) · 1.84 KB

BlueRetro Development on macOS 13+

Table of contents

1 - Initial setup

1.1 - Softwares to download & install

1.1.1 - Homebrew

  1. Open a Terminal (in Finder->Applications->Utilities).
  2. Install Homebrew with these commands:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/$USER/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
    

1.1.2 - Install ESP-IDF Prerequisites

  1. Open a Terminal (in Finder->Applications->Utilities).
  2. Do the following command:
    brew install cmake ninja dfu-util
    

1.2 - BlueRetro code checkout

  1. Open a Terminal (in Finder->Applications->Utilities).
  2. Do the following commands:
    cd ~
    git clone https://github.com/darthcloud/BlueRetroRoot.git
    cd ~/BlueRetroRoot/
    git submodule update --init --recursive
    cd esp-idf
    export IDF_TOOLS_PATH=$HOME/BlueRetroRoot/
    ./install.sh

2 - Compiling BlueRetro firmware

  1. Open a Terminal (in Finder->Applications->Utilities).
  2. Do the following commands:
    cd ~/BlueRetroRoot/
    . ./blueretro_dev.sh
    cd BlueRetro
    # Replace configs/hw1/universal by any other config you may wish
    cp configs/hw1/universal sdkconfig
    idf.py build
    # Replace serial device with your own
    idf.py -p /dev/cu.usbserial flash
    idf.py -p /dev/cu.usbserial monitor