-
Notifications
You must be signed in to change notification settings - Fork 26
Bring platform layer examples #70
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
CI fails because
I see that CI is doing: |
APIs_Platform/FileHandle/main.cpp
Outdated
static DigitalOut led2(LED2); | ||
|
||
// UARTSerial derives from FileHandle | ||
static UARTSerial device(STDIO_UART_TX, STDIO_UART_RX); |
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 think the UARTSerial will be deprecated soon, can you replace it with the new one:
https://github.com/ARMmbed/mbed-os/blob/master/docs/design-documents/drivers/serial/serial.md
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.
Thanks, changed to BufferedSerial
.
|
Hey @mprse, I think I know the problem, it is because your branch is out of date. could rebase your branch to latest master? the CI should just work |
c423bdb
to
ef95dfd
Compare
@jamesbeyond Looks like rebase helped, Thank you! Now I got a problem with |
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
Hi @evedon could you take a look, see if you are happy about these example snippets ? |
Maybe one thing I'd like to advise is adding a simple version of license @mprse
|
I thought that Martin suggested a 2-line copyright header for code snippets. |
Added missing license header. |
Rebased on the master to resolve conflicts. |
do you happy about the changes @evedon |
@@ -0,0 +1,3 @@ | |||
## ScopedRamExecutionLock example |
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.
Should be ScopedRomWriteLock
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.
Fixed
5a150ed
to
a6ee41e
Compare
Rebased on the master. |
71c8f20
to
29b5b88
Compare
29b5b88
to
7587f69
Compare
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.
Looks good!
Bring platform layer examples +readme files.