Closed nitz closed 4 years ago
Something like that, that I pushed in 75c8999?
I'm not thrilled with those variable names, but they are at least somewhat descriptive. 🙃
Okay, this is good to go as soon as we can resolve the VID/PID bit. I'm unsure what the standard is for boards that don't have "valid" (is that the right word?) IDs.
@nitz We got a range of PIDs from Seeed Studio. We can use 0x2886:0xf00f
for this M2 module.
@nitz We got a range of PIDs from Seeed Studio. We can use
0x2886:0xf00f
for this M2 module.
Awesome, thank you, @xiongyihui! I plan to add your Pitaya Go board in the future, too. I saw you're still using the Nordic VID/PID in circuitpython. Any chance you had a pair of PIDs you wanted to give to that board as well?
@hathach This one should be good to go!
@nitz For the bootloader of Pitaya Go, we can use 0x2886:0xf00e
. Nordic allows small vendors to use its VID and PIDs . The issue is that one PID may be used by two or more products, which may cause windows driver problem.
@nitz For the bootloader of Pitaya Go, we can use
0x2886:0xf00e
. Nordic allows small vendors to use its VID and PIDs . The issue is that one PID may be used by two or more products, which may cause windows driver problem.
Excellent, will do! Thank you @xiongyihui
Currently, board.mk has CFLAGS additions attempting to undefine
CONFIG_NFCT_PINS_AS_GPIOS
andSOFTDEVICE_PRESENT
. Those flags, when used on this board prevent the use of the NFCT, as per #150.As the PR currently stands, those CFLAGS additions don't work to correctly undefine the symbols, as the board.mk is included ahead of the default CFLAGS being set.
Perhaps we could use another flag similar to how
MCU_SUB_VARIANT
is handled, something likeUSES_NFCT
, andNO_SOFTDEVICE
to prevent those definitions, allowing the individual boards to skip those at will?