SlimeVR / SlimeVR-Docs-Site

SlimeVR site with docs and guides
https://docs.slimevr.dev
MIT License
46 stars 61 forks source link

The terminal process "C:\Users\user\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. #216

Closed backspacestud closed 1 year ago

backspacestud commented 1 year ago

Hi, I have an issue where whenever I build the project it fails and gives me exit code 1. It then lists problems it found and I'm not sure if it is something I can fix on my own at this time, is this a wide spread issue or an individual one? I followed the guide:(https://docs.slimevr.dev/firmware/configuring-project.html) with the only things that I changed being the define.h and hardcoded WIFI (i uncommented and commented these to check and the issue happened no matter what). I have tried on macOS, windows, and linux if that helps anything. Sorry for the sparce amount of info I'm not sure why I'm having this issue now and any help is appreciated, thanks.

image image

unlogisch04 commented 1 year ago

There is a Pull request open https://github.com/SlimeVR/SlimeVR-Docs-Site/pull/213 to fix that problem.

Please add the following at the end of your defines: https://github.com/SlimeVR/SlimeVR-Tracker-ESP/blob/main/src/defines.h#L46-L50

#ifndef IMU_DESC_LIST
#define IMU_DESC_LIST \
        IMU_DESC_ENTRY(IMU,        PRIMARY_IMU_ADDRESS_ONE,   IMU_ROTATION,        PIN_IMU_SCL, PIN_IMU_SDA, PIN_IMU_INT  ) \
        IMU_DESC_ENTRY(SECOND_IMU, SECONDARY_IMU_ADDRESS_TWO, SECOND_IMU_ROTATION, PIN_IMU_SCL, PIN_IMU_SDA, PIN_IMU_INT_2)
#endif
unlogisch04 commented 1 year ago

Mybad i forgot this line: https://github.com/SlimeVR/SlimeVR-Tracker-ESP/blob/main/src/defines.h#L35

#define MAX_IMU_COUNT 2

so in total:

#define MAX_IMU_COUNT 2
#ifndef IMU_DESC_LIST
#define IMU_DESC_LIST \
        IMU_DESC_ENTRY(IMU,        PRIMARY_IMU_ADDRESS_ONE,   IMU_ROTATION,        PIN_IMU_SCL, PIN_IMU_SDA, PIN_IMU_INT  ) \
        IMU_DESC_ENTRY(SECOND_IMU, SECONDARY_IMU_ADDRESS_TWO, SECOND_IMU_ROTATION, PIN_IMU_SCL, PIN_IMU_SDA, PIN_IMU_INT_2)
#endif
backspacestud commented 1 year ago

I didn't see that, thank you so much!

calliePepper commented 1 year ago

Fixed in #213 Thank you for bringing it up!