diff options
author | Bad Diode <bd@badd10de.dev> | 2023-02-09 17:30:53 +0100 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2023-02-09 17:30:53 +0100 |
commit | 6966396ba6d6f2569d7cf57078be7c736b39da69 (patch) | |
tree | 3b26af44a8faa60382cd6b0747f82ff516601ad9 | |
parent | 7ec0c7fa97a8d6ee5d51f0e040e331387c6b8b64 (diff) | |
download | launchpad-polymaker-6966396ba6d6f2569d7cf57078be7c736b39da69.tar.gz launchpad-polymaker-6966396ba6d6f2569d7cf57078be7c736b39da69.zip |
Update README
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | src/app.c | 2 |
2 files changed, 17 insertions, 1 deletions
@@ -79,6 +79,22 @@ brew install gcc-arm-none-eabi | |||
79 | make | 79 | make |
80 | ``` | 80 | ``` |
81 | 81 | ||
82 | ## Using Linux | ||
83 | |||
84 | Install a compatible arm-none-eabi-gcc compiler from your distribution package | ||
85 | manager. Make sure to initialize the submodules of this git repository after | ||
86 | cloning. | ||
87 | |||
88 | ``` | ||
89 | git submodule init | ||
90 | git submodule update | ||
91 | make | ||
92 | ``` | ||
93 | |||
94 | You can use `make run` to upload the firmware to the Launchpad Pro using | ||
95 | `amidi`. Make sure to update or pass the Makefile `PORT` variable with your | ||
96 | Launchpad's ID, obtained using `amidi -l`. | ||
97 | |||
82 | # Uploading to a Launchpad Pro | 98 | # Uploading to a Launchpad Pro |
83 | Now you've got some nice new code to run! To upload it to your Launchpad Pro, you'll need a sysex tool for your host platform (I'd love to get it working from the virtual machine, but that's for later). I recommend [Sysex Librarian](http://www.snoize.com/SysExLibrarian/) on macOS, and [MIDI OX](http://www.midiox.com/) on Windows. On Linux, I'll bet you already have a tool in mind. | 99 | Now you've got some nice new code to run! To upload it to your Launchpad Pro, you'll need a sysex tool for your host platform (I'd love to get it working from the virtual machine, but that's for later). I recommend [Sysex Librarian](http://www.snoize.com/SysExLibrarian/) on macOS, and [MIDI OX](http://www.midiox.com/) on Windows. On Linux, I'll bet you already have a tool in mind. |
84 | 100 | ||
@@ -198,7 +198,7 @@ typedef struct State { | |||
198 | u8 ch_min; | 198 | u8 ch_min; |
199 | u8 ch_max; | 199 | u8 ch_max; |
200 | u8 ch_listen[16]; | 200 | u8 ch_listen[16]; |
201 | u8 mode; | 201 | Mode mode; |
202 | } State; | 202 | } State; |
203 | 203 | ||
204 | // Globals. | 204 | // Globals. |