Closed backspacestud closed 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
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
I didn't see that, thank you so much!
Fixed in #213 Thank you for bringing it up!
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.