Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOSSA Fork (with cxx rust) #173

Open
haata opened this issue Oct 12, 2023 · 0 comments
Open

BOSSA Fork (with cxx rust) #173

haata opened this issue Oct 12, 2023 · 0 comments

Comments

@haata
Copy link
Contributor

haata commented Oct 12, 2023

Hi all, I've been using bossa for a number of years but recently I needed to integrate it into a rust application (on windows) as a library.

https://github.com/kiibohd/BOSSA

  • I've gone through and tried to merge in most of the PRs that made sense to me.
  • Maintains existing Makefile buildsystem
  • Updated GitHub Action scripts for builds (though the mingw32 one is failing right now)
  • Adds cargo support, you can now do this on your platform of choice if you have rust installed
: cargo install bossac                                                                       [~]
    Updating crates.io index
  Downloaded bossac v2.0.0
  Downloaded 1 crate (10.3 KB) in 0.30s
  Installing bossac v2.0.0
    Updating crates.io index
   Compiling proc-macro2 v1.0.69
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.149
   Compiling scratch v1.0.7
   Compiling cxxbridge-flags v1.0.108
   Compiling autocfg v1.1.0
   Compiling unicode-width v0.1.11
   Compiling termcolor v1.3.0
   Compiling memchr v2.6.4
   Compiling once_cell v1.18.0
   Compiling utf8parse v0.2.1
   Compiling rustix v0.38.18
   Compiling thiserror v1.0.49
   Compiling linux-raw-sys v0.4.10
   Compiling regex-syntax v0.8.1
   Compiling anstyle-query v1.0.0
   Compiling colorchoice v1.0.0
   Compiling bitflags v2.4.0
   Compiling anstyle v1.0.4
   Compiling heck v0.4.1
   Compiling strsim v0.10.0
   Compiling clap_lex v0.5.1
   Compiling iana-time-zone v0.1.57
   Compiling log v0.4.20
   Compiling nu-ansi-term v0.49.0
   Compiling lazy_static v1.4.0
   Compiling glob v0.3.1
   Compiling anstyle-parse v0.2.2
   Compiling anstream v0.6.4
   Compiling codespan-reporting v0.11.1
   Compiling num-traits v0.2.17
   Compiling clap_builder v4.4.6
   Compiling aho-corasick v1.1.2
   Compiling quote v1.0.33
   Compiling syn v2.0.38
   Compiling cc v1.0.83
   Compiling is-terminal v0.4.9
   Compiling chrono v0.4.31
   Compiling link-cplusplus v1.0.9
   Compiling cxx v1.0.108
   Compiling regex-automata v0.4.1
   Compiling cxx-build v1.0.108
   Compiling cxxbridge-macro v1.0.108
   Compiling thiserror-impl v1.0.49
   Compiling clap_derive v4.4.2
   Compiling regex v1.10.0
   Compiling flexi_logger v0.25.6
   Compiling bossa v2.0.0
   Compiling clap v4.4.6
   Compiling bossac v2.0.0
    Finished release [optimized] target(s) in 10.00s
  Installing /home/hyatt/.cargo/bin/bossac
   Installed package `bossac v2.0.0` (executable `bossac`)
: bossac -i                                                                                  [~]
Device       : ATSAM4S8
Version      : v1.6 May  2 2011 18:56:15
Address      : 0x400000
Pages        : 1024
Page Size    : 512 bytes
Total Size   : 512KB
Planes       : 1
Lock Regions : 64
Locked       : none
Security     : false
Boot Flash   : false

I'm not sure how much more I'll be doing to this fork, but I don't mind spending a bit of time reviewing PRs (it would be nice to have a co-maintainer though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant