]> granicus.if.org Git - esp-idf/commit
Merge branch 'bugfix/assert_on_pin_task_nonexistent_cpu' into 'master'
authorIvan Grokhotkov <ivan@espressif.com>
Fri, 28 Apr 2017 11:55:26 +0000 (19:55 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 28 Apr 2017 11:55:26 +0000 (19:55 +0800)
commite18f8da528259119736771b218785977ab90b2f5
tree6b464787c5c6898469d0ea2df24f09c3b2b953da
parentd7faf52a9b9e27df5deb4940bbdd086cb998f0d4
parentaaeb2bd110b3df8df2f6a2f00eacba4b76b20a61
Merge branch 'bugfix/assert_on_pin_task_nonexistent_cpu' into 'master'

Assert when a new task is started on a nonexisting CPU

Previously, starting a task on a CPU ID higher than the amount of CPUs FreeRTOS is configured with would not start the task and possibly have unintended side effects due to some out-of-bounds array writes. Assert on this so the app aborts cleanly.

See merge request !701
components/freertos/tasks.c