Skip to content

Conversation

@jeromecoutant
Copy link
Collaborator

Summary of changes

STM part needs often more information in documentation.

I tried to summarize the questions I hear/read.
With this kind of read me file, every one could later update the information.

@MarceloSalazar
@ARMmbed/team-st-mcd

Impact of changes

none

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[x] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


@ladislas
Copy link
Contributor

ladislas commented Jun 2, 2020

This is great! thanks @jeromecoutant

@ciarmcom
Copy link
Member

ciarmcom commented Jun 2, 2020

@jeromecoutant, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

@ciarmcom ciarmcom requested a review from a team June 2, 2020 11:00
https://www.st.com/en/embedded-software/stm32cube-mcu-packages.html

This table summarizes the STM32Cube versions currently used :
There is one STM32Cube package for each individual STM32 MCU serie.
Copy link
Contributor

Choose a reason for hiding this comment

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

serie -> family ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Correct. I think F0, F1, F2... are families, Fx is the serie...

Mbed OS HAL calls ST porting layer, which calls ST HAL and LL API.

Note that all ST HAL and LL files are available:
- you can then develop some applications with direct ST HAL and LL call, even if feature is not supported in mbed-os
Copy link
Contributor

Choose a reason for hiding this comment

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

mbed-os -> Mbed OS everywhere in this doc

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

- BSP for LCD, AUDIO, SENSORS, etc... are not available in mbed-os, but you should be able to use it in your local application.


Each STM32Cube package is also available in GitHub.
Copy link
Contributor

Choose a reason for hiding this comment

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

on Github

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

| L5 | 1.1.0 | https://github.com/STMicroelectronics/STM32CubeL5 |
| WB | 1.4.0 | https://github.com/STMicroelectronics/STM32CubeWB |

In mbed repo, we try to minimize the difference between "official" and copied files.
Copy link
Contributor

Choose a reason for hiding this comment

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

Mbed OS repository

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

- PeripheralPins.c
- PinNames.h

Tip is to use a python script to generate those files
Copy link
Contributor

Choose a reason for hiding this comment

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

Tip is to use a python script to generate those files

Recommended to use a python script to generate these files

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@0xc0170 0xc0170 requested a review from MarceloSalazar June 2, 2020 11:54
Copy link

@MarceloSalazar MarceloSalazar left a comment

Choose a reason for hiding this comment

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

Few minor things to tweak

Copy link
Collaborator Author

@jeromecoutant jeromecoutant left a comment

Choose a reason for hiding this comment

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

Thx for comments

https://www.st.com/en/embedded-software/stm32cube-mcu-packages.html

This table summarizes the STM32Cube versions currently used :
There is one STM32Cube package for each individual STM32 MCU serie.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Correct. I think F0, F1, F2... are families, Fx is the serie...

Mbed OS HAL calls ST porting layer, which calls ST HAL and LL API.

Note that all ST HAL and LL files are available:
- you can then develop some applications with direct ST HAL and LL call, even if feature is not supported in mbed-os
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

- BSP for LCD, AUDIO, SENSORS, etc... are not available in mbed-os, but you should be able to use it in your local application.


Each STM32Cube package is also available in GitHub.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

| L5 | 1.1.0 | https://github.com/STMicroelectronics/STM32CubeL5 |
| WB | 1.4.0 | https://github.com/STMicroelectronics/STM32CubeWB |

In mbed repo, we try to minimize the difference between "official" and copied files.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

- PeripheralPins.c
- PinNames.h

Tip is to use a python script to generate those files
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@mergify mergify bot dismissed MarceloSalazar’s stale review June 8, 2020 08:03

Pull request has been modified.

@mergify mergify bot added needs: CI and removed needs: work labels Jun 9, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Jun 9, 2020

CI started

@0xc0170 0xc0170 added the release-type: patch Indentifies a PR as containing just a patch label Jun 10, 2020
@0xc0170 0xc0170 merged commit 0f2a28d into ARMmbed:master Jun 10, 2020
@mergify mergify bot removed the ready for merge label Jun 10, 2020
@jeromecoutant jeromecoutant deleted the PR_README branch June 10, 2020 09:49
@adbridge adbridge added release-version: 6.1.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants