Going back and forth with MalwareBytes on False Positive detection for Quarantine of Teensy_Secure.exe in %appdata% folder on Win 11.
They have twice said it should be fixed with updates to their software - but it is still getting caught for Quarantine.
In gathering info for reply I noticed Win 11 showing a Certificate issue: ‘One of the counter signatures was invalid’
...
Maybe the IDE only writes changes the preferences.txt when you quit?
"-IC:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.57.0\\libraries\\TeensyThreads"
"-IC:\\T_Drive\\arduino-1.8.19\\hardware\\teensy\\avr\\libraries\\TeensyThreads"
Yes - I sort of noticed that earlier as well. I know Paul did something to fix it for 1.57 proper but was not sure if it was something in like platfrom.txt or something within their build.
echo Building Sketch: %ino%
"%arduino%\arduino-builder" -verbose=1 -warnings=more -compile -logger=human -hardware "%arduino%\hardware" -hardware "[B][U]%LOCALAPPDATA%\Arduino15\packages[/U][/B]" -tools "%arduino%\tools-builder" -tools "%arduino%\hardware\tools\avr" -tools "[B][U]%LOCALAPPDATA%\Arduino15\packages[/U][/B]" -built-in-libraries "%arduino%\libraries" -libraries "%libs%" -fqbn=%fqbn% -build-path %temp1% -build-cache "%temp2%" %ino%
In file included from C:\Users\Richard\AppData\Local\Temp\.arduinoIDE-unsaved2022716-13060-fh657a.m8e56\Example_3_simple_SD\Example_3_simple_SD.ino:2:0:
d:\PROJECTS\144MHzTransceiver\SoftwareDevelopment\UserInterface_07\libraries\MTP_Teensy-main\src/MTP_Teensy.h:32:2: error: #error "You need to select USB Type: 'MTP Disk (Experimental)' or 'Serial + MTP Disk (Experimental)'"
#error "You need to select USB Type: 'MTP Disk (Experimental)' or 'Serial + MTP Disk (Experimental)'"
^
Multiple libraries were found for "SD.h"
Used: C:\Users\Richard\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.57.0\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Not used: D:\PROJECTS\144MHzTransceiver\SoftwareDevelopment\UserInterface_07\libraries\SD-master
Multiple libraries were found for "SdFat.h"
Used: C:\Users\Richard\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.57.0\libraries\SdFat
Not used: D:\PROJECTS\144MHzTransceiver\SoftwareDevelopment\UserInterface_07\libraries\SdFat-master
Not used: D:\PROJECTS\144MHzTransceiver\SoftwareDevelopment\UserInterface_07\libraries\SdFat_-_Adafruit_Fork
exit status 1
Compilation error: exit status 1
As it says in the error message, you have to select a different USB type for the Teensy.
- Select the Tools drop down menu
- Select the USB Type sub-menu
- Within the USB Type sub-menu, select either 'MTP Disk (Experimental)' or 'Serial + MTP Disk (Experimental)'
- On 1.57, I suggest using 'Serial + MTP Disk (Experimental)'. Before 1.57, you would need to select 'MTP Disk (Experimental)' (or edit 'hardware/teensy/avr/boards.txt').
Compilation error: exec: "C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.57.0/precompile_helper": file does not exist
In the new arduino ide, how do i determine the teensyduino version being used? Will it automatically update to the latest release?