Commit Graph

21 Commits

Author SHA1 Message Date
Greg Shuflin
8f544cfa95 Compute radio list in rust 2021-02-28 19:41:21 -08:00
Greg Shuflin
e8099fc681 Use bindgen for rust bindings 2021-02-28 12:27:27 -08:00
Greg Shuflin
cece963e91 Remove radio disconnect 2021-02-28 11:33:05 -08:00
Greg Shuflin
2315ee4a74 Remove most of the code referencing the static device var
Replace it with passing pointers around
2021-02-28 10:48:44 -08:00
Greg Shuflin
c2471516fd Move C header comments to Rust doc comments 2021-02-28 02:53:19 -08:00
Greg Shuflin
05b7842053 make radio_upload not use static device 2021-02-28 02:40:00 -08:00
Greg Shuflin
863f14b0c2 radio::upload 2021-02-28 02:38:07 -08:00
Greg Shuflin
cd74a703c1 Modify C code to not use static radio_device_t*
Note: this changes program semantics slightly
2021-02-28 02:33:53 -08:00
Greg Shuflin
4183e0afc5 Move code to radio module 2021-02-28 01:31:29 -08:00
Greg Shuflin
48faf189c8 Cleanup from removing most of main.c 2021-02-28 01:26:03 -08:00
Greg Shuflin
48552c64f6 Remove old_c_main entirely 2021-02-28 01:19:31 -08:00
Greg Shuflin
24d7a6b495 Port write functionality 2021-02-28 00:22:06 -08:00
Greg Shuflin
c44e3e15c5 Pass version in from build 2021-02-28 00:00:31 -08:00
Greg Shuflin
d41d257650 More options logic 2021-02-27 23:50:31 -08:00
Greg Shuflin
1c81834b62 More options processing in Rust 2021-02-27 23:37:41 -08:00
Greg Shuflin
88e8fb48d8 Create radio module 2021-02-27 23:16:01 -08:00
Greg Shuflin
c7c746a383 Move radio_list() to Rust 2021-02-27 22:59:06 -08:00
Greg Shuflin
2a91efd07f Start adding Rust getopts 2021-02-27 22:53:16 -08:00
Greg Shuflin
61a142d570 Remove print_message_from_rust 2021-02-27 21:27:55 -08:00
Greg Shuflin
b64211f27c Port usage() 2021-02-27 21:27:19 -08:00
Greg Shuflin
d55f8fd5ed Hello world rust 2021-02-27 21:01:44 -08:00