Hello @Dave Nadler , @Amel NASRI
A change request has been already raised to the dev team to improve the current implementation, As you suggested CubeMX should detect and display a proper error message about insufficient disk space. I will keep you posted with updates.
Internal ticket number: 127486(This is an internal tracking number and is not accessible or usable by customers).
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.