Skip to content

Commit

Permalink
release 0.9.15
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Jul 19, 2022
1 parent 1f92b23 commit c4dfb8d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Change log

## 0.9.15 on 2022/06/xx
## 0.9.15 on 2022/07/19

### Joystick🕹
- See [wiki/VIA and Remap](https://github.com/picoruby/prk_firmware/wiki/Joystick)

### Improvements
- Changeable default layer name. See [wiki/Layers-and-mode-key#Changing-default-layer](https://github.com/picoruby/prk_firmware/wiki/Layers-and-mode-key#changing-default-layer)
- Suppress RGB random flicker on startup

### Bug fix
- A bug that some alias keycodes didn't work [issue/106](https://github.com/picoruby/prk_firmware/issues/106)
- Some fixes of VIA

## 0.9.14 on 2022/05/21

### VIA! VIA!! VIA!!! 🙌
Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ add_definitions(
-DMRBC_USE_HAL_RP2040
-DMRBC_REQUIRE_32BIT_ALIGNMENT
-DMAX_REGS_SIZE=256
-DMAX_SYMBOLS_COUNT=700
-DMAX_VM_COUNT=20
-DMRBC_CONVERT_CRLF
-DPICORBC_PTR_SIZE=4
Expand Down
8 changes: 5 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require "fileutils"

MAX_SYMBOLS_COUNT = 1000

task :default => :all

desc "build PRK Firmware in build directory"
Expand All @@ -13,13 +15,13 @@ task :debug_all => %i(check_setup test_all debug_make_without_test)
# Build without tests
task :make_without_test do
FileUtils.cd "build" do
sh "cmake .. && make"
sh "CFLAGS=-DMAX_SYMBOLS_COUNT=#{MAX_SYMBOLS_COUNT} cmake .. && make"
end
end

task :debug_make_without_test do
FileUtils.cd "build" do
sh "cmake -DCMAKE_BUILD_TYPE=Debug .. && make"
sh "CFLAGS=-DMAX_SYMBOLS_COUNT=#{MAX_SYMBOLS_COUNT} cmake -DCMAKE_BUILD_TYPE=Debug .. && make"
elf_file = Dir.glob("prk_firmware-*.elf").sort_by{ |fn| File.mtime(fn) }.last
sh "gdb-multiarch #{elf_file}"
end
Expand Down Expand Up @@ -90,7 +92,7 @@ task :setup do
sh "bundle exec steep -h || bundle install"
end
FileUtils.cd "lib/picoruby" do
sh "rake all"
sh "rake all MAX_SYMBOLS_COUNT=#{MAX_SYMBOLS_COUNT}"
end
FileUtils.cd "lib/picoruby/build/repos/host/mruby-mrubyc/repos/mrubyc/src/hal_user_reserved" do
FileUtils.ln_sf "../../../../../../../../../hal/hal.c", "hal.c"
Expand Down
2 changes: 1 addition & 1 deletion lib/picoruby

0 comments on commit c4dfb8d

Please sign in to comment.