Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)

find_package(argparse QUIET)
find_package(magic_enum QUIET)
Expand Down
1 change: 1 addition & 0 deletions lib/ftdi/spi_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ bool SpiHost::set_clock(size_t clock) {
std::cerr << std::format("failed to update the clock:{}\n", status);
return false;
}
return true;
}

static std::optional<SpiHost> new_ft4222(DeviceInfo& device) {
Expand Down
2 changes: 1 addition & 1 deletion nix/ftditool.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}:
stdenv.mkDerivation {
pname = "ftditool";
version = "0.1.0";
version = "0.4.0";
src = ../.;

nativeBuildInputs = [
Expand Down