Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adafruit support #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions smolos.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@
import neopixel
import math
import random
import sys

CPU_SPEED_SLOW = 40 # Mhz
CPU_SPEED_TURBO = 133 # Mhz
SYSTEM_LED_PIN = 25

# Adafruit RP2040
#SYSTEM_LED_PIN = 13

OS_NAME = "smolOS"
OS_VERSION = "0.9"
OS_VARIANT = "xiao"
OS_BOARD_NAME = "Seeed XIAO RP2040"
OS_VARIANT = sys.platform
OS_BOARD_NAME = getattr(sys.implementation, '_machine')
OS_PROMPT = "\nsmol $: "
OS_START_TURBO = True

Expand Down