Hello Neil,
Please enable the "Print size" :

then build your project , you can see the code size on the "Console " window :

Hope it helps
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------