I'm poking at Blinka/PlatformDetect on MicroPython, and hitting some ignorance on using the functions, or perhaps limitations on the available functions. I want to identify my specific board, which I've built a MicroPython firmware for that identifies it on bootup.
MicroPython v1.17-123-g7f1434442 on 2021-11-10; M5Stack STAMP-PICO with ESP32-PICO-D4
But when I use the functions from learn.ada, it only lists the generic platform...
print(detector.chip.id)
ESP32
since the integrated function only responds with ESP32, not the string from the firmware as listed above
>>>import sys
>>>print(sys.platform)
esp32
Is there a better function I could/should use to get it to return either of the strings below:
M5Stack STAMP-PICO with ESP32-PICO-D4