Both sides previous revisionPrevious revisionNext revision | Previous revision |
resources:tools-software:freertos:migration-guide:ucos-to-freertos-migration-guide [16 Jan 2020 09:40] – [Semaphores and Mutexes] Ann An | resources:tools-software:freertos:migration-guide:ucos-to-freertos-migration-guide [22 Mar 2022 09:01] (current) – [Source Code Organisation] Fixing typo Murray Anderson |
---|
===== Introduction ===== | ===== Introduction ===== |
This page describes how to migrate the µC/OS-III to FreeRTOS for those customers who want to migrate their µC/OS-III-based application to FreeRTOS. You will find that migrating µC/OS-III Applications into FreeRTOS is quite straightforward and in most cases will requires just a few hours. | This page describes how to migrate the µC/OS-III to FreeRTOS for those customers who want to migrate their µC/OS-III-based application to FreeRTOS. You will find that migrating µC/OS-III Applications into FreeRTOS is quite straightforward and in most cases will requires just a few hours. |
| |
**Applicable Version** | |
^Name ^Version ^Description ^ | |
| µC/OS-III | ''v2.9.0'' | ADI-uCOS-III-Rel2.9.0 | | |
| FreeRTOS | ''v1.0.0'' | ADI-FreeRTOS-Addin-1.0.0 ( Based Official FreeRTOSv10.0.0 ) | | |
| | | | | | |
| |
**Supported Boards** | **Supported Boards** |
| |
Analog Devices **ADPS-SC5xx** | **ADSP-215xx** | **ADSP-BF7xx** series boards. | Analog Devices **ADPS-SC5xx** | **ADSP-215xx** | **ADSP-BF7xx** series boards. |
| | | | | | |
| |
**The guide covers the following topics**: | **The guide covers the following topics**: |
^**''Section (1-2)''**|**FreeRTOS Header File** ''processor-independent''|Header Files of the FreeRTOS common & official functionalities and features| | ^**''Section (1-2)''**|**FreeRTOS Header File** ''processor-independent''|Header Files of the FreeRTOS common & official functionalities and features| |
^**''Section (2-1)''**|**FreeRTOS Portable Code** ''proccessor-dependent, ARM''|Portable folder allows the vendors to add the implementation codes to the functions of ''interrupt vector tables'' ''interrupt handlers'' ''critical section handling'' and ''context switch'', etc. based on the processor information| | ^**''Section (2-1)''**|**FreeRTOS Portable Code** ''proccessor-dependent, ARM''|Portable folder allows the vendors to add the implementation codes to the functions of ''interrupt vector tables'' ''interrupt handlers'' ''critical section handling'' and ''context switch'', etc. based on the processor information| |
^**''Section (2-2)''**|**FreeRTOS Portable Code** ''proccessor-dependent, Cortex A5''|provide the portable code for ADSP-SC5xx ''Cortex-A5'' Core| | ^**''Section (2-2)''**|**FreeRTOS Portable Code** ''proccessor-dependent, Cortex A5''|Support for the ADSP-SC5xx ''Cortex-A5'' Core| |
^**''Section (2-3)''**|**FreeRTOS Portable Code** ''proccessor-dependent, Blackfin''|provide the portable codes for ADSP-BF7xx ''BLACKFIN'' Core| | ^**''Section (2-3)''**|**FreeRTOS Portable Code** ''proccessor-dependent, Blackfin''|Support for the ADSP-BF7xx ''BLACKFIN'' Core| |
^**''Section (2-4)''**|**FreeRTOS Portable Code** ''proccessor-dependent, SHARC''|provide the portable code for ADSP-215XX ''SHCAC'' Core| | ^**''Section (2-4)''**|**FreeRTOS Portable Code** ''proccessor-dependent, SHARC''|Support for the ADSP-215XX / ADSP-SC5xx ''SHARC'' Core| |
| |
---- | ---- |
while (DEF_ON) { | while (DEF_ON) { |
OSTmrCreate(&CloseDoorTmr, // p_tmr | OSTmrCreate(&CloseDoorTmr, // p_tmr |
“Door close” // p_name | "Door close" // p_name |
10, // dly | 10, // dly |
100, // period | 100, // period |
| |
===== Further Reading ===== | ===== Further Reading ===== |
To learn more about FreeRTOS including the API reference and the Features, Please refer to ADI FreeRTOS-Addin and FreeRTOS official web. | To learn more about FreeRTOS including the API reference and the Features, Please refer to ADI FreeRTOS Wiki and FreeRTOS.org official website. |
| |
**ADI FreeRTOS-Addin:** | **ADI FreeRTOS:** |
* ADI FreeRTOS-Addin-1.0.0 User Guide https://wiki.analog.com/resources/tools-software/freertos/freertos-addin | * ADI FreeRTOS Wiki https://wiki.analog.com/resources/tools-software/freertos |
* ADI FreeRTOS-Addin-1.0.0 Examples https://github.com/davidgibsonadi/skinnyrepo | |
| |
**FreeRTOS Official Link:** | **FreeRTOS.org:** |
* API reference: https://freertos.org/a00106.html | * API reference: https://freertos.org/a00106.html |
* PDF Reference Manual: https://freertos.org/Documentation/RTOS_book.html | * PDF Reference Manual: https://freertos.org/Documentation/RTOS_book.html |
| |
===== Getting Help ===== | ===== Getting Help ===== |
If you are doing a commercial product, using the µC/OS-III and looking at migrating to FreeRTOS, don’t hesitate to contact us at: | If you need further help with migrations, please get in touch via: |
* ADI EngineerZone: https://ez.analog.com/community/dsp/software-and-development-tools/freertos | * ADI EngineerZone: https://ez.analog.com/community/dsp/software-and-development-tools/freertos |
* Support Email: <fc #4682b4>//processor.tools.support@analog.com//</fc> | * Support Email: <fc #4682b4>//processor.tools.support@analog.com//</fc> |