Search found 4 matches
- Wed Oct 09, 2019 9:52 am
- Forum: Other Boards
- Topic: Loding microPython onto Adafruit Feather M0 Adalogger
- Replies: 1
- Views: 1930
Loding microPython onto Adafruit Feather M0 Adalogger
Hi everyone, i am trying to load microPython onto the Feater M0 Adlogger board. I followed the instructions in this video/ guide: https://learn.adafruit.com/micropython- ... 1/overview I downloaded the recent firmware and bossac-1.7 from the GitHub when I try to use ./bossac -e -w -v -R -p tty.usbmo...
- Wed Oct 09, 2019 9:51 am
- Forum: General Discussion and Questions
- Topic: How to properly feed lexer from file?
- Replies: 1
- Views: 1527
How to properly feed lexer from file?
Hi, on my nrf52832 we have a tiny littlefs file system of 100kB size. My goal is to upload python files and execute them using CODE: SELECT ALL execfile('uploaded.py') Therefore I figured out I need to implement mp_lexer_new_from_file(const char* filename) function. But: since I have constrained RAM...
- Wed Oct 09, 2019 9:39 am
- Forum: General Discussion and Questions
- Topic: How does Micropython avoid double precision issues?
- Replies: 2
- Views: 2189
How does Micropython avoid double precision issues?
After implementing doubles, I wanted to test double equality. But to my surprise, 0.1+0.2==0.3 returns True instead of False, although on my PC, Python3 does return False. I also tried 0.1+0.2-0.3, which returns 5.551115123125783e-17 on my PC, but 0.0 on Micropython. I thought avoiding double precis...
- Wed Oct 09, 2019 9:38 am
- Forum: General Discussion and Questions
- Topic: large file support for 32-bit Embedded Linux - seek fails after 2GB
- Replies: 4
- Views: 2568
large file support for 32-bit Embedded Linux - seek fails after 2GB
I recently ran into a problem where the .seek() fails after 2147483647 (2GB) on Micropython 1.9.4 cross compiled for ARM intended for 32-bit embedded Linux. Script was tested using qemu-arm -cpu any The file / hard drive addresses I have to access become bigger than the seek can handle and result in...