platform-nordicnrf52 icon indicating copy to clipboard operation
platform-nordicnrf52 copied to clipboard

Renamed Makerdiary board files, added usb dongle support

Open 424778940z opened this issue 5 years ago • 7 comments

As title says.

Renamed those two Makerdiary board files since we are referring calling other board by their maker and name (e.g. Adafruit boards). Didn't plan to change board name under Zephyr since they are kind of consistent. Instead, added variant for Zephyr for them to work.

Also created PR on Zephyr for the dongle support. https://github.com/zephyrproject-rtos/zephyr/pull/31202

Tested, works fine.

424778940z avatar Jan 09 '21 03:01 424778940z

I think you changed the line endings because the diff is whole file. Makes it harder to identify what changed. Just an FYI.

cujomalainey avatar Jan 09 '21 22:01 cujomalainey

I think you changed the line endings because the diff is whole file. Makes it harder to identify what changed. Just an FYI.

As I stated, two existing board file name has been changed, and yes it is on purpose. boards/nrf52840_mdk.json → boards/makerdiary_nrf52840_mdk.json boards/nrf52832_mdk.json → boards/makerdiary_nrf52832_mdk.json The reason explained in the original post, added maker to the file name instead of calling everything nrf528xx_xxx. We also have board files like following, which named as maker_model/nickname.json, Makerdairy should follow the same way. 96b_nitrogen.json adafruit_clue_nrf52840.json redbear_blenano2.json thingy_52.json

About the line ending, I edited it under notepad++, only added variant for those two existing Makerdairy board. I will double check on that.

424778940z avatar Jan 09 '21 22:01 424778940z

Hummm strange, they were on Windows style line ending, which I never change it to, maybe Notepad++ get too "smart". But they are fixed now lol.

424778940z avatar Jan 09 '21 23:01 424778940z

Thanks for the PR. It doesn't seem like a good idea to rename boards that already has been released. As for the dongle board, it will be merged once a new Zephyr version is published.

valeros avatar Jan 12 '21 14:01 valeros

@valeros Zephyr now have the dongle support files, I matched the name, could merge this PR? Also I still suggest keep board names consistent and convert old name as some kind of alias.

424778940z avatar Jun 12 '22 15:06 424778940z

hummm, seems we are still using zephyr 2.7.1, which do not have the nrf52840_mdk_usb_dongle board. Could we move to newer version?

424778940z avatar Jun 12 '22 16:06 424778940z

what's blocking this PR? i have this device too, using platformio for it would be great.

mischief avatar May 29 '23 08:05 mischief