Menu

DRVBRD_DRV8825_STRIPBRD not defined on firmware file

2024-06-18
2024-07-06
  • Brannon reed

    Brannon reed - 2024-06-18

    Was having issues selecting #define DRVBRD_DRV8825_STRIPBRD 2 from the myrotator_config.h.

    Kept getting the error: #error "No driver board defined. You must define EITHER DRV8825 or ULN2003 or L298N in myrotator_config.h"
    ^~~~~
    exit status 1

    Compilation error: #error "No driver board defined. You must define EITHER DRV8825 or ULN2003 or L298N in myrotator_config.h"

    Noticed that the firmware file only had DRVBRD_DRV8825 defined and not DRVBRD_DRV8825_STRIPBRD. I made the change to the firmware file and no more error. Im very new to coding so not positive this was what needed to be done or not. Can someone confirm?

       #if defined(DRVBRD_DRV8825) || defined(DRVBRD_DRV8825_STRIPBRD)
       DriverType DriverBoardType = DRIVERTYPEDRV8825;
       const char *FirmwareName = "myRotator-DRV8825";
    
     
    • brownrb

      brownrb - 2024-07-06

      Hi Brannon
      I have a revised version that addresses your issue. If you would like to test that, please send me an email to my gmail address. (pg 1 of user guide)

      regards
      Robert

       
  • brownrb

    brownrb - 2024-07-03

    Thanks for the report on the error. Makes my job easier. I will take a look

    Regards
    Robert.

     

Log in to post a comment.