Commit Graph

280 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
cccbee30a8 Remove global radio_progress
Change to function-specific counters
2021-03-01 00:28: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
7fbcba54fd Don't directly read static device 2021-02-28 23:52:03 -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
Nimayer
9e65be7ab7
Align license statement on README.md to current license 2021-01-05 22:08:39 +01:00
Nimayer
0693b3cfef
Update README.md
Fix typo
2021-01-05 21:56:39 +01:00
Federico Amedeo Izzo
62c22c3c83 README.md: Add build instructions and requirements 2021-01-05 21:55:22 +01:00
Federico Amedeo Izzo
1a6901488d Fix compilation with GCC 10, defaulting to -fno-common. solve issue #52 2021-01-05 20:52:43 +01:00
Nimayer
0f5816b63a
Update README.md
Add credits section
2021-01-05 20:26:19 +01:00
Serge Vakulenko
e47491e58b
Merge pull request #30 from fraburnham/allow-config-validation-without-read-or-write
Allow verification of the config script w/o download or upload
2019-09-18 22:17:59 -07:00
Serge Vakulenko
19691affdf
Merge pull request #27 from onovy/fix-rare-params-indent
Fix config indent and header when PRINT_RARE_PARAMS is enabled
2019-09-18 22:14:54 -07:00
Serge Vakulenko
df2d411402
Merge pull request #28 from ZeroChaos-/patch-1
allow override of cc and cflags/ldflags
2019-09-18 22:12:28 -07:00
Serge Vakulenko
942dd9cd65
Merge branch 'master' into patch-1 2019-09-18 22:12:09 -07:00
Serge Vakulenko
511ed5cfe3 Fix #37: crash when updating a callsign database on MD-2017, and it does not fit. 2019-09-17 19:55:54 -07:00
Serge Vakulenko
8bc1dde781
Merge pull request #35 from jdsteele/anytone-tone-squelch
On Anytone 868 and 878, enable tone squelch if an RxTone is set
2019-08-14 20:41:13 -07:00
John Steele
b5961dffe5 On Anytone 868 and 878, enable tone squelch if an RxTone is set 2019-08-14 21:27:12 -04:00
Serge Vakulenko
6c6910318f DM-1801: increase number of grouplists to 76. 2019-08-12 01:04:13 -07:00
Serge Vakulenko
f08dd83297 Make DM-1801 images compatible with native CPS. 2019-08-12 00:14:56 -07:00
Serge Vakulenko
b60cad10f6 Replace the LICENSE file with the BSD-3-clause license. 2019-08-11 17:50:34 -07:00