Commit Graph

33 Commits

Author SHA1 Message Date
Greg Shuflin 7a39fd1ae2 Move radio_is_compatible to Rust 2021-03-01 03:18:39 -08:00
Greg Shuflin ad5b0547e4 Put radio table into rust 2021-03-01 03:03:54 -08:00
Greg Shuflin 4f082277d8 Use rust idiom for listing radios 2021-03-01 02:57:53 -08:00
Greg Shuflin 7793870f59 Radio table in rust 2021-03-01 02:54:19 -08:00
Greg Shuflin ea9ff0a534 Use static radio_device_t vars 2021-03-01 02:29:53 -08:00
Greg Shuflin c921cc54d6 radio_save_image port 2021-03-01 02:02:45 -08:00
Greg Shuflin ca27d4035f Transfer print_version, verify_config 2021-03-01 01:52:49 -08:00
Greg Shuflin 8fd7e82951 Port upload 2021-03-01 01:06:01 -08:00
Greg Shuflin 25571023a3 Use Radio wrapper type 2021-03-01 00:54:36 -08:00
Greg Shuflin 61544fd23f Move download to rust 2021-03-01 00:43:25 -08:00
Greg Shuflin 2a7c32924c move radio_connect to rust 2021-03-01 00:11:41 -08:00
Greg Shuflin b1116daba2 WIP radio connect 2021-02-28 23:52:22 -08:00
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