https://github.com/rkusa/f18panel
DCS World F18 VR Control Panel
https://github.com/rkusa/f18panel
arduino dcs-world teensy
Last synced: 8 months ago
JSON representation
DCS World F18 VR Control Panel
- Host: GitHub
- URL: https://github.com/rkusa/f18panel
- Owner: rkusa
- Created: 2018-05-31T06:10:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T18:20:56.000Z (about 4 years ago)
- Last Synced: 2025-02-24T03:39:30.841Z (8 months ago)
- Topics: arduino, dcs-world, teensy
- Language: C++
- Homepage:
- Size: 63.4 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DCS World F18 VR Control Panel

**Dependencies**
```
brew install teensy_loader_cli
```- Teensyduino: https://www.pjrc.com/teensy/td_download.html
```
git submodule update --init
```**Deploy**
```
make upload
```**Debug**
Comment line 15 and uncomment line 16 in the Makefile. Rebuild and upload. Connect to serial via
```
screen /dev/tty.usbmodem2470841 9600
```or
```
make serial
```Project started from the project template https://github.com/apmorton/teensy-template
## Teensy 3.X Project Template
### Purpose
An easy starting point for a Teensy 3.X project which might not fit inside the
arduino build environment.### Reasons to Use
- You need to modify the teensy core
- You don't love Java IDE's
- You love Make
- Because### Setup
Install the Teensy udev rule: `sudo cp tools/49-teensy.rules /etc/udev/rules.d/`
Then unplug your Teensy and plug it back in.
### Using
1. Put your code in `src/main.cpp`
2. Put any libraries you need in `libraries`
3. Set the TEENSY variable in `Makefile` according to your teensy version
4. Build your code ```make```
5. Upload your code ```make upload```### Make Targets
- `make` alias for `make hex`
- `make build` compiles everything and produces a .elf
- `make hex` converts the elf to an intel hex file
- `make post_compile` opens the launcher with the correct file
- `make upload` uploads the hex file to a teensy board
- `make reboot` reboots the teensy### Where everything came from
- The `teensy3` sub-folder is taken from [The Teensy 3 Cores](https://github.com/PaulStoffregen/cores/tree/master/teensy3)
- The `tools` sub-folder is taken from [Teensyduino](http://www.pjrc.com/teensy/td_download.html)
- The `src/main.cpp` file is moved, unmodified from `teensy3/main.cpp`
- The `Makefile` file is moved, modified from `teensy3/Makefile`
- The `49-teensy.rules` file is taken from [PJRC's udev rules](http://www.pjrc.com/teensy/49-teensy.rules)Modifications to `Makefile` include
- Add support for arduino libraries
- Change tools directory
- Calculate target name from current directory
- Prettify rule output
- Do not upload by default, only build