Skip to content

Instantly share code, notes, and snippets.

@eightycc
eightycc / build-espressif-circuitpython.md
Last active April 1, 2025 00:15
Build CircuitPython for an Espressif Board

Prerequisites

  • build-essential
  • cmake
  • git
  • libusb-1.0-0
  • ninja-build
  • python-is-python3
  • python3-pip
  • python3-venv
@eightycc
eightycc / gist:be5027d0e5b9fc199d5ae149bbb77470
Created March 21, 2025 22:11
Build CircuitPython Espressif Board
blah
@eightycc
eightycc / CMakeLists.txt
Created March 17, 2025 01:51
Overclock RP2350 with PSRAM
# Generated Cmake Pico project file
cmake_minimum_required(VERSION 3.13)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Initialise pico_sdk from installed location
# (note this can come from environment, CMake cache etc)
@eightycc
eightycc / bench_xip.c
Created March 15, 2025 18:20
Benchmark XIP Flash, PSRAM, and XIP Streaming
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pico/flash.h"
#include "pico/stdlib.h"
#include "pico/rand.h"
#include "pico/time.h"
#include "hardware/dma.h"
#include "hardware/flash.h"
#include "hardware/sync.h"