From 4dc37cd4b92556246505661213d2f0ac38b2af3b Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Tue, 11 Mar 2025 14:56:28 +0100 Subject: [PATCH] Updated documentation and layout --- README.md | 4 ++-- eCAD/rp2040_42_patch_instruction.md | 13 +++++++++++++ rp2040_42/src/layout.rs | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 eCAD/rp2040_42_patch_instruction.md diff --git a/README.md b/README.md index e67ef35..1d2482d 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,8 @@ Rust embedded, rp2040 HAL ------------------- ------------------- Layer 2 (Fn + Fn) --------------------------------------- --------------------------------------- - | F11 | F12 | F13 | F14 | F15 | F16 | | § | SLOK| Gui | | CpLk| BSpc | - | LCtrl | | | F17 | F18 | F19 | | Left| Down| Up |Right| Del | Enter | + | Esc | F11 | F12 | F13 | F14 | | | § | SLOK| Gui | | CpLk| BSpc | + | LCtrl | F15 | F16 | F17 | F18 | F19 | | Left| Down| Up |Right| Del | Enter | | Shift | F20 | F21 | F22 | F23 | F24 | | Home| PgD | PgU | End | Ins | Shift | --------------------| Alt | Fn | Spc | | BSpc| Fn |AG+Fn|-------------------- ------------------- ------------------- diff --git a/eCAD/rp2040_42_patch_instruction.md b/eCAD/rp2040_42_patch_instruction.md new file mode 100644 index 0000000..7cabf32 --- /dev/null +++ b/eCAD/rp2040_42_patch_instruction.md @@ -0,0 +1,13 @@ +# Patch instruction to solder rp2040-zero module instead of teensyLC module + +![image](rp2040_42_patch.png) + +1 Solder one x6 and one x7 pin headers on the green marking. +2 Prepare wire and solder on GND pad on the PCB. +3 Prepare wires and solder on gpio 0 and 1 on the PCB. +4 Solder rp2040-zero on the two pin headers. +5 Solder GND, gpio 0 and gpio 1 on the rp2040-zero. +6 Solder wires according to picture above between rp2040-zero and PCB. + +![image](rp2040_42_patch_result.jpg) + diff --git a/rp2040_42/src/layout.rs b/rp2040_42/src/layout.rs index defbe06..ede2535 100644 --- a/rp2040_42/src/layout.rs +++ b/rp2040_42/src/layout.rs @@ -151,7 +151,7 @@ pub const MAP: [[Keyboard; NUMBER_OF_KEYS]; 3] = [ // Function layer 2 // HID Key // Button Index // ----------------------------------------- - Keyboard::NoEventIndicated, // 0 + Keyboard::Escape, // 0 Keyboard::F11, // 1 Keyboard::F12, // 2 Keyboard::F13, // 3