Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Conversation

@MrPointer
Copy link
Member

A Project-Global model means that some things are sent once per project, and are used eversince without the user's interference.
With this new model users no longer have to deal with board_id paramaters nor CoreLib targets.
This of course defines a new API, creating a slightly different workflow.

This work allows many future improvements to the framework.

Defined the 'board_id' property, associated with targets.
Added check for target's type where interface libraries can be used to use the 'INTERFACE' prefix for the 'BOARD_ID' property in case the target is indeed an interface library.
Moved board-related modules under the `Hardware/Boards` directory.
It omits the need to pass it as an argument to functions or to set it as a target property.
It maintains the concept where a single, unique target exists for each board ID.
Although not mandatory under the circumstances of the framework's 'Examples' root-project, it's required for every project users will use.
It's best to simply add the call rather than hide it and confuse them.
@MrPointer MrPointer force-pushed the feature/project-global-setup branch from 71677ec to 408450f Compare February 25, 2019 18:23
@MrPointer MrPointer merged commit 1cc0681 into master Feb 25, 2019
@MrPointer MrPointer deleted the feature/project-global-setup branch February 25, 2019 19:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants