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?
Try to make code optimization level to high
Try to avoid unnecessary libraries inclusion in Pack Manager
Try to reinstall the product
This problem may arise in Product With license key where removing and installing license key will solve
But your case is Evaluation Version so try to reinstall
That message is simply informing/reminding you that you are using the 32K-limited Evaluation version.
You will get an Error message if you exceed the limit...
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
It sounds like you are getting the error in this article:
http://www.keil.com/support/docs/1209.htm
You may need to contact support so we can verify your License information, make sure nothing changed on the computer:
www2.keil.com/.../
"It sounds like you are getting the error (sic?) in this article"
It's not clear that there is any actual error at all?
It seems likely that the OP simply is using the Evaluation version - so this message is perfectly normal and to be expected ...