Search found 9 matches
- Sat Aug 15, 2020 2:58 pm
- Forum: General Discussion and Questions
- Topic: Lacking support for multiple spi devices on the same bus
- Replies: 2
- Views: 1984
Lacking support for multiple spi devices on the same bus
Important: The platform Im working on is the Doit esp32 devkit v1. Iv'e come from a c++/Arduino background where if I want to use multiple spi devices on the same bus i just need to manage their slave select pin and use SPI.beginTransaction to set various speeds. However, in micropython there is no...
- Sun Jun 21, 2020 1:29 pm
- Forum: General Discussion and Questions
- Topic: @micropython.viper causes ImportError
- Replies: 4
- Views: 2931
Re: @micropython.viper causes ImportError
@pythoncoder As I mentioned it doesn't matter if I include any hints for viper or not as it will throw an ImportError either way. However, I did make some progress! It now works with @micropython.native yet still throws an ImportError if i try to use @micropython.viper any idea ? Note: I decided not...
- Sun Jun 21, 2020 5:18 am
- Forum: General Discussion and Questions
- Topic: @micropython.viper causes ImportError
- Replies: 4
- Views: 2931
@micropython.viper causes ImportError
The problem: I'm trying to optimize a part of an ili9341 driver and came across an ImportError when using @micropython.viper decorator. the code i used is as follows: class Display(object): self.spi = SPI(VSPI, 40000000, sck=Pin(18), mosi=Pin(23), miso=Pin(19)) @micropython.viper def write_data(sel...
- Fri Jun 12, 2020 3:15 pm
- Forum: General Discussion and Questions
- Topic: Minimal python install for thonny ide
- Replies: 10
- Views: 5713
Re: Minimal python install for thonny ide
Yes. I think I agree after going through all of their files and documentation it is indeed missing. I did open an issue on the matter and hope it does get attention: https://github.com/thonny/thonny/issues/1239 I provided the url above for people that have the same problem I did with the hope it rea...
- Fri Jun 12, 2020 2:19 pm
- Forum: General Discussion and Questions
- Topic: Minimal python install for thonny ide
- Replies: 10
- Views: 5713
Re: Minimal python install for thonny ide
The other way around. I want to install python 3.8.3 first and than thonny 3.2.7. The thing is, even if they copied the python files it means they had a custom install at one point or another and just copied the files of the install and what I'm trying to find are exactly the custom options they cho...
- Fri Jun 12, 2020 11:51 am
- Forum: General Discussion and Questions
- Topic: Minimal python install for thonny ide
- Replies: 10
- Views: 5713
Re: Minimal python install for thonny ide
@aviarannamaa as I answered to stijn I don't think its an issue with thonny. They just don't seem to supply the installer switches they use. I know what version of python thonny uses but not the installer switches it uses.
- Fri Jun 12, 2020 11:47 am
- Forum: General Discussion and Questions
- Topic: Minimal python install for thonny ide
- Replies: 10
- Views: 5713
Re: Minimal python install for thonny ide
@stijn il explain myself better (I'm not a native English speaker so sorry for not being able to explain properly) 1) I know micropython has no installer i only flash it to my esp32 as firmware. 2) bundeled python is just regular python3.7 that is installed by thonny.exe as default if you don't have...
- Fri Jun 12, 2020 6:45 am
- Forum: General Discussion and Questions
- Topic: Minimal python install for thonny ide
- Replies: 10
- Views: 5713
Re: Minimal python install for thonny ide
The problem is not silently installing. And I did check for the thonny installer which only tells how to quietly install thonny. The problem however is that I cant find any unattend.xml file nor any command with installer switches in the thonny github that would tell me what minimal features I need ...
- Fri Jun 12, 2020 4:09 am
- Forum: General Discussion and Questions
- Topic: Minimal python install for thonny ide
- Replies: 10
- Views: 5713
Minimal python install for thonny ide
I'm currently working on an automated install for thonny ide and python. The thing is I can't use the thonny installer because I need python installed first in order to install esptool and thonny through pip. The problem however is that I can't find any unattended.xml file in the thonny installer or...