Skip to content

Conversation

@SuperPrower
Copy link

So, uh... Is making a pull request for the pull request a thing?

I wanted to add some changes to your pull request to the Zephyr upstream to make it more up-to-date. I'll go over them commit by commit.

  1. Setting SOC_FAMILY_NRF by hand in defconfing now produces a compilation error:
error: SOC_FAMILY_NRF (defined at soc/arm/nordic_nrf/Kconfig:6) is assigned in a configuration file, but is not directly user-configurable (has no prompt). It gets its value indirectly from other symbols.

Brief grep showed me that no other board sets it, so I guess it's safe and beneficial to remove it.

  1. According to PineTime wiki entry and some brief googling, max speed at which you can use SPI on nRF52832 is 8MHz. So let's limit peripherals to this clock speed.

  2. Now that Added generic shield for ST7789V display controller zephyrproject-rtos/zephyr#20570 is merged, there is a need for some more configuration for the display in the device tree. There was two example configs in this commit - I took one for 240x240 display, which is our case, and so does https://github.com/najnesnaj/pinetime-zephyr . It seems to work. Though I have no idea what those parameters mean.

Hope that those will help us to get those changes into upstream a bit faster.
Cheers.

@SuperPrower
Copy link
Author

And one more thing - I would argue about naming backlight LED's just 'ledN'. Though it shouldn't matter, for clarity sake I would suggest naming them 'blledN', like in the definition.

@SuperPrower SuperPrower closed this by deleting the head repository May 27, 2025
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.

1 participant