TyberiusPrime / stm32f103_k2k

Keyboard firmware based on the keytokey library for stm32f103 / bluepills
Other
14 stars 3 forks source link

fix cargo build #4

Closed JoshMcguigan closed 4 years ago

JoshMcguigan commented 4 years ago

Resolves #3

This PR makes a few changes to allow cargo build to work.

  1. Update the KeyToKey dependency to point to git, since the crates.io version is out of date.
  2. Uses the rust-toolchain file to specify the nightly compiler
  3. Sets opt-level for debug builds to ensure the binary will actually fit on an stm32f103 (fixes the linker error)
  4. Updates the lockfile to pull in the latest linked-list-allocator (fixes build error on latest nightly)
  5. Enables incremental builds for development builds