Recent content by mstiller

  1. M

    Custom teensy 3.2

    Shouldn't the crystals have some load capacitors nearby?
  2. M

    PlatformIO Config Options

    I use platform.io all the time. Usually the platformio.ini file which gets generated is ok, it would look like this: [env:teensy41] platform = teensy board = teensy41 framework = arduino
  3. M

    Single click build with Visual Studio Code and Visual Teensy?

    Have a look at platform.io. It can be used with Visual Studio Code and has one-click build and upload buttons.
  4. M

    Oled onPin 24 and 25 Teensy 4.1

    Sample code? 24/25 are not the standard i2c pins (which are 18/19) so i think you would need to do Wire.setSDA/setSCL to use that pins. Multiple I2C devices are possible, pullup resistors (2k2 / 4k7) are recommended.
  5. M

    Can't find other device with i2c

    Teensy 4.x as master and the other board as slave. Huzzah 8266 not working, Feather M4 working.
  6. M

    Can't find other device with i2c

    I think i have proof, that it is Huzzah related. As i mostly use Adafruit Feathers it is very easy to swap boards around, as the pinout is the same. So i took the non working huzzah code and changed the board type in platformio.ini to FeatherM4 and swapped the huzzah physically with a...
  7. M

    Can't find other device with i2c

    On the Adafruit product page it is mentioned, that they use bit banging for i2c on that board. On the thread Kurt posted are people which mention that the 80Mhz of the huzzah might be too slow for slave mode. If it works with swapped roles the setup is likely ok. I also just tried with a Teensy...
  8. M

    Custom / DIY Teensy 3.2 board files

    Thanks for sharing, actually i also like the FeatherWing proto in your Github repo. :)
  9. M

    problem compiling teensy 4.0 with platformio

    The code from the first post compiles fine here for teensy and platformio (latest). What might cause the issue is some old globally installed library. My experience shows that using 3rd party libs globally installed likely causes issues. If you need a lib you can always use lib_deps = in...
  10. M

    problem compiling teensy 4.0 with platformio

    Try to add: #include <Arduino.h> as the first include in main.cpp. If this does not help, post your platformio.ini of the project and the errors.
  11. M

    Teensy Organ

    Very cool!
  12. M

    Loader crashes, Monitor closed, Linux

    Good to hear that the issues are solved now.
  13. M

    code generation bug? multiply affects later shift? (Teensy 4.0) can loop?

    Try to put the code without the serial setup stuff in some testfn. Call testfn from setup. Compile and objdump -D firmware.elf, look at testfn. Here it is like this: 0000008c <_Z6testfnv>: 8c: b508 push {r3, lr} 8e: 2205 movs r2, #5...
  14. M

    Loader crashes, Monitor closed, Linux

    If the other programs don't use the AMA driver they will not crash if there is a race condition or bug in this driver. If you google for kernel oops cdc_ama you find some issues, so upgrading to a kernel > 4.15 might help if it is not a big issue for you. My opinion is, a user level program...
  15. M

    Loader crashes, Monitor closed, Linux

    If you ask me, looking at the kernel oops, this might be a bug in the cdc_acm driver, any chance that you update the kernel and try again? There might be a 5.x kernel available on 18.04, i think
Back
Top