dvhdr / launchpad-pro

Open source firmware for the Launchpad Pro grid controller
BSD 3-Clause "New" or "Revised" License
446 stars 101 forks source link

Access Bootloader Text toggle #38

Closed mat1jaczyyy closed 6 years ago

mat1jaczyyy commented 6 years ago

In the bootloader, there is a configurable toggle for Text scrolling upon mode selection on stock firmware. Is there any way to get or set its value from the open-source firmware?

dvhdr commented 6 years ago

No, sorry - the bootloader is completely separate from the open firmware and can't be modified.

mat1jaczyyy commented 6 years ago

Not asking for modifying the bootloader, just a means to access the value of the one configuration boolean on the right side in the bootloader.

dvhdr commented 6 years ago

Oh, sorry, reading comprehension fail!

In principle this is doable, it's just an area of flash. In practice, we chose not to expose writes to the whole of flash memory, to avoid overwriting bits of program, other settings etc.

We could expose this as a feature, so I'll tag this issue as an improvement, but it's unlikely that we'll get to it any time soon. What's your use case?

mat1jaczyyy commented 6 years ago

In particular, I'm recreating the stock firmware's functionality in full, it would be a nice touch to get the scrolling text toggle back. But, it could be used for countless other things, for example enabling debug logging over SysEx.

dvhdr commented 6 years ago

Implemented, along with an option to read the bootloader USB device ID.