-
Notifications
You must be signed in to change notification settings - Fork 0
migrated servo_board_config.h into components and respective individual #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zanderdo
wants to merge
2
commits into
true_monorepo
Choose a base branch
from
config_file_changes
base: true_monorepo
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* | ||
| * heater_config.h | ||
| * | ||
| * Created on: Mar 5, 2025 | ||
| * Author: zande | ||
| */ | ||
|
|
||
| #ifndef INC_COREUTILS_CONFIG_HEATER_CONFIG_H_ | ||
| #define INC_COREUTILS_CONFIG_HEATER_CONFIG_H_ | ||
|
|
||
| #include <string.h> | ||
|
|
||
| struct Heater; | ||
|
|
||
| typedef struct { | ||
| uint32_t uid[3]; | ||
| char* pnid; | ||
| int off_temp; | ||
| int on_temp; | ||
| uint16_t frequency; | ||
| } HeaterConfig; | ||
|
|
||
| #endif /* INC_COREUTILS_CONFIG_HEATER_CONFIG_H_ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /* | ||
| * servo_config.h | ||
| * | ||
| * Created on: Mar 5, 2025 | ||
| * Author: zande | ||
| */ | ||
|
|
||
| #ifndef INC_COREUTILS_CONFIG_SERVO_CONFIG_H_ | ||
| #define INC_COREUTILS_CONFIG_SERVO_CONFIG_H_ | ||
|
|
||
| #include <string.h> | ||
|
|
||
| struct Servo; | ||
| typedef struct { | ||
| uint32_t uid[3]; | ||
| char* pnid; | ||
| int closed_deg; | ||
| int open_deg; | ||
| uint16_t frequency; | ||
| } ServoConfig; | ||
|
|
||
|
|
||
|
|
||
| #endif /* INC_COREUTILS_CONFIG_SERVO_CONFIG_H_ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /* | ||
| * thermo_config.h | ||
| * | ||
| * Created on: Mar 5, 2025 | ||
| * Author: zande | ||
| */ | ||
|
|
||
| #ifndef INC_COREUTILS_CONFIG_THERMO_CONFIG_H_ | ||
| #define INC_COREUTILS_CONFIG_THERMO_CONFIG_H_ | ||
|
|
||
| #include <string.h> | ||
|
|
||
| struct Thermocouple; | ||
|
|
||
| typedef struct { | ||
| uint32_t uid[3]; | ||
| char* pnid; | ||
| uint16_t frequency; | ||
| } ThermoConfig; | ||
|
|
||
| #endif /* INC_COREUTILS_CONFIG_THERMO_CONFIG_H_ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Firmware/new-member-projects/Alex_D/blink/.settings/stm32cubeide.project.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| 635E684B79701B039C64EA45C3F84D30=4EFB57242C66A2F320AB8CC1075F7759 | ||
| 66BE74F758C12D739921AEA421D593D3=0 | ||
| 8DF89ED150041C4CBC7CB9A9CAA90856=02E468D49D9197516C55386B2F5F5AD4 | ||
| DC22A860405A8BF2F2C095E5B6529F12=02E468D49D9197516C55386B2F5F5AD4 | ||
| 8DF89ED150041C4CBC7CB9A9CAA90856=E8737F6BA2D4416BB504CBFF6ED8C87B | ||
| DC22A860405A8BF2F2C095E5B6529F12=B32CCF4515B1C1B76DEFC2D331E6E6E5 | ||
| eclipse.preferences.version=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Firmware/new-member-projects/Alex_D/receiver/.settings/stm32cubeide.project.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| 635E684B79701B039C64EA45C3F84D30=4EFB57242C66A2F320AB8CC1075F7759 | ||
| 66BE74F758C12D739921AEA421D593D3=1 | ||
| 8DF89ED150041C4CBC7CB9A9CAA90856=02E468D49D9197516C55386B2F5F5AD4 | ||
| DC22A860405A8BF2F2C095E5B6529F12=02E468D49D9197516C55386B2F5F5AD4 | ||
| 8DF89ED150041C4CBC7CB9A9CAA90856=E8737F6BA2D4416BB504CBFF6ED8C87B | ||
| DC22A860405A8BF2F2C095E5B6529F12=491B207B673993633E9038E1847C4B18 | ||
| eclipse.preferences.version=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Firmware/new-member-projects/Alex_D/transmit/.settings/stm32cubeide.project.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| 635E684B79701B039C64EA45C3F84D30=4EFB57242C66A2F320AB8CC1075F7759 | ||
| 66BE74F758C12D739921AEA421D593D3=3 | ||
| 8DF89ED150041C4CBC7CB9A9CAA90856=02E468D49D9197516C55386B2F5F5AD4 | ||
| DC22A860405A8BF2F2C095E5B6529F12=02E468D49D9197516C55386B2F5F5AD4 | ||
| 8DF89ED150041C4CBC7CB9A9CAA90856=E8737F6BA2D4416BB504CBFF6ED8C87B | ||
| DC22A860405A8BF2F2C095E5B6529F12=255D3BFE38ED43ED65B478BDFEDE4991 | ||
| eclipse.preferences.version=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can you access the individual sensors based on the ID and instance number without these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reckon you can also move all of the functions from this file into the other ones, like servo_config.h for instance.