boards: Add two KW41Z-based boards#9934
Conversation
| #define XTIMER_OVERHEAD (4) | ||
| #define XTIMER_HZ (32768ul) | ||
| #endif | ||
| /** @} */ |
There was a problem hiding this comment.
@gebart If I understand the KW41Z and xtimer correctly, the XTIMER_* defines should be the same for all KW41Z-based boards, right? If true, this should probably also be moved to common/kw41z, right? Is there some convention on how to do this?
f7fe147 to
bf39b30
Compare
|
It does not make sense to share the periph_conf.h and adc_params.h between different boards unless they are completely pin compatible. But if they are so similar it doesn't make any sense to have a separate configuration at all. Are they identical to the frdm-kw41z in the schematic? If they are, why do you need a separate board config to begin with? |
|
While the boards indeed are similar, they are not the same. The schematics are obviously not the same... e.g. the FRDM-KW41Z has on-board peripherals like the flash chip and the accelerometer and more LEDs. It also uses a different CPU and a different I too was unsure if two new board configurations are actually needed, but I couldn't think of any viable alternatives. What would you propose? |
smlng
left a comment
There was a problem hiding this comment.
IIRC we do not merge unavailable (ie. cannot buy (anymore)) boards into master. Hence, I'd suggest to make a PR for the open labs mini only and maintain your custom board in you own fork/branch.
In general one PR per board is a good rule, even if they share lots of stuff. And with respect to this PR: we do have the open labs here for testing, and are keen on getting this into RIOT. For the other: not possible for obvious reasons 😉
|
I just tried out the Did networking work well for you? |
|
Oh and I also had to add this to To be honest I'm not sure where would best put this, though. Mostly putting it here so I don't forget :D |
|
Looks like this PR was missed when usb-kw41z and phynode-kw41z were recently added. @pyropeter would mind split this PR: one introducing a common place for kw41z based boards (the most important!), one adding support for the kw41z-mini ? |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
Contribution description
This PR refactors the FRDM-KW41Z boards support to allow for code sharing with other KW41Z-based boards and then adds two of them:
The first board is commercially available (for now, at least) and the second one is completely unpublished at the moment. We finished producing the first 15 prototype boards by hand yesterday and we will now look into commercial manufacture (and acquiring funds). We are aiming to publish our KICAD source files under a permissive license. I would not be insulted if the limited availability of the boards was reason to reject (parts of) this pull request.
This is the first time I introduced a
boards/commondirectory, so I probably made some errors.TODO