Skip to content

Added simple blinky unit test to mbed framework#21

Open
krish2487 wants to merge 4 commits into
platformio:developfrom
krish2487:mbed-unittest
Open

Added simple blinky unit test to mbed framework#21
krish2487 wants to merge 4 commits into
platformio:developfrom
krish2487:mbed-unittest

Conversation

@krish2487
Copy link
Copy Markdown

@krish2487 krish2487 commented Nov 9, 2016

Added a unit test example for mbd framework. led blink on PC_13.
The example used the gdb protocol and a Blackmagic probe for uploading the firmware, but a St-link should work fine too.

Copy link
Copy Markdown
Member

@ivankravets ivankravets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove .DS_Store

board = bluepill_f103c8
framework = mbed
upload_protocol = gdb
test_port = /dev/cu.usbmodemBFDEA5F3
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What to do with this port? I'm not sure that each bluepill_f103c8 board has "2 Serial Ports"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ll comment about the test_port and push again.
and explain about the st-link

@ivankravets
Copy link
Copy Markdown
Member

ivankravets commented Nov 9, 2016

Do you have some other ST STM32 boards? I think we can extend this example.

@krish2487
Copy link
Copy Markdown
Author

I have a Disco-F030R8 board.
I ll give it a try and post my results.
I think the mbed framework supports that processor too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants