We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I got a message: EVALUATION MODE Running with Code Size Limit: 32K. My program is only 4 rows. while (1) {
/* USER CODE END WHILE */ HAL_GPIO_WritePin(GPIOB,GPIO_PIN_5,GPIO_PIN_RESET); HAL_Delay(200); HAL_GPIO_WritePin(GPIOB,GPIO_PIN_5,GPIO_PIN_SET); HAL_Delay(400); /* USER CODE BEGIN 3 */
} /* USER CODE END 3 */
} What can be done?
I think Andrew is right, perhaps you can show the actual statistics output during the build and link process it will be a lot more helpful to understand the size of the code generated.
Look at the image of a uVision screen at the end of this page: os.mbed.com/.../Exporting-to-uVision
Note the line which begins, "Program Size:" - that is where it tells you how much memory (code and data) your project is using ...
You could also try creating a build log: http://www.keil.com/support/docs/3734.htm