macformula / racecar

Monorepo for all firmware running on our custom ECU's
6 stars 1 forks source link

feat: Use the CubeMX Java runtime environment #144

Closed BlakeFreer closed 1 month ago

BlakeFreer commented 1 month ago

The JRE is installed with CubeMX on windows. Using this version removes the need for a separate dependency and guarantees that the JRE version matches Cube.

Edits firmware/cmake/generate_cubemx.mk to use this executable on Windows

I am unsure if Java is packages with cubemx on Mac / Linux so this PR still uses a separate Java installation. See #142

BlakeFreer commented 1 month ago

I did not update the firmware/README to show this change. The docs will be updated in #28

TylerStAmour commented 1 month ago

Lgtm, haven't tested though