Skip to content

Commit

Permalink
Enabled simplemotion for F407_DISCO
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Jan 24, 2023
1 parent d436f91 commit 9b9bfcc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### Changes this version:
- Added part of unique serial number to usb interface names for easier identification of multiple devices
- Enabled Simplemotion for F407_DISCO build

### Changes in 1.12.x:
- Added support for Simplemotion V2 (Ioni/Argon motor drivers)
1 change: 1 addition & 0 deletions Firmware/Targets/F407VG_DISCO/Core/Inc/target_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#define CANBUTTONS // Requires CAN
#define CANANALOG // Requires CAN
#define ADS111XANALOG // Requires I2C
#define SIMPLEMOTION

//#define UARTCOMMANDS

Expand Down
5 changes: 5 additions & 0 deletions Firmware/Targets/F407VG_DISCO/Core/Src/cpp_target_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ extern I2C_HandleTypeDef I2C_PORT;
I2CPort i2cport{I2C_PORT};
#endif

#ifdef GPIO_MOTOR
const OutputPin gpMotor{*DRV_GP1_GPIO_Port,DRV_GP1_Pin};
#endif


#ifdef CANBUS
/*
* Can BTR register for different speed configs
Expand Down

0 comments on commit 9b9bfcc

Please sign in to comment.