Skip to content

Conversation

@mraabhimself
Copy link

@mraabhimself mraabhimself commented Nov 8, 2024

As discussed on Discord, I've set up a platform-agnostic development environment using Visual Studio Code.

Compilation is successful for Mac OS aarch64 and Linux x86_64 at this point. Check vcpkg-configuration.json for compiler / toolchain details.

The output .hex file has been successfully flashed to PintV LCM and the board / lights function as intended.

Basic instructions for setting up Visual Studio Code are included in README.md

I created build targets for each device as opposed to toggling comments like #define <device> as well as the ability to select Debug/Release configurations for each

screenshot.2024-11-07.at.5.40.09.PM.mov

Versioning can be done by editing VERSION variable in LCM_Light_Control_IO_WS2812_New.csolution.yml

To be clear, removing the defines for each device version has no effect on vesc_usart.c and the functions that require FIRMWARE_ID as Iit's defined in LCM_Light_Control_IO_WS2812_New.csolution.yml

screenshot 2024-11-07 at 5 41 28 PM

Output .hex files somewhat match your current naming scheme, ex. v2_1_4_PINTV.hex v2_1_4_GTV.hex etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant