Compare commits
No commits in common. "9e65be7ab704297ccb12dc6f6300a28039abc3a6" and "e47491e58b789d47143eb7bca05ef9c906716f4b" have entirely different histories.
9e65be7ab7
...
e47491e58b
43
README.md
43
README.md
@ -1,8 +1,5 @@
|
||||
# DMRconfig
|
||||
|
||||
DMRconfig is a utility for programming digital radios via USB programming cable.
|
||||
|
||||
## Supported radios:
|
||||
Supported radios:
|
||||
|
||||
* TYT MD-380, Retevis RT3, RT8
|
||||
* TYT MD-390
|
||||
@ -53,24 +50,6 @@ Update database of contacts from CSV file:
|
||||
|
||||
Option -t enables tracing of USB protocol.
|
||||
|
||||
## Compilation
|
||||
Whenever possible use the `dmrconfig` package provided from by Linux distribution
|
||||
|
||||
If you want to compile `dmrconfig`, follow these instructions:
|
||||
* Install dependencies
|
||||
* On Ubuntu `sudo apt install git build-essential pkg-config libusb-1.0-0-dev libudev-dev`
|
||||
* On Arch Linux `sudo pacman -S git base-devel libusb`
|
||||
* On Mac OS `brew install pkg-config libusb`
|
||||
* Clone this repository
|
||||
```
|
||||
git clone https://github.com/sergev/dmrconfig
|
||||
```
|
||||
* Compile and install
|
||||
```
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
## Permissions
|
||||
|
||||
On Linux, a permission to access USB device is required.
|
||||
@ -93,12 +72,20 @@ To activate it, run:
|
||||
|
||||
Then re-attach the USB cable to the radio.
|
||||
|
||||
## License
|
||||
## Sources
|
||||
|
||||
Sources are distributed freely under the terms of BSD 3 license. \
|
||||
For more information see the [LICENSE file](https://github.com/OpenRTX/dmrconfig/blob/master/LICENSE)
|
||||
Sources are distributed freely under the terms of Apache 2.0 license.
|
||||
You can download sources via GIT:
|
||||
|
||||
## Credits
|
||||
DMRconfig was created by Serge Vakulenko KK6ABQ.
|
||||
git clone https://github.com/sergev/dmrconfig
|
||||
|
||||
It is currently maintained by the OpenRTX developers.
|
||||
|
||||
To build on Linux or Mac OS X, run:
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
Regards,
|
||||
Serge Vakulenko
|
||||
KK6ABQ
|
||||
|
2
main.c
2
main.c
@ -37,8 +37,6 @@ const char *copyright;
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
int trace_flag = 0;
|
||||
|
||||
void usage()
|
||||
{
|
||||
fprintf(stderr, "DMR Config, Version %s, %s\n", version, copyright);
|
||||
|
4
radio.h
4
radio.h
@ -139,9 +139,9 @@ extern unsigned char radio_mem[];
|
||||
//
|
||||
// File descriptor of serial port with programming cable attached.
|
||||
//
|
||||
extern int radio_port;
|
||||
int radio_port;
|
||||
|
||||
//
|
||||
// Read/write progress counter.
|
||||
//
|
||||
extern int radio_progress;
|
||||
int radio_progress;
|
||||
|
Loading…
Reference in New Issue
Block a user