Add Atmel Studio projects for ATMega4809 and AVR128DA48 (#159)

* Added explicit cast to allow roll over and avoid integer promotion during cycles counters comparison in recmutex.c.

* Fixed type mismatch between declaration and definition of function xAreSemaphoreTasksStillRunning( void ).

* Added Atmel Studio demo projects for ATMega4809 and AVR128DA48.

* Per https://www.freertos.org/upgrading-to-FreeRTOS-V8.html, I'm updating portBASE_TYPE to BaseType_t.

Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>

* Update register test for ATmega4809
- to cover r28, r29, r31.
- call public API taskYIELD() instead of portYIELD().

* Update ATmega4809 readme.md to include info for serial port setup, and minor wording fix.

Co-authored-by: Alexandru Niculae - M17336 <alexandru.niculae@microchip.com>
This commit is contained in:
Yuhui Zheng 2020-07-27 17:30:53 -07:00 committed by GitHub
parent 4a7a48790d
commit 915af50524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 3847 additions and 2 deletions

View file

@ -257,7 +257,7 @@ static void prvRecursiveMutexBlockingTask( void *pvParameters )
}
/* The controlling and blocking tasks should be in lock step. */
if( uxControllingCycles != ( uxBlockingCycles + 1 ) )
if( uxControllingCycles != (UBaseType_t) ( uxBlockingCycles + 1 ) )
{
xErrorOccurred = pdTRUE;
}