Skip to content

Commit

Permalink
iblisp 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 14f928c
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

Check failure on line 19 in Formula/b/blisp.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose blisp` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check failure on line 19 in Formula/b/blisp.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew test --verbose blisp` failed on macOS Sequoia (15) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check failure on line 19 in Formula/b/blisp.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose blisp` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:52:in `<main>'
output = shell_output("#{bin}/blisp write -c bl70x --reset Pinecilv2_EN.bin 2>&1", 1)
assert_match "Device not found", output
end
end

0 comments on commit 14f928c

Please sign in to comment.