Commit Graph
22 Commits
Author SHA1 Message Date
ReFilandGitHub 8b0cf4e55b Zephyr 3.5 Update (#426)
* Zephyr 3.5 update

* Changelog
2024-04-15 12:17:43 +01:00
David WhetstoneandGitHub 742d19ef63 Fix Makefile errors that prevent builds on macOS (#409) 2024-04-02 21:31:29 +01:00
Thomas HuberandGitHub dd3da03b9d Fix version.dtsi is reset after local firmware build (#385)
In #376 a new step was introduced for local builds to undo changes
to the version.dtsi file after a build in order to reduce noise to the repo.

Unfortunately the way used to execute the step causes the version.dtsi
file to be reset too early and therefore causes an incorrect version
number to be used for the version macro when run locally. This went
unfortunately undiscovered as the checked in version.dtsi was the same
on the day the change in #376 was tested and was not noticed until
I build a new change to my keymap locally a few days ago.

The git command introduced in #376 is wrapped into a shell function.

However what was missed is that commands run by the shell function are run when
the function calls are expanded by make. This causes the version.dtsi file to be reset
before the firmware build process is even started which resultes in the version.dtsi
currently checked in to the repo to be used for local builds instead of the
newly generated file when make starts.

This change updates how the git command to reset the version.dtsi
is being called. It is no longer called within a shell function to ensure it
does run in the order it is defined after the firmware build is complete.

Builds run through GitHub actions are not impacted and always used the correct version.dtsi

For more information and context see:
  - https://www.gnu.org/software/make/manual/html_node/Shell-Function.html
  - https://www.gnu.org/software/make/manual/html_node/Reading-Makefiles.html
2024-02-20 09:24:58 +00:00
ReFilandGitHub b4165d65c8 Update build workflows (#376) 2024-02-15 12:53:39 +00:00
Thomas HuberandGitHub cbc0656668 Makefile enhancements to optimize local workflows (#363)
- Enhance the Makefile to enable firmware building exclusively for the left side.

To modify the keymap, flashing only the left side's firmware suffices.

This change facilitates the creation of firmware for the left side only,
thereby expediting the build process.

Usage: make left

This update maintains existing functionality. Without specifying the
left target, firmware for both halves will be generated.

- Add separate make targets to clean firmware and docker image

Add targets clean_firmware and clean_image independently while maintaing clean to run both

- Ensure files modified by the build process are reset at the end

The current build process dynamically generates the content of the version macro
in config/version.dtsi to enable users to print out the precise version and commit
the firmware was built on via a keybinding on the keymap.

This change ensurs that the changes to this macro file are reset at the end of the
build process to ensure it isn't shown as modified and added to keymap commit changes.
2024-02-05 09:55:24 +00:00
ReFilandGitHub 0737d53e01 Update Makefile variables (#335) 2024-01-16 16:43:55 +00:00
ReFilandGitHub 4a5003a0d4 Base ZMK update (#326) 2024-01-14 19:12:15 +00:00
1728a660ce Prefer tr to ${char^^}, which does not work on older bash versions (#303)
* Prefer `tr` to ${char^^}, which does not work on older bash versions

* Update CHANGELOG.md

---------

Co-authored-by: ReFil <[email protected]>
2023-12-27 12:59:59 +00:00
ReFilandGitHub 7287c4daf6 Add version macro (#300) 2023-12-15 10:47:12 +00:00
ReFilandGitHub e6df7b4508 Add pull request template (#293)
* Add pull request template

* Update CHANGELOG.md
2023-12-15 10:38:04 +00:00
11932126d4 Make get_version use bash from $PATH (#287)
* Make get_version use bash from $PATH

* Update CHANGELOG.md

---------

Co-authored-by: ReFil <[email protected]>
2023-12-07 09:14:49 +00:00
ReFilandGitHub 2055aa2498 Update bluetooth settings in light of user feedback (#289) 2023-12-06 09:18:26 +00:00
ReFil d0ffaf89f8 Revert "Add version macro to keymap.json (#269)"
This reverts commit 7adf0629f7.
2023-11-18 15:09:38 +00:00
ReFilandGitHub 7adf0629f7 Add version macro to keymap.json (#269)
* Update keymap.json to reflect version macro

* Update CHANGELOG.md
2023-11-17 11:36:33 +00:00
ReFilandGitHub 5ebf383690 Changelog new base ZMK update (#268) 2023-11-16 09:36:31 +00:00
ReFilandGitHub cdcec22e60 Version compiled FW with automatic macro (#267)
* Version compiled FW with hash

Auto generates a macro to type out version info, local and github compilation now includes commit hash and timestamp in final uf2 files

* Fix local builds

makefile doesn't like the script returning the macro, directed to null for local builds as version.dtsi file accessible
2023-11-16 07:49:39 +00:00
ReFilandGitHub 44a42af666 Document new NKRO settings (#264)
* Document new NKRO settings

* Update CHANGELOG.md
2023-11-08 13:45:26 +00:00
ReFilandGitHub b7ee938784 Improve documentation based on feedback (#260)
* Improve documentation based on feedback

* Update README.md

* Update CHANGELOG.md
2023-11-02 20:13:39 +00:00
ReFil 95477ea74b Update reset file
Improves reset performance after last minor ZMK update
2023-10-30 20:42:39 +00:00
ReFilandGitHub 71a5ba15e5 Update ZMK (#248)
Tweaks to point to new ZMK branch, changes to support this.
2023-10-20 21:55:37 +01:00
ReFilandGitHub 82494e7740 Further documentation work (#241)
* Minor cleanup, change date format, add beta testing

* Update CHANGELOG.md
2023-10-09 09:34:58 +00:00
ReFilandGitHub 581cf8380e Add CHANGELOG (#221) 2023-09-07 08:55:41 +00:00