Does the P1 use the same USB driver as the Photon?
They have different PID/VID but will still work but identified as a Photon using the same driver. There can be a separated set of driver for the P1 as well.
ifeq ($(included_productid_mk),)
included_productid_mk := 1
# defines
# PLATFORM_NAME - a unique name for the platform, can be used to organise sources
# by platform
# PLATFORM_MCU - an identifier for the MCU family
# PLATFORM_NET - the network subsystem
# STM32_DEVICE - the specific device being targeted for STM32 platform builds
# ARCH - architecture (ARM/GCC)
# PRODUCT_DESC - text description of the product ID
# PLATFORM_DYNALIB_MODULES - if the device supports a modular build, the name
# - of the subdirectory containing
# Default USB Device Vendor ID for Spark Products
USBD_VID_SPARK=0x1D50
# Default USB Device Product ID for DFU Class
USBD_PID_DFU=0x607F
# Default USB Device Product ID for CDC Class
USBD_PID_CDC=0x607D
This file has been truncated. show original