Skip to content

Add arduino frameworks support for nucleo_wl55jc #553

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

dolfandringa
Copy link

This PR fixes issue #552 . It depends on stm32duino/Arduino_Core_STM32#1474 to be merged and included in version 2.1.0 release of Arduino Core STM32. With local forks of that PR and this PR a basic blink sketch compiles, uploads and debugs correctly using the following plaformio.ini and src/main.cpp

[env:stm32wl55]
platform = ststm32
board = nucleo_wl55jc
framework = arduino
#include <Arduino.h>

void setup() {
    pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
    digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
    delay(1000);

}

@dolfandringa
Copy link
Author

dolfandringa commented Aug 16, 2021

I did arbitrarily change the version number to 4.3, just because I needed to make sure it was higher.

@dolfandringa
Copy link
Author

If anyone needs it, here is the full debug compile of the sketch:
output.txt

@valeros
Copy link
Member

valeros commented Aug 16, 2021

Please review my comments above.

@dolfandringa
Copy link
Author

Addressed the comments

@valeros valeros closed this in b35666c Oct 28, 2021
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