Merged
Conversation
50e72d4 to
5875852
Compare
4100ba9 to
334f349
Compare
f7efcd6 to
55ac7aa
Compare
b62ca09 to
90e5160
Compare
Note that certain settings do not reflect reality yet. They will be updated as support improves. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Right now build system expects OpenOCD to always be available. This needs to be fixed: OpenOCD is not the only programming tool in this world! Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
SF32LB52x has an ARM Cortex STAR-MC1 CPU. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
They are inherited from Asterix for now. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
f5ad101 to
3d450df
Compare
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
3d450df to
cdf394f
Compare
Similar to some STM32 families, assume CM4F for now. This allows us to boot. The FreeRTOS port needs a bit of love. 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>
Add stubs for non-implemented drivers, so that we can still build and run on SF32LB52 platforms. 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>
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>
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>
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>
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>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Because we're still pretending to be like asterix. 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>
As of today, SF32LB needs to run clock configuration at a very early stage, otherwise things like SystemCoreClock (used by FreeRTOS to configure the correct Systick rate), will be wrong and lead to all sorts of weird behaviors. I think it should not affect other platforms, only some seem to configure SPI slave for FPGA at that step. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
cdf394f to
b9d6d0b
Compare
Adjust MPU driver so that it is kind of functional on ARMv8 MPU. However, memory layout code relies on implementation details of the ARMv7 MPU which are not available, so the code actually needs lots of love to find a better solution to this mess. Also, SF32LB has some extra MPU requirements that need more adjustments. Summarizing, MPU is enabled but in SiFli HAL glue code (system_bf0_ap.c), but obviously not respecting any of the original PebbleOS memory layouts (e.g. all RAM is RWX by anyone). Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
c12b6de to
47900e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.