Skip to content

Commit

Permalink
blisp 0.0.4
Browse files Browse the repository at this point in the history
This software allows for flashing of RISC-V microcontrollers and SOC's.
The software is relatively basic and documented as part of flashing procedures on the pine64 wiki (pinecil)
  • Loading branch information
altf4arnold committed Oct 6, 2024
1 parent 84790fe commit af8d93f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Formula/b/blisp.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
class Blisp < Formula
desc "ISP tool & library for Bouffalo Labs RISC-V Microcontrollers and SoCs"
homepage "https://github.com/pine64/blisp"
url "https://github.com/pine64/blisp.git",
tag: "v0.0.4",
revision: "f601b6b965a922b4a9f400d1c8fd946b69708728"
license "MIT"
head "https://github.com/pine64/blisp.git", branch: "master"

depends_on "cmake" => :build

def install
system "cmake", "-S", ".", "-B", "build", "-DBLISP_BUILD_CLI=ON", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
rm Dir["#{lib}/blisp*.h"]
end

test do
output = shell_output("#{bin}/blisp write -c bl70x --reset Pinecilv2_EN.bin 2>&1", 3)
assert_match "Device not found", output
end
end

0 comments on commit af8d93f

Please sign in to comment.