Skip to content

[#730] Basic Nucleo WB55RG Support#741

Open
toastbucket wants to merge 2 commits intorenode:masterfrom
toastbucket:730-stm32wb55_support
Open

[#730] Basic Nucleo WB55RG Support#741
toastbucket wants to merge 2 commits intorenode:masterfrom
toastbucket:730-stm32wb55_support

Conversation

@toastbucket
Copy link
Copy Markdown

@toastbucket toastbucket commented Feb 5, 2025

This adds enough basic support to run the Zephyr basic blinky for the Nucleo WB55RG. Includes:

  • STM32WB55RG repl file with base peripherals
  • Nucleo WB55RG repl file
  • Nucleo WB55RG resc file
  • Nucleo WB55RG robot file

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 5, 2025

CLA assistant check
All committers have signed the CLA.

@toastbucket toastbucket force-pushed the 730-stm32wb55_support branch 2 times, most recently from 02a2fab to da4f56a Compare February 7, 2025 22:36
@toastbucket toastbucket force-pushed the 730-stm32wb55_support branch from da4f56a to 4523f88 Compare February 7, 2025 22:49
@toastbucket toastbucket force-pushed the 730-stm32wb55_support branch from 4523f88 to 576b37c Compare February 7, 2025 22:54
Copy link
Copy Markdown

@AlexFabre AlexFabre left a comment

Choose a reason for hiding this comment

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

One nitpick


showAnalyzer usart1

$bin ?= "/home/nelsmore/projects/personal/sandbox/renode-sandbox/nucleo_fw/build/zephyr/zephyr.elf"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You have a personal path here, can you provide a downloadable elf ?

ex in stm32f103.resc

$bin?=@https://dl.antmicro.com/projects/renode/zephyr-stm32f103-button.elf-s_276760-1bf32c99bbb3c01d81e13ca68118eaf08b2a815f

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hey Alex, thanks for checking in on this. I have actually had some offline communication with AntMicro where they indicated I can just push placeholder filenames in the .resc file for now and they will add them to their CI and replace with the appropriate URL. This is because this is an unmodified Zephyr sample for the Nucleo WB55RG board (basic blinky). I believe this replacement just has not happened yet.

Comment on lines +13 to +18
rcc: Miscellaneous.STM32WBx5_RCC @ sysbus 0x58000000
nvic: nvic

pwr: Miscellaneous.STM32WBx5_PWR @ sysbus 0x58000400

hsem: Miscellaneous.STM32WBx5_HardwareSemaphore @ sysbus 0x58001400
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi, I tried to load this CPU, but when I do I get the following error:

There was an error executing command 'machine LoadPlatformDescription @/home/john/code/stm32/stm32-wb55rg-example/res/renode/platforms/boards/nucleo_wb55rg.repl'
Error E04: Could not resolve type: 'Miscellaneous.STM32WBx5_RCC'.
At /home/john/code/stm32/stm32-wb55rg-example/res/renode/platforms/cpus/stm32wb55rg.repl:13:6:
rcc: Miscellaneous.STM32WBx5_RCC @ sysbus 0x58000000
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please excuse me, I hadn't yet found the accompanying patch in renode-infrastructure!

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.

4 participants