Skip to content
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

Add STM32L1xx platform #21

Conversation

yn386
Copy link
Contributor

@yn386 yn386 commented Aug 30, 2022

I tried to port micropython to NUCLEO-L152RE and it works.
So I would like to add STM32L1 platform.

I got source https://github.com/STMicroelectronics/STM32CubeL1
using fetch_from_upstream.sh. Platform version is v1.10.3.

When USE_HAL_DRIVER is defined, assert_param is defined by
stm32xx_hal_conf.h but stm32l1xx_ll_utils.c always define
assert_param if USE_FULL_ASSERT is not defined.

This change adds checking whether USE_HAL_DRIVER is defined.
@yn386 yn386 changed the base branch from vendor to work-F0-1.9.0+F4-1.16.0+F7-1.7.0+G0-1.5.1+G4-1.3.0+H7-1.6.0+L0-1.11.2+L4-1.17.0+WB-1.10.0+WL-1.1.0 September 19, 2022 08:40
@dpgeorge
Copy link
Member

Thanks for the contribution. The import of the L1 Cube HAL files was merged in 3adfa54

The L1 HAL utils fix was merged on branch work-F0-1.9.0+F4-1.16.0+F7-1.7.0+G0-1.5.1+G4-1.3.0+H7-1.6.0+L0-1.11.2+L1-1.10.3+L4-1.17.0+WB-1.10.0+WL-1.1.0 in commit a9f8fee

@dpgeorge dpgeorge closed this Sep 23, 2022
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