Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Unclear how "platform" source files are used in config or build #11

Closed
joelghill opened this issue Feb 4, 2025 · 1 comment
Closed

Comments

@joelghill
Copy link

More of a question than an issue, but I suppose it's related to a lack of documentation. Posting here since this appears to be the most active fork of Pebble OS.

There is a folder called platform with sub folders for each platform Pebble OS was built for. There is board specific code and configuration in these platform directories, but I cannot see how they are linked or included in the configuration or build steps. Are these source files actually used anywhere? Was this the start of a refactoring of the build process?

@WuerfelDev
Copy link

but I cannot see how they are linked or included in the configuration or build steps. Are these source files actually used anywhere? Was this the start of a refactoring of the build process?

They are used for building. I'm not familiar with the build steps yet, but we have references to the platform folder in src/fw/wscript:

https://github.com/pebble-dev/pebble-firmware/blob/main/src/fw/wscript#L380-L396

https://github.com/pebble-dev/pebble-firmware/blob/main/src/fw/wscript#L463-L472 (_build_recovery)

https://github.com/pebble-dev/pebble-firmware/blob/main/src/fw/wscript#L598-L607 (_build_normal)

@pebble-dev pebble-dev locked and limited conversation to collaborators Mar 19, 2025
@Hexxeh Hexxeh converted this issue into discussion #103 Mar 19, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants