Compare commits

...

2 Commits

3 changed files with 19 additions and 0 deletions

10
build/dimensioner.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
mkdir workspace
cd workspace
git clone https://github.com/micropython/micropython.git
cd micropython
make -C mpy-cross
cd ports/rp2
make submodules
make BOARD=RPI_PICO FROZEN_MANIFEST=../../../../src/dimensioner/manifest.py

View File

@ -87,6 +87,8 @@ ZERO_BUTTON_PIN = 13 # Pin to read if hardware zero button is pressed
UNITS_BUTTON_PIN = 14 # Pin to read if hardware unit change button is pressed UNITS_BUTTON_PIN = 14 # Pin to read if hardware unit change button is pressed
FIRMWARE_VERSION = "1.0" FIRMWARE_VERSION = "1.0"
machine.freq(240000000) # Set CPU to 240MHz (about twice as fast as default)
# #
# USB configuration # USB configuration
# #

View File

@ -0,0 +1,7 @@
# Build manifest for PostalPoint Parcel Dimensioner
require("usb-device-hid")
require("ssd1306")
module("dimensioner_utils.py")
module("dimensioner_screen.py")
module("ssd1306big.py")
module("main.py")