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
Unable to drive RGB LED on WIZWIKI W7500 and W7500P's through DigitalOut Interface #8203
Comments
Adding @andrewc-arm |
@khj098765, |
@andrewc-arm @naveenkaje |
the online compiler uses ARMCC (default profile) plus also prebuilt binary , therefore might be something there related. How did you test locally @khj098765 ? |
@0xc0170 Both online and local compiled with ARMCC. The bin files run differently even though you have compiled the same source code. |
Internal Jira reference: https://jira.arm.com/browse/IOTDEV-1651 |
@khj098765 @andrewc-arm |
@naveenkaje |
The issue seems to be particular to the online compiler. When a project is created on CLI from scratch, it compiles and works as expected. But on the online compiler built version does not work. I created the project on online compile and then imported it to the CLI. It doesn't really seem to build. It reports successful build in 14 seconds which is suspicious.
|
@naveenkaje That's an mbed 2 project, so of course it builds quickly. |
@theotherjimmy thanks for pointing that out. I think the issue is that the default templates that is offered on online compiler for Wizwiki are all mbed os 2 based. See attached screenshort. @khj098765 : Do you need to use mbed os 2 or can you be based off of mbed-os 5.x? It seems like by default, the online compiler is picking mbed 2 for your project. If you move to mbed-os 5, the program works as expected. To use mbed os 5, create a blinky program for a board like K64F and then change the target to choose Wizwiki W7500. I know it is not the ideal way to create a program, but we have some limitation w.r.t project templates for WizWiki that we are trying to fix. I have tried this method and the blinky program works as expected on Wizwiki W7500 with mbed-os.5 based build. Do you have any requirements on which OS you need to have? Here is a document about mbed 2 and mbed os 5. https://os.mbed.com/docs/latest/introduction/mbed-os-2-and-mbed-os-5.html |
Closing as target won't be supported in Mbed OS 6 - #12775 |
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. |
Description
WIZWIKI W7500 and W7500P's RGB LED D1 does not turn on as expected with a simple program.
This issue was raised by a user on questions
WIZWIKI W7500 Target Page
Schematic
Issue request type
[ ] Question
[ ] Enhancement
[x ] Bug
The text was updated successfully, but these errors were encountered: