Skip to content

bsp/boards: use const struct for slot_board_vars intialization - #1

Closed
fjmolinas wants to merge 1 commit into
minarady1:develop_FW-866from
fjmolinas:develop_FR-866_struct_init
Closed

bsp/boards: use const struct for slot_board_vars intialization#1
fjmolinas wants to merge 1 commit into
minarady1:develop_FW-866from
fjmolinas:develop_FR-866_struct_init

Conversation

@fjmolinas

Copy link
Copy Markdown

This PR make a working example of the changes proposed in openwsn-berkeley#504 (comment) for iot-lab_M3.

Some advantages:

  • default slot configuration can be provided in bsp/boards/board.h for all configurations, keeps configurations in headers.
  • easily overridden in bsp/<board>/board_info.h when measured per board.
  • slot vars can be initiated anywhere.
  • migration should be easier, just change define names.

@fjmolinas

Copy link
Copy Markdown
Author

Don't think this will get merged. And its outdated now with the branch

@fjmolinas fjmolinas closed this Mar 11, 2021
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