mjbots / fdcanusb Goto Github PK
View Code? Open in Web Editor NEWfdcanusb adapter
License: Apache License 2.0
fdcanusb adapter
License: Apache License 2.0
Does it support CAN Socket?
Can you add some words about the needed prerequisites, the build environment and the needed build steps?
Thanks
Hi Josh,
Would you know how to fix this build errs?
Thanks
~/github/mjbots/fdcanusb$ ./tools/bazel build //fw:fdcanusb.bin
Downloading bazel 5.4.1 from https://github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-linux-x86_64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:32 --:--:-- 0
100 49.4M 100 49.4M 0 0 45333 0 0:19:03 0:19:03 --:--:-- 1738k
Traceback (most recent call last):
File "./tools/bazel", line 108, in
main()
File "./tools/bazel", line 101, in main
download_bazel(bazel_bin_loc)
File "./tools/bazel", line 88, in download_bazel
raise RuntimeError(
RuntimeError: bazel sha256 does not match, expected e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 got 5d90515f84b5ee1fd6ec22ee9e83103e77ed1a907ee5eec198fef3a5b45abf13
`$ ./flash.sh
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:60: Error: Can't find interface/stlink.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
`
after download the stlink.cfg:
`$ ./flash.sh
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
interface/stlink.cfg:8: Error: invalid command name "adapter"
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "interface/stlink.cfg", line 8`
after download proper stlink-v2.cfg:
`$ ./flash.sh
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:60: Error: Can't find target/stm32g4x.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
`
after download stm32g4x.cfg
`$ ./flash.sh
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select '.
target/stm32g4x.cfg:33: Error: invalid command name "dap"
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "target/stm32g4x.cfg", line 33
`
too much. Decided to flash via st-flash, but now figuring out if I should start flash from start of the memory, or need some alignments.
PS: before that whole build was almost smoothly. Unmet dependencies are: sudo apt install curl openocd
PPS: I was also surprised by not existing curl in Ubuntu 20
conf set can.restricted_mode 0
OK
conf write
OK
conf get can.restricted_mode
ERR error reading
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.