Teensy dev-platform 4.13 for PlatformIO is out! 🚀

ikravets

Well-known member
We are pleased to announce the next release v4.13 of the Teensy development platform in our PlatformIO Open Source July Updates.

platformio-oss-july-news.jpg

What's New


See Teensy Release Notes for details.

Documentation

- http://docs.platformio.org/en/latest/platforms/teensy.html

Examples

- https://github.com/platformio/platform-teensy/tree/develop/examples

Update

- PlatformIO IDE – please navigate to `PIO Home > Platforms > Updates`
- PlatformIO Core – please run a next CLI command `$ pio update`

--------

Thanks,
Your friends at PlatformIO
 
Hi Ivan.
I still get the old size info.
My platformiuo.ini looks like this:
Code:
[COLOR=#d4d4d4][FONT=Consolas][COLOR=#6a9955]; PlatformIO Project Configuration File[/COLOR]
[COLOR=#6a9955];[/COLOR]
[COLOR=#6a9955];   Build options: build flags, source filter[/COLOR]
[COLOR=#6a9955];   Upload options: custom upload port, speed and extra flags[/COLOR]
[COLOR=#6a9955];   Library options: dependencies, extra library storages[/COLOR]
[COLOR=#6a9955];   Advanced options: extra scripting[/COLOR]
[COLOR=#6a9955];[/COLOR]
[COLOR=#6a9955]; Please visit documentation for the other options and examples[/COLOR]
[COLOR=#6a9955]; https://docs.platformio.org/page/projectconf.html[/COLOR]

[/FONT][/COLOR][COLOR=#000000][FONT=Consolas][env:teensy41]
platform = teensy
board = teensy41
framework = arduino
lib_extra_dirs = ~/Documents/Arduino/libraries


check_tool = cppcheck
check_flags = --enable=all

board_build.f_cpu = 450000000

build_flags =     
    -DUSB_MIDI_AUDIO_SERIAL
    -DIMPROVE_HIGH_FREQUENCY_ACCURACY
    -DIMPROVE_EXPONENTIAL_ACCURACY[/FONT][/COLOR][COLOR=#d4d4d4][FONT=Consolas]

[/FONT][/COLOR]


If I use platform = https://github.com/platformio/platform-teensy.git , I get errors:
Code:
Platform Manager: Installing git+https://github.com/platformio/platform-teensy.git
Error: Traceback (most recent call last):
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\commands\run\processor.py", line 70, in process
    p = PlatformFactory.new(self.options["platform"])
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\platform\factory.py", line 54, in new
    raise UnknownPlatform(pkg_or_spec)
platformio.platform.exception.UnknownPlatform: Unknown development platform 'https://github.com/platformio/platform-teensy.git'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\__main__.py", line 109, in main
    cli()  # pylint: disable=no-value-for-parameter
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\commands\__init__.py", line 44, in invoke
    return super(PlatformioCLI, self).invoke(ctx)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\commands\run\command.py", line 133, in cli
    process_env(
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\commands\run\command.py", line 175, in process_env
    result = {"env": name, "duration": time(), "succeeded": ep.process()}
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\commands\run\processor.py", line 72, in process
    self.cmd_ctx.invoke(
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\commands\platform.py", line 325, in platform_install
    pkg = pm.install(
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\manager\platform.py", line 51, in install
    pkg = super(PlatformPackageManager, self).install(
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48, in install
    pkg = self._install(
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97, in _install
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141, in install_from_url
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54, in new
    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137, in __init__
    self.configure()
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146, in configure
    result = proc.exec_command([cls.command, "--exec-path"])
  File "C:\Users\Frank\.platformio\penv\lib\site-packages\platformio\proc.py", line 117, in exec_command
    p = subprocess.Popen(*args, **kwargs)
  File "C:\Users\Frank\.platformio\python3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Frank\.platformio\python3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden


============================================================
I then deleted .platformio completely - did not help.
Then I uninstalled PIO from Code. Did no help, too.

SO.. I have no Idea what to try next.






 
That's really strange, what version of PlatformIO-Core is installed in your system? Just run the "pio --version" in your terminal. Please also make sure a Git client is installed in your system.
 
Code:
pio --version
PlatformIO Core, version 5.1.1

Looks a problem with the git client. I recently uninstalled msys2.. /mingw (originally i had used it fors omething else, years ago - had no idea that it plays a role for other things..) seems to have something to do with that... i'll try to solve that.
But this doe not explain why platform =teensy still uses the old size-tool?
 
Code:
But this doe not explain why platform =teensy still uses the old size-tool?[/QUOTE]

Simply because the stable version with the new size-tool hasn't been release yet, this functionality is only available in the upstream version.
 
Could you navigate to `C:\Users\Frank\.platformio\platforms` and remove all `teensy*` folders? Does it work now if you start building a project?
 
Could you navigate to `C:\Users\Frank\.platformio\platforms` and remove all `teensy*` folders? Does it work now if you start building a project?

Yes.
After that I remove the .platformio folder completely. The tried to remove PIO completely ("uninstall").
Did not help.

Ok, Valeros said this is because "platform = teensy" does not use the new teensy size tool.

If I use platform = (git link) (yes I have installed git client) , I now get:
Code:
 0 [main] sh (4020) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1397408/0x13E7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Needless to say there is no cygwin1.dll
Ok, then installed cygwin 64 to c:\cygwin64.
Does not help, same message.

So.. it is a weird windows issue - didn't see such problems for years now. Not a platformio problem.

I'll stop this now. I'm out of the age where I wanted to spend hours and days on something like this, and eerormessages that are wrong.
Thanks for your help.

Also, see posts above :)



 
For fun, this is the complete message:
Code:
Platform Manager: Installing git+https://github.com/platformio/platform-teensy.git
git version 2.32.0.windows.2
Cloning into 'C:\Users\Frank\.platformio\.cache\tmp\pkg-installing-awxnapxb'...
remote: Enumerating objects: 77, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (57/57), done.
Receiving objects: 100% (77/77)used 40 (delta 6), pack-reused 0R
Receiving objects: 100% (77/77), 284.66 KiB | 1.55 MiB/s, done.
Resolving deltas: 100% (27/27), done.

[B][COLOR=#008000]..so... it was downloaded.[/COLOR][/B]

      0 [main] sh (13200) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x11D7408.
[COLOR=#ff0000]This problem is probably due to using incompatible versions of the cygwin DLL.[/COLOR]
[COLOR=#ff0000]Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

[/COLOR][COLOR=#008000][B]There wasn't ANY cygwin1.dll on my computer.  [COLOR=#008000] There was no directory c:\cygwin.[/COLOR][COLOR=#ff0000]
  [/COLOR]Installing from original cygwin(to c:\cygwin64)  it did not help[/B]. [/COLOR][COLOR=#008000]Copied the directory to c:\cygwin. Did not help.[/COLOR][COLOR=#ff0000]
[/COLOR][COLOR=#008000]...continue:[/COLOR][COLOR=#ff0000]
[/COLOR]
      0 [main] sh 550 dofork: child -1 - forked process 13200 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (12688) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x1357408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
1098388 [main] sh 550 dofork: child -1 - forked process 12688 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (4980) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x13B7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
3206793 [main] sh 550 dofork: child -1 - forked process 4980 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (12480) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x11D7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] sh 551 dofork: child -1 - forked process 12480 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
      0 [main] sh (12356) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x11D7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
1130320 [main] sh 551 dofork: child -1 - forked process 12356 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
      0 [main] sh (13004) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x1297408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
3247602 [main] sh 551 dofork: child -1 - forked process 13004 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
      0 [main] sh (8524) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x1357408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
7340165 [main] sh 551 dofork: child -1 - forked process 8524 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
      1 [main] sh (1812) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x1347408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
15446823 [main] sh 551 dofork: child -1 - forked process 1812 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
      0 [main] sh (3996) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x12C7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
22898433 [main] sh 550 dofork: child -1 - forked process 3996 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw64/libexec/git-core/git-sh-setup: fork: retry: Resource temporarily unavailable
      0 [main] sh (4268) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x11D7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
23997767 [main] sh 550 dofork: child -1 - forked process 4268 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw64/libexec/git-core/git-sh-setup: fork: retry: Resource temporarily unavailable
      0 [main] sh (12296) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x11D7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
26106630 [main] sh 550 dofork: child -1 - forked process 12296 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw64/libexec/git-core/git-sh-setup: fork: retry: Resource temporarily unavailable
      0 [main] sh (7540) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x1307408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
30212191 [main] sh 550 dofork: child -1 - forked process 7540 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw64/libexec/git-core/git-sh-setup: fork: retry: Resource temporarily unavailable
      0 [main] sh (9300) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1387408/0x11D7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
38325132 [main] sh 550 dofork: child -1 - forked process 9300 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw64/libexec/git-core/git-sh-setup: fork: Resource temporarily unavailable
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', 'https://github.com/platformio/platform-teensy.git', 'C:\\Users\\Frank\\.platformio\\.cache\\tmp\\pkg-installing-awxnapxb']
Der Terminalprozess "C:\Users\Frank\.platformio\penv\Scripts\platformio.exe 'run'" wurde mit folgendem Exitcode beendet: 1.

Das Terminal wird von Aufgaben wiederverwendet, drücken Sie zum Schließen eine beliebige Taste.

> Executing task in folder 210705-225231-teensy41: C:\Users\Frank\.platformio\penv\Scripts\platformio.exe run <

Processing teensy41 (platform: https://github.com/platformio/platform-teensy.git; board: teensy41; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Platform Manager: Installing git+https://github.com/platformio/platform-teensy.git
git version 2.32.0.windows.2
Cloning into 'C:\Users\Frank\.platformio\.cache\tmp\pkg-installing-6d2khkbf'...
remote: Enumerating objects: 77, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (57/57), done.
Receiving objects:  98% (76/77)used 40 (delta 6), pack-reused 0 eceiving objects:  97% (75/77)
Receiving objects: 100% (77/77), 284.66 KiB | 1.87 MiB/s, done.
Resolving deltas: 100% (27/27), done.
      1 [main] sh (9724) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x12E7408/0x12A7408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      0 [main] sh 580 dofork: child -1 - forked process 9724 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (10716) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x12E7408/0x1397408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
1096605 [main] sh 580 dofork: child -1 - forked process 10716 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (8564) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x12E7408/0x1317408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
3194076 [main] sh 580 dofork: child -1 - forked process 8564 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (12032) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x12E7408/0x1337408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
7303688 [main] sh 580 dofork: child -1 - forked process 12032 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: retry: Resource temporarily unavailable
      0 [main] sh (1376) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x12E7408/0x1337408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
15437702 [main] sh 580 dofork: child -1 - forked process 1376 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: fork: Resource temporarily unavailable
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', 'https://github.com/platformio/platform-teensy.git', 'C:\\Users\\Frank\\.platformio\\.cache\\tmp\\pkg-installing-6d2khkbf']
Der Terminalprozess "C:\Users\Frank\.platformio\penv\Scripts\platformio.exe 'run'" wurde mit folgendem Exitcode beendet: 1.
 
I made the grave mistake of continuing to try after all.

Doubleclick on "sh.exe" showed the same error.

Then i disabled the windows exploit protection. completely.

sh.exe now works, and i see a prompt.! wow!. seems to be incompatibel. unless you use a old windows version.

Still.. PIO/Git shows the same error.
Now, i must stop this. really.
 
I made the grave mistake of continuing to try after all.

Doubleclick on "sh.exe" showed the same error.

Then i disabled the windows exploit protection. completely.

sh.exe now works, and i see a prompt.! wow!. seems to be incompatibel. unless you use a old windows version.

Still.. PIO/Git shows the same error.
Now, i must stop this. really.

edit: ok, had not seen the last point in the long list of things to disable in "exploit protection". after a reboot, it works now.
But.. this can't be the solution. really.

I hope this helps others....


Hm, but it shows both now - which is very confusing for users who are not experienced...
Code:
Checking size .pio\build\teensy41\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [===       ]  26.6% (used 139616 bytes from 524288 bytes)
Flash: [          ]   0.9% (used 75736 bytes from 8126464 bytes)
teensy_size .pio\build\teensy41\firmware.elf
teensy_size: Memory Usage on Teensy 4.1:
teensy_size:   FLASH: code:71108, data:7212, headers:8716   free for files:8039428
teensy_size:    RAM1: variables:74688, code:64936, padding:600   free for local variables:384064
teensy_size:    RAM2: variables:71200  free for malloc/new:453088
Building .pio\build\teensy41\firmware.hex

@Ivan: can you disable the first one?
 
Last edited:
Back
Top