8000 GitHub - blackjetrock/framework: Framework laptop stuff
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

blackjetrock/framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 

Repository files navigation

Framework 16

*** Work in progress ***

RGB Macropad Firmware

My Framework 16 has an RGB macropad which runs off an RP2040. Unfortunately the VIA programming for the macropad didn't work for me, and I also wanted a bit more control over what is running on the macropad, so I made my own firmware. You add macros by changing the code and downloading new code. The code provides a CLI over USB serial and allows you to put the RP2040 inot mass storage mode without having to wire a switch to the boot signal on the PCB. I'm hoping to allow macros to be stored in the RP2040s flash using that CLI.

This firmware is based on TinyUSB and does not use QMK. It is hacked together and not finished. It should be simple to extend or change as required. The code presents a HID keyboard, a mass storage device (there because the code I based this on had it) and a USB serial port. The USB serial has a menu driven interface that is used to debiug the code at the moment, but could be used for configuration.

Putting macropad into mass storage mode.

This can be done in the serial CLI of the firmware, or if the mode needs to be forced due to bad code, then connecting TP9 and TP13 through a 2k2 resistor works. I have wired a switch and resistor on flying leads.

Default Modes

I have some code that sets up modes I want. You can add whatever you need.

The top left key cycles through the modes.

Initial mode

Sets up LEDs and keys:

  • Green: HOME and END
  • Purple: PAGE UP and PAGE DOWN
  • Blue: LEFT, RIGHT, UP, DOWN
  • Cyan: minicom -D /dev/ttyACM0

Number Mode (still working on this)

This mode sends incrementing numbers in hex or decimal, with or without spaces

  • Blue: Hex, no space

  • Green: Hex, trailing space

  • Purple: Decimal, no space

  • Red: Decimal, trailing space

    The number is auto-incremented after each keypress

Videos

https://www.youtube.com/watch?v=9jJmbEcvwuo&t=39s

About

Framework laptop stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0