Search found 18 matches

by MindJuice
Sat May 21, 2022 5:57 am
Forum: General Discussion and Questions
Topic: listdir function not included in os module for Unix build
Replies: 6
Views: 2178

Re: listdir function not included in os module for Unix build

It is a Linux PC, but there is no dev variant for the simulator. The way the original developer setup the makefiles is a bit weird and not the standard way MP does it. There is a `simulator/variant/simulator` folder which is used, rather than `ports/unix/variants/dev/`.
by MindJuice
Sat May 21, 2022 4:00 am
Forum: General Discussion and Questions
Topic: listdir function not included in os module for Unix build
Replies: 6
Views: 2178

Re: listdir function not included in os module for Unix build

There are plenty of modules not defined in the standard unix build. Do `make VARIANT=dev` instead to build micropython-dev which includes everything. Don't know why it is like this, just stumbled on it myself a few months ago. Thanks for the suggestion. My simulator doesn't have the dev variant. I ...
by MindJuice
Sat May 21, 2022 3:59 am
Forum: General Discussion and Questions
Topic: listdir function not included in os module for Unix build
Replies: 6
Views: 2178

Re: listdir function not included in os module for Unix build

I don't like doing this, but I've used ilistdir() in the interest of time, which does exist. Would be nice to undersand why listdir is missing though. Thanks aivarannamaa for the suggestion. Funnily enough, it looks like I forgot having the same issue a while back, as I found another place where I u...
by MindJuice
Fri May 20, 2022 6:36 am
Forum: General Discussion and Questions
Topic: listdir function not included in os module for Unix build
Replies: 6
Views: 2178

listdir function not included in os module for Unix build

I'm using os.listdir() and it's working just fine in my STM32 build, but it's not defined for some reason in the Unix build for my simulator. My code is essentially the following: import os for fn in os.listdir('/sd/'): # Some code here pass This is the error that occurs: ArtributeError: 'module' ob...
by MindJuice
Fri Aug 06, 2021 7:11 pm
Forum: General Discussion and Questions
Topic: MICROPY_GIT_TAG and deterministic builds
Replies: 4
Views: 2575

Re: MICROPY_GIT_TAG and deterministic builds

To follow up on the deterministic builds topic, we ran into one more area of non-determinism in the MicroPython build. Previously I was the only one building the code, but now there are two of us working on it, and we were getting different binaries when building identical source trees. The issue tu...
by MindJuice
Tue Jul 06, 2021 3:29 am
Forum: General Discussion and Questions
Topic: Full-Time Role: Embedded MicroPython/C Engineer [POSITION FILLED]
Replies: 1
Views: 2299

Re: Full-Time Role: Embedded MicroPython/C Engineer

Just a quick note that we've now filled this role!

Thanks!
by MindJuice
Mon Jun 14, 2021 4:05 pm
Forum: General Discussion and Questions
Topic: Full-Time Role: Embedded MicroPython/C Engineer [POSITION FILLED]
Replies: 1
Views: 2299

Full-Time Role: Embedded MicroPython/C Engineer [POSITION FILLED]

https://angel.co/company/foundationdevices/jobs/1436752-embedded-micropython-c-engineer Do you believe in sovereignty, privacy, and freedom? Do you want to help Bitcoin and the decentralized Internet achieve widespread adoption? At Foundation Devices, we are building the open hardware foundation for...
by MindJuice
Mon Jun 14, 2021 4:00 pm
Forum: General Discussion and Questions
Topic: Job Postings Allowed?
Replies: 2
Views: 1277

Re: Job Postings Allowed?

Thanks Peter!
by MindJuice
Sun Jun 13, 2021 11:00 pm
Forum: General Discussion and Questions
Topic: Job Postings Allowed?
Replies: 2
Views: 1277

Job Postings Allowed?

Are MicroPython-specific job postings allowed here (full-time position, not contract)?

If not is there a better forum?

Thanks,

Ken
by MindJuice
Sat May 15, 2021 1:24 am
Forum: General Discussion and Questions
Topic: MICROPY_GIT_TAG and deterministic builds
Replies: 4
Views: 2575

Re: MICROPY_GIT_TAG and deterministic builds

Thanks for the info!