-
Notifications
You must be signed in to change notification settings - Fork 15
Update more stuff to fprime v4.0.0a1 #40
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
Conversation
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.
LGTM, thanks for updating this to F Prime v4.0.0a1. Just a few minor comments.
|
||
PlatformIntType m_pin; | ||
}; | ||
PlatformIntType m_pin; |
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.
We are soon getting rid of PlatformIntType
. Should replace this with int
Fw::Success setDutyCycle_handler(const FwIndexType portNum, /*!< The port number*/ | ||
U8 dutyCycle); | ||
|
||
PlatformIntType m_pin; |
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.
Change to an int
@@ -27,22 +27,21 @@ class LifeLed : public LifeLedComponentBase { | |||
~LifeLed(); | |||
|
|||
//! Set the arduino pin to own | |||
void configure(PlatformIntType pin=Arduino::DEF_LED_BUILTIN); | |||
void configure(PlatformIntType pin = Arduino::DEF_LED_BUILTIN); |
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.
Change to int
void run_handler(NATIVE_INT_TYPE portNum, //!< The port number | ||
NATIVE_UINT_TYPE context //!< The call order | ||
void run_handler(FwIndexType portNum, //!< The port number | ||
U32 context //!< The call order | ||
) override; | ||
U16 m_blink_count; | ||
PlatformIntType m_pin; |
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.
Change to int
I realize this MR is to upgrade-to-fprime-4 and not to main. Can merge this and address the |
Warning
rp2040
builds are now broken becauseCMAKE_EXECUTABLE_SUFFIX
can't append the.elf
extension.See #41