Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: tannewt

Search: Search took 0.00 seconds.

  1. Replies
    85
    Views
    8,779

    Yay! I'm glad it was easy and worked. I'm not...

    Yay! I'm glad it was easy and worked.

    I'm not sure why the micro:bit doesn't appear as a drive. The max power could definitely be the issue. I'm not the one who looked into that.
  2. Replies
    85
    Views
    8,779

    Great! I've been meaning to try Rust on embedded...

    Great! I've been meaning to try Rust on embedded as well! Let me know if you find any good tutorials. I'm also happy to help with any Python questions you have.
  3. Replies
    85
    Views
    8,779

    Hi all! Just wanted to point out that...

    Hi all! Just wanted to point out that CircuitPython 5.0.0 is out with Teensy 4.0 support. While the whole release is marked stable, I think the port is more in a beta state. What is there works...
  4. Replies
    85
    Views
    8,779

    @mjs513 Use the hex for now and make sure to back...

    @mjs513 Use the hex for now and make sure to back up your files since the TeensyLoader erases the whole flash. I'll follow up here once we have a UF2 bootloader to try. (I've still got to figure out...
  5. Replies
    85
    Views
    8,779

    Hi all! I just wanted to drop by with a link to...

    Hi all! I just wanted to drop by with a link to the circuitpython.org page for Teensy 4.0: https://circuitpython.org/board/teensy40/ Teensy 4.0 is included in the latest unstable release...
  6. Replies
    85
    Views
    8,779

    Very cool! It looks like we always use float...

    Very cool! It looks like we always use float internally as well: https://github.com/adafruit/circuitpython/blob/master/py/circuitpy_mpconfig.h#L69
  7. Replies
    85
    Views
    8,779

    Correct. Here is a preview:...

    Correct. Here is a preview: https://twitter.com/adafruit/status/1221182041267560449
  8. Replies
    85
    Views
    8,779

    Whoa! Those numbers do look better! It'd be great...

    Whoa! Those numbers do look better! It'd be great to hunt down the TinyUSB bug so we can leave it on.



    My PR adds basic support for the ITCM and the DTCM. I allocate 32k to each. Our first...
  9. Replies
    85
    Views
    8,779

    Thanks for testing it out! I've merged that PR in...

    Thanks for testing it out! I've merged that PR in so any changes can go on the master adafruit branch now. It does have the DCache disabled so we could get a bit of a speed boost from turning it back...
  10. Replies
    85
    Views
    8,779

    Interesting! What does...

    Interesting! What does `dir(pystone_lowmem_monotonic)` show? That will list all names within the module.



    There are no newer changes. This port isn't my top priority currently. (My top priority...
  11. Replies
    85
    Views
    8,779

    It's not my intent to hack the Teensy Bootloader...

    It's not my intent to hack the Teensy Bootloader at all. My intention would be to provide another bootloader alongside CircuitPython. How to enter the bootloader may be an issue though. Does the...
  12. Replies
    85
    Views
    8,779

    Thanks Paul! We'll make a UF2 bootloader...

    Thanks Paul! We'll make a UF2 bootloader available that will run after the TeensyLoader and make it easier to load just the CircuitPython part of flash.
  13. Replies
    85
    Views
    8,779

    Thanks for testing with the latest hex! I've...

    Thanks for testing with the latest hex! I've gotta spend time on other things this week so I think I'll disable the DCache for now which is my guess at the USB problem. I've opened an issue to fix it...
  14. Replies
    85
    Views
    8,779

    Everything on your CIRCUITPY drive.

    Everything on your CIRCUITPY drive.
  15. Replies
    85
    Views
    8,779

    Hi all! I wanted to post an update. I spent all...

    Hi all! I wanted to post an update. I spent all week heads down on rejiggering CircuitPython to take advantage of the TCM and caches better. It looks to be a 10ish times speedup for a very simple...
  16. Replies
    85
    Views
    8,779

    Not yet, no. I've heard interest before and...

    Not yet, no. I've heard interest before and started an issue for it here: https://github.com/adafruit/circuitpython/issues/2527
  17. Replies
    85
    Views
    8,779

    Try the submodule update again. I pushed the...

    Try the submodule update again. I pushed the commit it was looking for.
  18. Replies
    85
    Views
    8,779

    Try now. :-) I had a local commit of the SDK. We...

    Try now. :-) I had a local commit of the SDK. We can also chat on Discord too if my response time is too slow. Link to join is https://adafru.it/discord
  19. Replies
    85
    Views
    8,779

    I'm not sure the tip of my branch builds atm. I'm...

    I'm not sure the tip of my branch builds atm. I'm reworking the linking right now.

    That error sounds like the TinyUSB submodule isn't updated fully. Make sure to `git submodule sync` and `git...
  20. Replies
    85
    Views
    8,779

    Glad it worked well! Sounds like you found the...

    Glad it worked well! Sounds like you found the right place. We already provide microcontroller.cpu.frequency as a read-only value. (The API is here:...
  21. Replies
    85
    Views
    8,779

    Thank you!

    Thank you!
  22. Replies
    85
    Views
    8,779

    The delay could be more accurate but we run...

    The delay could be more accurate but we run "background" stuff between Python byte codes. We may do mass storage writes, for example, that will mess up any precision timing. So, it's best to not rely...
  23. Replies
    85
    Views
    8,779

    Interesting! We do a float to int conversion...

    Interesting! We do a float to int conversion here: https://github.com/adafruit/circuitpython/blob/master/shared-bindings/time/__init__.c#L80

    I bet that is the issue. Please file an issue here:...
  24. Replies
    85
    Views
    8,779

    Weird! I would expect it to be slower than 100Hz...

    Weird! I would expect it to be slower than 100Hz because time.sleep() should be pessimistic. For timing sensitive functions we usually use the peripherals via C code instead. For example, PWM will be...
  25. Replies
    85
    Views
    8,779

    No, this version doesn't account for the 4k...

    No, this version doesn't account for the 4k block. It's probably not an issue though because FAT likely won't use it until it's filled up. I'll keep working on the linker scripts for it tomorrow and...
  26. Replies
    9
    Views
    1,172

    Will do! Thanks!

    Will do! Thanks!
  27. Replies
    9
    Views
    1,172

    Hi all, I'm glad you are excited for...

    Hi all, I'm glad you are excited for CircuitPython on the Teensy 4! I'm the project lead for CircuitPython and just started another thread with lots of info. I'll keep an eye out to answer questions...
  28. Replies
    85
    Views
    8,779

    CircuitPython on Teensy 4!

    Thanks to @arturo182's work on the iMX RT series in Python, we can now easily support Teensy 4!

    There are many issues still to work out but a bunch of stuff does work. Check the GitHub label for...
Results 1 to 28 of 28