Skip to content

Port STM32L051 or module RHF76-052 #647

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

Merged
merged 21 commits into from
Sep 15, 2019

Conversation

sabas1080
Copy link
Contributor

Hi @fpistm

I'm trying to port the MCU Port STM32L051 or module RHF76-052, but I can't make a blink

Do you have any suggestion?

Thanks!

@sabas1080
Copy link
Contributor Author

work blink, error in ldscript xD

@fpistm
Copy link
Member

fpistm commented Sep 12, 2019

Hi @sabas1080
It seems the module RHF76-052 is based on STM32L052C8T6 not L051?

@fpistm fpistm added the new variant Add support of new bard label Sep 12, 2019
@fpistm fpistm self-requested a review September 12, 2019 07:53
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

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

This is a quick first review.

@sabas1080
Copy link
Contributor Author

Thanks @fpistm is STM32L051C8T6, resolved comments :D

@sabas1080
Copy link
Contributor Author

Hi @fpistm

We have a problem trying to do
digitalRead(PB_10) the program broke and is necessary reset

We code is

pinMode(PB_10,INPUT);
while(digitalRead(PB_10) == LOW){
  delay(100);
}

@fpistm
Copy link
Member

fpistm commented Sep 13, 2019

You need to use the pin number PYn not the pin name PY_n

 pinMode(PB10,INPUT);
 while(digitalRead(PB10) == LOW){
   delay(100);
 }

fpistm and others added 6 commits September 13, 2019 09:29
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
@sabas1080
Copy link
Contributor Author

ready for merge @fpistm all ok

@fpistm fpistm merged commit f695ab4 into stm32duino:master Sep 15, 2019
@fpistm fpistm mentioned this pull request Aug 4, 2020
@sabas1080 sabas1080 deleted the port_stm32l051c8t6 branch June 22, 2021 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new variant Add support of new bard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants