FreeRTOS-Kernel/FreeRTOS/Demo/Common
Florian La Roche 62195136d1
Demo/Common: fix divide by zero possibility and non-used return values (#1370)
* Demo/Common: fix divide by zero possibility and non-used return values

- In TimerDemo.c fix possible divide by zero in
  "xMaxBlockTimeUsedByTheseTests / xCycleFrequency".
- Move this code in TimerDemo.c into if-clause where it is
  actually used.
- In Minimal/StreamBufferDemo.c and Minimal/TaskNotify.c avoid
  unused return values.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Co-authored-by: Kody Stribrny <kstribrn@amazon.com>
2025-08-29 11:54:32 -07:00
..
ARMv8M Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083) 2023-09-06 12:35:37 -07:00
drivers Update the demo directory to use the version 8 type naming conventions. 2014-02-11 12:04:59 +00:00
ethernet Fix C source and header file license spacing (#1155) 2024-01-12 16:43:31 -08:00
Full Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083) 2023-09-06 12:35:37 -07:00
include Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083) 2023-09-06 12:35:37 -07:00
Minimal Demo/Common: fix divide by zero possibility and non-used return values (#1370) 2025-08-29 11:54:32 -07:00
ReadMe.txt Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083) 2023-09-06 12:35:37 -07:00

Contains the files that are not specific to any one demo, but are instead used
by all the demo applications.

Most of the directories are now obsolete, and only maintained for backward
compatibility.  The directories in active use are:

+ Minimal - this contains the implementation of what are referred to as the
"Standard Demo Tasks".  These are used by all the demo applications.  Their only
purpose is to demonstrate the FreeRTOS API and test the FreeRTOS features.  The
directory is called 'Minimal' as it contains a minimal implementation of files
contained in the 'Full' directory - but the 'Full' directory is no longer used.

+ include - contains header files for the C source files located in the Minimal
directory.