stm32duino / Arduino_Tools

Contains upload tools for STM32 based boards
Other
87 stars 63 forks source link

Resolve upload issues on macOS Ventura #86

Closed INOUETAICHI closed 1 year ago

INOUETAICHI commented 1 year ago

The df -l option on macOS Ventura ignores Mass Storage Volume of STM32. If you remove the -l option it works fine.

fpistm commented 1 year ago

Hi @INOUETAICHI Thanks for this PR. Anyway I do not understand why it not works like before. '-l' is for local file system. So I would like understand before merge. Could you test manually the command.

INOUETAICHI commented 1 year ago

May be relevant to this discussion. https://github.com/ARMmbed/DAPLink/issues/982#issuecomment-1293800808

However, I don't think this change will cause any problems since there is no obstacle to get Nucleo MSC drive without using the local option anyway.

fpistm commented 1 year ago

However, I don't think this change will cause any problems since there is no obstacle to get Nucleo MSC drive without using the local option anyway.

OK but as stated my main concern is to understand why '-l' does not work for you. I will test on out Mac.

Maybe a STLink firmware issue. Could you try to update your STLink Firmware using the STM32CubeProgrammer.

fpistm commented 1 year ago

Our Mac will not support Ventura release. Could you connect a board and share the result of df -HL command?

It seems Mac uses dedicated coreutils maybe "-l" option is not bundled anyway it seems strange as it is a basic feature making them incompatible with lot of scripts. That's why having the output of the above command could help to understand.

INOUETAICHI commented 1 year ago

Thank you fpistm!

fpistm commented 1 year ago

Thank you fpistm!

Welcome, anyway, I would really like having the the output of df -HL command could help to understand. 😉