Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pokusew/teensy-drive
Radio, steering and throttle controller for the CTU's F1Tenth car
https://github.com/pokusew/teensy-drive
fel-project
Last synced: 18 days ago
JSON representation
Radio, steering and throttle controller for the CTU's F1Tenth car
- Host: GitHub
- URL: https://github.com/pokusew/teensy-drive
- Owner: pokusew
- Created: 2021-11-01T23:47:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T01:53:28.000Z (over 2 years ago)
- Last Synced: 2024-04-21T13:54:10.806Z (9 months ago)
- Topics: fel-project
- Language: C
- Homepage:
- Size: 435 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# teensy-drive
TODO: project-specific documentation
---
This Makefile project structure is originally based on
the [apmorton/teensy-template](https://github.com/apmorton/teensy-template)
([this specific revision](https://github.com/apmorton/teensy-template/tree/1dbdb370b62e9cd3b43b718856ba5d07795649c2)).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
- BecauseSetup
-----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 teensyWhere 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