2022-05-22 01:12 PM
Following code has squiggly under bars in printf statements:
Is there a simple way fix these compile errors please:
This program is from Embedded System Design with Arm Cortex-M by Cem Unsalan et al,
chapter 3 page 50.
2022-05-22 05:33 PM
What exactly does it report as an error/warning ?
That the printf format doesn't match the type of the variable you're trying to print ? try fixing that
2023-10-24 03:25 AM
Hi SamJ1, I have nothing to add to your problem - mbed has been deprecated. I'm trying to follow the same book as you, I'm stuck on listing 5.3 on page 92/3. I do not see the desired behaviour - I think the HAL_Delay() function is causing a problem. Did you get any further in the book?
2023-10-24 07:02 AM
printf("....%ld\n", (long)size);
Is this simple enough?