Optimising code to reduce size

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by OldisGold on Mon Jun 22 10:20:51 MST 2015

I am using LPC54102 Sensor processing solution evaluation kit and sensorhub bsx lite project from LPC Open. The example works fine but when I generated a hex file to check the code size it is over 350 kB. I want to optimize the code for size.

Question: Can I optimise the code for size by removing board.h files. ?