Skip to content

Sync with pebble main branch #144

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

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open

Conversation

gangheivt
Copy link

No description provided.

@Hexxeh Hexxeh requested review from gmarull and Hexxeh April 7, 2025 09:52
Copy link
Collaborator

@Hexxeh Hexxeh left a comment

Choose a reason for hiding this comment

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

It is pretty difficult to effectively review a 4,000 line PR, could you split this into multiple PRs where the commits have messages that clearly define what is being added/changed (ie, most of them should probably mention sifli as a commit message prefix.

I also think you may not want to name your board after the HW platform, in the same way snowy is not called stm32f4 and asterix is not called nrf52.

It'd also be great to understand as context what boards/devices you're intending to use this for, if you can share this.

HalfSweet and others added 28 commits April 9, 2025 16:39
This allows NimBLE to always use the same, randomly generated, IRK if
RPA is ever used. LTK generation is not supported, this way, NimBLE will
generate a random LTK every time, not based on any root key.

Note that ble_root_keys_get_and_generate_if_needed is not called when
using NimBLE because the entropy source we use is the controller one
(via ble_hs_hci_rand), so it can't be accessed before the
host/controller are running.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
This is now handled by the BLE stack, also using the controller as a
source of entropy.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
So that CI is happy.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Note that some drivers are still stubs (added FIXME comments). Some
PebbleOS abstractions likely need a rethink, as they are STM32-biased.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Signed-off-by: Gerard Marull-Paretas <[email protected]>
Asterix uses GD25LQ255E.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
File is never compiled for nRF.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(single/dual/quad op codes). Also rename page_program to pp for
consistency with the new additions.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
So that CI is happy when doing changes.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Signed-off-by: Gerard Marull-Paretas <[email protected]>
So CI is happy.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
So CI is happy.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
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.

5 participants