pjsip移植到stm32(freertos系统)

项目目标:基于stm32 H750构建带SIP通话的UI应用系统
单片机硬件: stm32 H750 主频480M
实时操作系统:freertos
开发工具:keil uVison 5.23
编译器: armcc
编译的包:freertos + lwip + FreeRTOS_Plus_POSIX + pjproject-2.7.2 + emwin 5.x

pjsip pjporject-2.7.2编译方法步骤:
1.在linux ubuntu系统下安装arm-none-eabi编译工具链,进行配置和初步编译
2.把已经配置好的pjporject-2.7.2目录,拷贝到windows中,修改各个子目录的makefile文件,把编译器修改为armcc,编译和连接选项修改为armcc适配的选项。
把makefile文件中include路径目录修改为windows下的armcc系统目录或者keil uVison 项目工程目录,然后反复解决编译错误。建议去除makefile中所有的测试程序的编译链接步骤。
3.在windows中安装msys32开发包,在msys32命令行中利用msys32的make系统,进行make编译。
4.把编译好的安装目录下的include和.a文件加入keil uVison工程中,即可。
5.对于pjproject-2.7.2依耐的opus和opencore-amr等第3方编解码库,重复第1至4步即可。

通过以上方法,本博主在2个月内成功达成了项目目标,把pjsip成功移植到了freertos下,正常呼叫挂断。

回复

你的邮件地址不会被公开(Your email address will not be published.) Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>