Help me locate original source of a file that Espressif apparently authored?

outportasomebinary
Posts: 6
Joined: Tue Jun 03, 2025 2:23 pm

Help me locate original source of a file that Espressif apparently authored?

Postby outportasomebinary » Tue Jul 01, 2025 12:33 pm

Hello,

working on building a SBOM for a piece of software. The software uses a MicroPython implementation by the company PyCom.

In their source there is a file called "analog.c", which is credited "Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD".
However, I can not find the original source of this file, as there seems to be no "analog.c" in ESP-IDF (which is what I'd assume that the source is). I've tried looking in both version 3 and version 2.

You can find the file "analog.c" which I am talking about here: https://github.com/pycom/pycom-micropyt ... s/analog.c

Would really appreciate some help to locate this file.

Many thanks

Sprite
Espressif staff
Espressif staff
Posts: 10593
Joined: Thu Nov 26, 2015 4:08 am

Re: Help me locate original source of a file that Espressif apparently authored?

Postby Sprite » Wed Jul 02, 2025 1:31 am

Given the mis-spelling 'temprature_sens_read' in the comments, I'm 99.9% sure this comes from ESP-IDF. However, that repo is 8 years old now, and the version of ESP-IDF it's taken from might be even older, so I'm sure very little of that code remains. You'd have to go dig into the ESP-IDF git history to find the original source (which also is not likely to be called 'analog.c', I'm sure), I'm afraid.

Who is online

Users browsing this forum: Baidu [Spider], ChatGPT-User and 21 guests