Commit Graph

267 Commits

Author SHA1 Message Date
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
Serge
b1eeda464e Merge branch 'master' of https://github.com/sergev/dmrconfig 2019-08-03 21:52:54 -07:00
Serge
8401125d72 Support CSV format from https://www.radioid.net/static/user.csv 2019-08-03 21:52:13 -07:00
Serge Vakulenko
3df5a0c118 Update sizes for DM-1801: 15 zones, 32 channels per zone; 40 group lists.
Add example configuration for DM-1801.
2019-07-30 15:06:09 -07:00
Serge Vakulenko
4b93238c35 Creata a separate source file for DM-1801. 2019-07-30 11:25:58 -07:00
Serge
3a36a2549d Add downloading and uploading of DM-1801 codeplug. 2019-07-29 22:26:13 -07:00
Serge Vakulenko
ea3ddc2ce6 Process DM-1801 images. 2019-07-26 19:45:29 -07:00
Serge Vakulenko
dd79598084 Makefile: make sure pkg-config is installed. 2019-07-25 13:28:02 -07:00
Serge Vakulenko
eb1417ebfa Update Makefile for MacOS. 2019-07-25 12:13:20 -07:00
Serge Vakulenko
1af792bd8d Fix build issue on MacOS.
Resolve ticket #32.
2019-07-24 11:09:31 -07:00
Serge Vakulenko
032af09b2a Use pkg-config to configure libusb dependency. 2019-06-25 21:15:44 -07:00
Frank Burnham
2fb0bd1e69 Allow verification of the config script w/o download or upload
This allows quicker identification and fixing of errors vs waiting for
the radio image to download then verifying.
2019-05-23 09:44:16 -04:00
Zero_Chaos
ee229ee79e
allow override of cc and cflags/ldflags
Most distro build systems expect to be able to override these things.  this should keep your defaults while allowing override.
2019-02-19 10:46:38 -05:00
Ondřej Nový
1ac56c7e66 Fix config indent and header when PRINT_RARE_PARAMS is enabled 2019-02-10 17:35:59 +01:00