PLATFORM_ID for the Esersies?

Is there a specific PLATFORM_ID for the E0 or is just the Electrons?

Based on my understanding, the E0 is like an electron but with a different form factor and specifications.

The PLATFORM_ID should be the same as an electron. At least that’s what i concluded after checking if there is a new ID.

1 Like

I have some sketches that use conditional compile branches based on PLATFROM_ID and #if (PLATFORM_ID == PLATFORM_ELECTRON_PRODUCTION) works for the E-Series just fine.

Ah interesting: https://github.com/spark/firmware/blob/develop/platform/shared/inc/platforms.h#L36

1 Like

cool

Is PLATFORM_ID == PLATFORM_ELECTRON_PRODUCTION the same as PLATFORM_ID == 10?

Looks like it is from @kennethlimcp reference

Yup!