Skip to content

Initial BLE support for SF32LB52#59

Merged
gmarull merged 12 commits intocoredevices:mainfrom
teslabs:ble-sifli
Jun 19, 2025
Merged

Initial BLE support for SF32LB52#59
gmarull merged 12 commits intocoredevices:mainfrom
teslabs:ble-sifli

Conversation

@gmarull
Copy link
Member

@gmarull gmarull commented Jun 19, 2025

Based on #7

gmarull added 6 commits June 19, 2025 12:14
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
We just need the last 1K of RAM, but, because of MPU scripts assume
ARMv7 MPU limitations (e.g. subregions), we need to sacrifice 32K now.
This needs to be fixed.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: ganghe <ganghe@sifli.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Copy link
Member Author

@gmarull gmarull left a comment

Choose a reason for hiding this comment

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

@gangheivt another question: https://github.com/coredevices/pebbleos-nonfree/blob/f94ae4d4b4d7d2c49a6912b6e77968bf15e5ed48/sf32lb52/lcpu_52x.c#L326-L422 contains the blob but also logic that should not be ther. Or, settings for LRC10K which may not always be desirable. This needs to be fixed after this PR.

@gangheivt
Copy link

@gangheivt another question: https://github.com/coredevices/pebbleos-nonfree/blob/f94ae4d4b4d7d2c49a6912b6e77968bf15e5ed48/sf32lb52/lcpu_52x.c#L326-L422 contains the blob but also logic that should not be ther. Or, settings for LRC10K which may not always be desirable. This needs to be fixed after this PR.

Got it.

gmarull added 6 commits June 19, 2025 15:30
Signed-off-by: ganghe <ganghe@sifli.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: ganghe <ganghe@sifli.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Otherwise some configurations were not applied correctly due to
some env races.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
@gmarull gmarull merged commit 69d8cca into coredevices:main Jun 19, 2025
16 checks passed
@gmarull gmarull deleted the ble-sifli branch June 19, 2025 13:37
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