Skip to content
Draft
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ name = "usb3sun"
edition = "2021"
crate-type = ["staticlib"]
required-features = []

[dependencies]
paste = "1.0.15"
2 changes: 1 addition & 1 deletion doc/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3887,7 +3887,7 @@ traditional_chinese:key 127 all idle numl idle up reset
## appendix: type 4 keyboard variants

- K1 is a key to the right of [<kbd>F12</kbd>] on US type 4
- K2 is an extra key to the right of K2 on US type 4
- K2 is an extra key to the right of K1 on US type 4
- K3 is an extra key to the right of left [<kbd>Shift</kbd>] on US type 4

| | type 4 (107-key) | type 4 (109-key) |
Expand Down
6 changes: 5 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,9 @@ in
# clear LD_LIBRARY_PATH (NixOS/nixpkgs#263201, NixOS/nixpkgs#262775, NixOS/nixpkgs#262080)
# then add path for platformio debugging in vscode
# (ldd ~/.platformio/packages/toolchain-rp2040-earlephilhower/bin/arm-none-eabi-gdb)
runScript = "env LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [ pkgs.ncurses5 ]} bash";
runScript = "env LD_LIBRARY_PATH=${
pkgs.lib.makeLibraryPath [ pkgs.ncurses5 ]
} LIBCLANG_PATH=${
pkgs.lib.makeLibraryPath [ pkgs.llvmPackages.clang-unwrapped.lib ]
} bash";
}).env
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#![cfg_attr(target_os = "none", no_std)]

mod sun;

#[cfg(target_os = "none")]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
Expand Down
Loading