Search found 18 matches
- 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: 2180
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/`.
- 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: 2180
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 ...
- 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: 2180
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...
- 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: 2180
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...
- Fri Aug 06, 2021 7:11 pm
- Forum: General Discussion and Questions
- Topic: MICROPY_GIT_TAG and deterministic builds
- Replies: 4
- Views: 2577
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...
- 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: 2300
Re: Full-Time Role: Embedded MicroPython/C Engineer
Just a quick note that we've now filled this role!
Thanks!
Thanks!
- 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: 2300
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...
- Mon Jun 14, 2021 4:00 pm
- Forum: General Discussion and Questions
- Topic: Job Postings Allowed?
- Replies: 2
- Views: 1277
- 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
If not is there a better forum?
Thanks,
Ken
- Sat May 15, 2021 1:24 am
- Forum: General Discussion and Questions
- Topic: MICROPY_GIT_TAG and deterministic builds
- Replies: 4
- Views: 2577