From c636cbfbfc1fcfeb72f0f66a9ac65b22a3a1bd9c Mon Sep 17 00:00:00 2001 From: David Shadoff <46657586+dshadoff@users.noreply.github.com> Date: Thu, 7 Jul 2022 11:47:12 -0400 Subject: [PATCH] Validate function with pico-sdk 1.4.0 ( #3 ) Also update documents to reflect this SDK update. --- PCEMouse/Assembly_KB2040.md | 4 ++-- PCEMouse/Readme.md | 14 +++++--------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/PCEMouse/Assembly_KB2040.md b/PCEMouse/Assembly_KB2040.md index 3bd3a40..b67c1f7 100644 --- a/PCEMouse/Assembly_KB2040.md +++ b/PCEMouse/Assembly_KB2040.md @@ -38,8 +38,8 @@ and after about 1 second, all four LEDs should light up briefly as part of the b ### Compilation -This was built using Pico-SDK version 1.3.0, which may not be the newest version when you read this. -I needed a special header file for the KB2040 board, as it was released later than SDK 1.3.0. +This was updated to use Pico-SDK version 1.4.0, which may not be the newest version when you read this. +The special header file for the KB2040 board is no longer needed (as of SDK 1.3.1). pico_sdk_import.cmake is from the SDK, but is required by CMake (and thus replicated here) diff --git a/PCEMouse/Readme.md b/PCEMouse/Readme.md index 57709b5..2163bf2 100644 --- a/PCEMouse/Readme.md +++ b/PCEMouse/Readme.md @@ -33,10 +33,8 @@ and after about 1 second, all four LEDs should light up briefly as part of the b ### Compilation -This was built using Pico-SDK version 1.3.0, which was just released. In truth, this had been working with -pico-sdk 1.2.0 and a special version of TinyUSB as of July 4... but I preferred to wait until a standard -development environment was available, as I would prefer not to support the development environment itself. -(Note that several changes to the application source code were required to bring it to the current requirements). +This was updated to use Pico-SDK version 1.4.0 . +This was originally built on SDK 1.3.0 (but needed a board definition file to be manually added to the SDK source, which is no longer needed). pico_sdk_import.cmake is from the SDK, but is required by CMake (and thus replicated here) @@ -90,9 +88,7 @@ implementing the state machine (to decide which nybble to return) in the PIO sta ## Notes -1. I plan to redesign the boards to support the Seeeduino XIAO RP2040, as it is lower-cost than the Adafruit -board. It is difficult to say at this time whether either or both of these boards will have sufficient -availability. +1. I updated the project some time ago to take advantage of the Adafruit KB2040 board, which breaks out the USB D- and D+ +lines, to allow alternate USB connectors (USB-A are the most common connectors for mice). -2. I am also considering creating a version fo the board using the RP2040 chip directly, and a USB-A connector, -as 99% of mice use the USB-A connector. +2. I am also considering creating a version fo the board using the RP2040 chip directly.