Commit Graph

23 Commits

Author SHA1 Message Date
Greg Shuflin fc45f65a52 Port serial_init 2021-03-04 00:44:52 -08:00
Greg Shuflin f7aa60df21 Port radio_print_config 2021-03-01 21:14:53 -08:00
Greg Shuflin 00570e0e91 Consolidate separate print_config functions 2021-03-01 20:46:53 -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 e8099fc681 Use bindgen for rust bindings 2021-02-28 12:27:27 -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 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