adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4k stars 1.19k forks source link

Teensy 4.1: "True==False" crashes CircuitPython #4097

Closed RyannDaGreat closed 3 years ago

RyannDaGreat commented 3 years ago

So does 1==True, True==1 etc. There's no stack trace; it simply reboots. I'm using adafruit-circuitpython-teensy41-en_US-6.0.0-rc.2.hex

dhalbert commented 3 years ago

I loaded 6.00-rc.2, 6.1.0, and 6.2.0-beta.1 on a Teensy 4.1, using the Teensy Loader GUI app on Ubuntu 20.04. These simple tests work for me:

Adafruit CircuitPython 6.1.0 on 2021-01-21; Teensy 4.1 with IMXRT1062DVJ6A
>>> True==False
False
>>> 

Please try one of the latest .hex's., How are you loading the .hex? I'm thinking you are getting an incomplete load or something like that.

RyannDaGreat commented 3 years ago

Thank you - I tried reflashing CircuitPython and now it works for some reason lol. I guess it got corrupted somehow