You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
3.1 KiB

3 years ago
/*
!65 更新gitlab库到gitee * Merge branch 'preview' into 'new_master' * Network debug * Merge branch 'preview' into 'new_master' * Date format modified * Merge branch 'preview' into 'new_master' * developer message supplement && kconfig adjustment in lwip-2.1.2 * update * Merge branch 'work_221229' into 'new_master' * update for spim driver * Merge branch 'review_1220' into 'new_master' * review: eth, usb, pcie, sdmmc * Merge branch 'fatfs_sata_0.1.4' into 'new_master' * Fatfs sata 0.1.4 * Merge branch 'preview' into 'new_master' * Preview * Merge branch 'new_master' into 'new_master' * New master * Merge branch 'fdcdp_lib' into 'new_master' * 合并Fdcdp lib * Merge branch 'git_format' into 'new_master' * review代码,timer ,protocols ,qspi_sfud,spiffs_test等等 * Merge branch 'review_lqz_2212' into 'new_master' * 完成负责部分代码的review工作,修改首字母大小写、标点符号、打印接口等,没有改动example中的打印接口 * Merge branch 'release_1215' into 'new_master' * fix printf info type and header file declare * Merge branch '2022-12-21_check' into 'new_master' * Resolve #2022 "12 21 check" * Merge branch 'review_2022-12-19' into 'new_master' * Review 2022 12 19 * Merge branch 'new_master' into 'new_master' * Standardization * Merge branch 'git_format' into 'new_master' * “最新merge版本后对整个项目进行格式化操作,包括.c.h,排除第三方库,暂时排除汇编文件,代码小修modbus,修改changelog” * Merge branch 'lwip_port_test' into 'new_master' * Lwip port && raw api example * Merge branch 'can_2210' into 'new_master' * CAN,QSPI功能完善 * gitee回归 * Merge branch 'new_master' of https://gitlab.phytium.com.cn/embedded/ph… * Merge branch 'gitlab_new_1206' into 'new_master' * add port Kconfig * Merge branch 'gitlab_new_1206' into 'new_master' * 同步 gitee 的 commit 号 * Merge branch 'sdmmc_1117' into 'new_master' * 修改 SD 协议栈,合入 FATFS 0.1.4 支持同时使用多种介质上的文件系统 * Merge branch 'modbus' into 'new_master' * Modbus * Merge branch 'd2000x_1128_stand' into 'new_master' * 统一参数命名,增加 DX 的部分适配 * Merge branch 'sync20221104' into 'new_master' * Merge branch 'pub20221104' into sync20221104 * Merge branch 'new_master' into 'new_master' * 发布前修改文档错误,添加配置项 * Merge branch '0.4.0_test' into 'new_master' * 修改部分readme * Merge branch 'test' into 'new_master' * test modified including readme.md sdkconfig ADD ft2004eg64 or 32 d20… * Merge branch 'release_1102' into 'new_master' * 添加例程图片和说明,补全部分例程的配置文件 * Merge branch 'v0.4.0release_11_04' into 'new_master' * V0.4.0release 11 04 * Merge branch '0_4_0_test' into 'new_master' * 完善部分测试例程,如adc,pcie等 * Merge branch 'release_1028' into 'new_master' * GPIO/SPI/SDIO/USB 等例程支持 E2000Q Demo 板,修复部分驱动中的bug * Merge branch 'rtt_1025' into 'new_master' * 以 f 开头重命名系统文件名,增加一键导出 RT-Thread BSP 的脚本,修改 Kconfig 适应 scons * Merge branch 'sync_1021' into 'new_master' * Merge branch 'pub_1021' into sync_1021 * Merge branch 'sata_0926' into 'new_master' * E2000 Sata控制器完善,适配demo板,对can的部分代码进行一些整理 * 新增soft pwm 与 sdk用户使用手册 * 新增soft pwm 与 sdk用户使用手册 * Merge branch 'sync_1019' into 'new_master' * Merge branch 'pub_1019' into sync_1019 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * Merge branch 'dev' into 'new_master' * Gmac和Xmac bug解决 * Merge branch 'new_master' into 'new_master' * UART example add flaw control and ddma * Merge branch 'can_loopback_0915' into 'new_master' * 裸机can驱动完善 * Merge branch 'sync_0909' into 'new_master' * Merge branch 'pub_0909' into sync_0909 * Merge branch 'sata_0831' into 'new_master' * 完善Sata和Qspi的接口,增加博雅flash的quad读适配 * Merge branch 'new_master' into 'new_master' * release board commit * Merge branch 'adc_qspi_0824' into 'new_master' * Adc适配Freertos造成的裸机驱动修改 * add cherry usb * Merge branch 'sync_0827' into 'new_master' * Merge branch 'pub_0827' into sync_0827 * Merge branch 'sync' into 'new_master' * Merge branch 'sync' of https://gitlab.phytium.com.cn/zhugengyu/phytium… * Merge branch 'pub' into sync * Merge branch 'pub' into sync * Merge branch 'e2000q_adapt_0815' into 'new_master' * E2000q adapt pwm * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * Merge branch 'new_master' into 'new_master' * E2000Q 支持更新 * Merge branch 'readme_v' into 'new_master' * update files * Merge branch 'gitee_v0.3.0' into 'new_master' * !49 v0.3.0 更新 * Merge branch 'E2000_TEST' into 'new_master' * E2000 v0.3 发布 * Merge branch 'v0_2_0_gitee' into 'new_master' * Merge branch '0_2_0' into 'new_master' * build all, before push to gitee 0.2.0 * Merge branch 'gmac_phy_0526' into 'new_master' * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch 'new_master' into 'new_master' * iic_timer_tacho * Merge branch 'debug_0609' into 'new_master' * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch 'nand_0512' into 'new_master' * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch 'pwm_0525' into 'new_master' * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch 'new_master' into 'new_master' * fi2c_slave * Merge branch 'revert-425e915e' into 'new_master' * Revert "Merge branch 'revert' into 'new_master'" * Merge branch 'revert' into 'new_master' * revert version * Merge branch 'fi2c_0429' into 'new_master' * Fi2c 0429 * Merge branch 'new_master' into 'new_master' * add fi2c_master * Merge branch 'xmac_gmac' into 'new_master' * Gmac and Xmac Restruct * Merge branch 'new_gic' into 'new_master' * New gic * Merge branch 'spi_0413' into 'new_master' * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch '0_1_17' into 'new_master' * !40 Release v0.1.17 * Merge branch 'new_master' into 'new_master' * add uart file * Merge branch '0_1_17' into 'new_master' * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch 'wdt_restruct' into 'new_master' * watchdog驱动重构与验证 * Merge branch 'qspi' into 'new_master' * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch 'ctest-pr-0317' into 'new_master' * redefine assert and shell cmd to support ctest * Merge branch 'openamp_update' into 'new_master' * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch 'release_0218' into 'new_master' * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch 'back' into 'new_master' * 修改多核问题,删除glibc * Merge branch 'sata' into 'new_master' * add pcie & sata driver and example test * Merge branch 'rm_some_right' into 'new_master' * Rm some right
2 years ago
* Copyright : (C) 2022 Phytium Information Technology, Inc.
3 years ago
* All Rights Reserved.
!65 更新gitlab库到gitee * Merge branch 'preview' into 'new_master' * Network debug * Merge branch 'preview' into 'new_master' * Date format modified * Merge branch 'preview' into 'new_master' * developer message supplement && kconfig adjustment in lwip-2.1.2 * update * Merge branch 'work_221229' into 'new_master' * update for spim driver * Merge branch 'review_1220' into 'new_master' * review: eth, usb, pcie, sdmmc * Merge branch 'fatfs_sata_0.1.4' into 'new_master' * Fatfs sata 0.1.4 * Merge branch 'preview' into 'new_master' * Preview * Merge branch 'new_master' into 'new_master' * New master * Merge branch 'fdcdp_lib' into 'new_master' * 合并Fdcdp lib * Merge branch 'git_format' into 'new_master' * review代码,timer ,protocols ,qspi_sfud,spiffs_test等等 * Merge branch 'review_lqz_2212' into 'new_master' * 完成负责部分代码的review工作,修改首字母大小写、标点符号、打印接口等,没有改动example中的打印接口 * Merge branch 'release_1215' into 'new_master' * fix printf info type and header file declare * Merge branch '2022-12-21_check' into 'new_master' * Resolve #2022 "12 21 check" * Merge branch 'review_2022-12-19' into 'new_master' * Review 2022 12 19 * Merge branch 'new_master' into 'new_master' * Standardization * Merge branch 'git_format' into 'new_master' * “最新merge版本后对整个项目进行格式化操作,包括.c.h,排除第三方库,暂时排除汇编文件,代码小修modbus,修改changelog” * Merge branch 'lwip_port_test' into 'new_master' * Lwip port && raw api example * Merge branch 'can_2210' into 'new_master' * CAN,QSPI功能完善 * gitee回归 * Merge branch 'new_master' of https://gitlab.phytium.com.cn/embedded/ph… * Merge branch 'gitlab_new_1206' into 'new_master' * add port Kconfig * Merge branch 'gitlab_new_1206' into 'new_master' * 同步 gitee 的 commit 号 * Merge branch 'sdmmc_1117' into 'new_master' * 修改 SD 协议栈,合入 FATFS 0.1.4 支持同时使用多种介质上的文件系统 * Merge branch 'modbus' into 'new_master' * Modbus * Merge branch 'd2000x_1128_stand' into 'new_master' * 统一参数命名,增加 DX 的部分适配 * Merge branch 'sync20221104' into 'new_master' * Merge branch 'pub20221104' into sync20221104 * Merge branch 'new_master' into 'new_master' * 发布前修改文档错误,添加配置项 * Merge branch '0.4.0_test' into 'new_master' * 修改部分readme * Merge branch 'test' into 'new_master' * test modified including readme.md sdkconfig ADD ft2004eg64 or 32 d20… * Merge branch 'release_1102' into 'new_master' * 添加例程图片和说明,补全部分例程的配置文件 * Merge branch 'v0.4.0release_11_04' into 'new_master' * V0.4.0release 11 04 * Merge branch '0_4_0_test' into 'new_master' * 完善部分测试例程,如adc,pcie等 * Merge branch 'release_1028' into 'new_master' * GPIO/SPI/SDIO/USB 等例程支持 E2000Q Demo 板,修复部分驱动中的bug * Merge branch 'rtt_1025' into 'new_master' * 以 f 开头重命名系统文件名,增加一键导出 RT-Thread BSP 的脚本,修改 Kconfig 适应 scons * Merge branch 'sync_1021' into 'new_master' * Merge branch 'pub_1021' into sync_1021 * Merge branch 'sata_0926' into 'new_master' * E2000 Sata控制器完善,适配demo板,对can的部分代码进行一些整理 * 新增soft pwm 与 sdk用户使用手册 * 新增soft pwm 与 sdk用户使用手册 * Merge branch 'sync_1019' into 'new_master' * Merge branch 'pub_1019' into sync_1019 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * Merge branch 'dev' into 'new_master' * Gmac和Xmac bug解决 * Merge branch 'new_master' into 'new_master' * UART example add flaw control and ddma * Merge branch 'can_loopback_0915' into 'new_master' * 裸机can驱动完善 * Merge branch 'sync_0909' into 'new_master' * Merge branch 'pub_0909' into sync_0909 * Merge branch 'sata_0831' into 'new_master' * 完善Sata和Qspi的接口,增加博雅flash的quad读适配 * Merge branch 'new_master' into 'new_master' * release board commit * Merge branch 'adc_qspi_0824' into 'new_master' * Adc适配Freertos造成的裸机驱动修改 * add cherry usb * Merge branch 'sync_0827' into 'new_master' * Merge branch 'pub_0827' into sync_0827 * Merge branch 'sync' into 'new_master' * Merge branch 'sync' of https://gitlab.phytium.com.cn/zhugengyu/phytium… * Merge branch 'pub' into sync * Merge branch 'pub' into sync * Merge branch 'e2000q_adapt_0815' into 'new_master' * E2000q adapt pwm * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * Merge branch 'new_master' into 'new_master' * E2000Q 支持更新 * Merge branch 'readme_v' into 'new_master' * update files * Merge branch 'gitee_v0.3.0' into 'new_master' * !49 v0.3.0 更新 * Merge branch 'E2000_TEST' into 'new_master' * E2000 v0.3 发布 * Merge branch 'v0_2_0_gitee' into 'new_master' * Merge branch '0_2_0' into 'new_master' * build all, before push to gitee 0.2.0 * Merge branch 'gmac_phy_0526' into 'new_master' * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch 'new_master' into 'new_master' * iic_timer_tacho * Merge branch 'debug_0609' into 'new_master' * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch 'nand_0512' into 'new_master' * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch 'pwm_0525' into 'new_master' * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch 'new_master' into 'new_master' * fi2c_slave * Merge branch 'revert-425e915e' into 'new_master' * Revert "Merge branch 'revert' into 'new_master'" * Merge branch 'revert' into 'new_master' * revert version * Merge branch 'fi2c_0429' into 'new_master' * Fi2c 0429 * Merge branch 'new_master' into 'new_master' * add fi2c_master * Merge branch 'xmac_gmac' into 'new_master' * Gmac and Xmac Restruct * Merge branch 'new_gic' into 'new_master' * New gic * Merge branch 'spi_0413' into 'new_master' * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch '0_1_17' into 'new_master' * !40 Release v0.1.17 * Merge branch 'new_master' into 'new_master' * add uart file * Merge branch '0_1_17' into 'new_master' * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch 'wdt_restruct' into 'new_master' * watchdog驱动重构与验证 * Merge branch 'qspi' into 'new_master' * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch 'ctest-pr-0317' into 'new_master' * redefine assert and shell cmd to support ctest * Merge branch 'openamp_update' into 'new_master' * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch 'release_0218' into 'new_master' * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch 'back' into 'new_master' * 修改多核问题,删除glibc * Merge branch 'sata' into 'new_master' * add pcie & sata driver and example test * Merge branch 'rm_some_right' into 'new_master' * Rm some right
2 years ago
*
* This program is OPEN SOURCE software: you can redistribute it and/or modify it
* under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd,
* either version 1.0 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY;
3 years ago
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
!65 更新gitlab库到gitee * Merge branch 'preview' into 'new_master' * Network debug * Merge branch 'preview' into 'new_master' * Date format modified * Merge branch 'preview' into 'new_master' * developer message supplement && kconfig adjustment in lwip-2.1.2 * update * Merge branch 'work_221229' into 'new_master' * update for spim driver * Merge branch 'review_1220' into 'new_master' * review: eth, usb, pcie, sdmmc * Merge branch 'fatfs_sata_0.1.4' into 'new_master' * Fatfs sata 0.1.4 * Merge branch 'preview' into 'new_master' * Preview * Merge branch 'new_master' into 'new_master' * New master * Merge branch 'fdcdp_lib' into 'new_master' * 合并Fdcdp lib * Merge branch 'git_format' into 'new_master' * review代码,timer ,protocols ,qspi_sfud,spiffs_test等等 * Merge branch 'review_lqz_2212' into 'new_master' * 完成负责部分代码的review工作,修改首字母大小写、标点符号、打印接口等,没有改动example中的打印接口 * Merge branch 'release_1215' into 'new_master' * fix printf info type and header file declare * Merge branch '2022-12-21_check' into 'new_master' * Resolve #2022 "12 21 check" * Merge branch 'review_2022-12-19' into 'new_master' * Review 2022 12 19 * Merge branch 'new_master' into 'new_master' * Standardization * Merge branch 'git_format' into 'new_master' * “最新merge版本后对整个项目进行格式化操作,包括.c.h,排除第三方库,暂时排除汇编文件,代码小修modbus,修改changelog” * Merge branch 'lwip_port_test' into 'new_master' * Lwip port && raw api example * Merge branch 'can_2210' into 'new_master' * CAN,QSPI功能完善 * gitee回归 * Merge branch 'new_master' of https://gitlab.phytium.com.cn/embedded/ph… * Merge branch 'gitlab_new_1206' into 'new_master' * add port Kconfig * Merge branch 'gitlab_new_1206' into 'new_master' * 同步 gitee 的 commit 号 * Merge branch 'sdmmc_1117' into 'new_master' * 修改 SD 协议栈,合入 FATFS 0.1.4 支持同时使用多种介质上的文件系统 * Merge branch 'modbus' into 'new_master' * Modbus * Merge branch 'd2000x_1128_stand' into 'new_master' * 统一参数命名,增加 DX 的部分适配 * Merge branch 'sync20221104' into 'new_master' * Merge branch 'pub20221104' into sync20221104 * Merge branch 'new_master' into 'new_master' * 发布前修改文档错误,添加配置项 * Merge branch '0.4.0_test' into 'new_master' * 修改部分readme * Merge branch 'test' into 'new_master' * test modified including readme.md sdkconfig ADD ft2004eg64 or 32 d20… * Merge branch 'release_1102' into 'new_master' * 添加例程图片和说明,补全部分例程的配置文件 * Merge branch 'v0.4.0release_11_04' into 'new_master' * V0.4.0release 11 04 * Merge branch '0_4_0_test' into 'new_master' * 完善部分测试例程,如adc,pcie等 * Merge branch 'release_1028' into 'new_master' * GPIO/SPI/SDIO/USB 等例程支持 E2000Q Demo 板,修复部分驱动中的bug * Merge branch 'rtt_1025' into 'new_master' * 以 f 开头重命名系统文件名,增加一键导出 RT-Thread BSP 的脚本,修改 Kconfig 适应 scons * Merge branch 'sync_1021' into 'new_master' * Merge branch 'pub_1021' into sync_1021 * Merge branch 'sata_0926' into 'new_master' * E2000 Sata控制器完善,适配demo板,对can的部分代码进行一些整理 * 新增soft pwm 与 sdk用户使用手册 * 新增soft pwm 与 sdk用户使用手册 * Merge branch 'sync_1019' into 'new_master' * Merge branch 'pub_1019' into sync_1019 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * Merge branch 'dev' into 'new_master' * Gmac和Xmac bug解决 * Merge branch 'new_master' into 'new_master' * UART example add flaw control and ddma * Merge branch 'can_loopback_0915' into 'new_master' * 裸机can驱动完善 * Merge branch 'sync_0909' into 'new_master' * Merge branch 'pub_0909' into sync_0909 * Merge branch 'sata_0831' into 'new_master' * 完善Sata和Qspi的接口,增加博雅flash的quad读适配 * Merge branch 'new_master' into 'new_master' * release board commit * Merge branch 'adc_qspi_0824' into 'new_master' * Adc适配Freertos造成的裸机驱动修改 * add cherry usb * Merge branch 'sync_0827' into 'new_master' * Merge branch 'pub_0827' into sync_0827 * Merge branch 'sync' into 'new_master' * Merge branch 'sync' of https://gitlab.phytium.com.cn/zhugengyu/phytium… * Merge branch 'pub' into sync * Merge branch 'pub' into sync * Merge branch 'e2000q_adapt_0815' into 'new_master' * E2000q adapt pwm * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * Merge branch 'new_master' into 'new_master' * E2000Q 支持更新 * Merge branch 'readme_v' into 'new_master' * update files * Merge branch 'gitee_v0.3.0' into 'new_master' * !49 v0.3.0 更新 * Merge branch 'E2000_TEST' into 'new_master' * E2000 v0.3 发布 * Merge branch 'v0_2_0_gitee' into 'new_master' * Merge branch '0_2_0' into 'new_master' * build all, before push to gitee 0.2.0 * Merge branch 'gmac_phy_0526' into 'new_master' * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch 'new_master' into 'new_master' * iic_timer_tacho * Merge branch 'debug_0609' into 'new_master' * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch 'nand_0512' into 'new_master' * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch 'pwm_0525' into 'new_master' * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch 'new_master' into 'new_master' * fi2c_slave * Merge branch 'revert-425e915e' into 'new_master' * Revert "Merge branch 'revert' into 'new_master'" * Merge branch 'revert' into 'new_master' * revert version * Merge branch 'fi2c_0429' into 'new_master' * Fi2c 0429 * Merge branch 'new_master' into 'new_master' * add fi2c_master * Merge branch 'xmac_gmac' into 'new_master' * Gmac and Xmac Restruct * Merge branch 'new_gic' into 'new_master' * New gic * Merge branch 'spi_0413' into 'new_master' * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch '0_1_17' into 'new_master' * !40 Release v0.1.17 * Merge branch 'new_master' into 'new_master' * add uart file * Merge branch '0_1_17' into 'new_master' * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch 'wdt_restruct' into 'new_master' * watchdog驱动重构与验证 * Merge branch 'qspi' into 'new_master' * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch 'ctest-pr-0317' into 'new_master' * redefine assert and shell cmd to support ctest * Merge branch 'openamp_update' into 'new_master' * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch 'release_0218' into 'new_master' * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch 'back' into 'new_master' * 修改多核问题,删除glibc * Merge branch 'sata' into 'new_master' * add pcie & sata driver and example test * Merge branch 'rm_some_right' into 'new_master' * Rm some right
2 years ago
* See the Phytium Public License for more details.
*
*
* FilePath: fspin.c
* Date: 2024-08-08 14:53:42
* LastEditTime: 2024-08-08 17:58:14
2 years ago
* Description:  This files is for a way to provide spinlocks for multicore operations
!65 更新gitlab库到gitee * Merge branch 'preview' into 'new_master' * Network debug * Merge branch 'preview' into 'new_master' * Date format modified * Merge branch 'preview' into 'new_master' * developer message supplement && kconfig adjustment in lwip-2.1.2 * update * Merge branch 'work_221229' into 'new_master' * update for spim driver * Merge branch 'review_1220' into 'new_master' * review: eth, usb, pcie, sdmmc * Merge branch 'fatfs_sata_0.1.4' into 'new_master' * Fatfs sata 0.1.4 * Merge branch 'preview' into 'new_master' * Preview * Merge branch 'new_master' into 'new_master' * New master * Merge branch 'fdcdp_lib' into 'new_master' * 合并Fdcdp lib * Merge branch 'git_format' into 'new_master' * review代码,timer ,protocols ,qspi_sfud,spiffs_test等等 * Merge branch 'review_lqz_2212' into 'new_master' * 完成负责部分代码的review工作,修改首字母大小写、标点符号、打印接口等,没有改动example中的打印接口 * Merge branch 'release_1215' into 'new_master' * fix printf info type and header file declare * Merge branch '2022-12-21_check' into 'new_master' * Resolve #2022 "12 21 check" * Merge branch 'review_2022-12-19' into 'new_master' * Review 2022 12 19 * Merge branch 'new_master' into 'new_master' * Standardization * Merge branch 'git_format' into 'new_master' * “最新merge版本后对整个项目进行格式化操作,包括.c.h,排除第三方库,暂时排除汇编文件,代码小修modbus,修改changelog” * Merge branch 'lwip_port_test' into 'new_master' * Lwip port && raw api example * Merge branch 'can_2210' into 'new_master' * CAN,QSPI功能完善 * gitee回归 * Merge branch 'new_master' of https://gitlab.phytium.com.cn/embedded/ph… * Merge branch 'gitlab_new_1206' into 'new_master' * add port Kconfig * Merge branch 'gitlab_new_1206' into 'new_master' * 同步 gitee 的 commit 号 * Merge branch 'sdmmc_1117' into 'new_master' * 修改 SD 协议栈,合入 FATFS 0.1.4 支持同时使用多种介质上的文件系统 * Merge branch 'modbus' into 'new_master' * Modbus * Merge branch 'd2000x_1128_stand' into 'new_master' * 统一参数命名,增加 DX 的部分适配 * Merge branch 'sync20221104' into 'new_master' * Merge branch 'pub20221104' into sync20221104 * Merge branch 'new_master' into 'new_master' * 发布前修改文档错误,添加配置项 * Merge branch '0.4.0_test' into 'new_master' * 修改部分readme * Merge branch 'test' into 'new_master' * test modified including readme.md sdkconfig ADD ft2004eg64 or 32 d20… * Merge branch 'release_1102' into 'new_master' * 添加例程图片和说明,补全部分例程的配置文件 * Merge branch 'v0.4.0release_11_04' into 'new_master' * V0.4.0release 11 04 * Merge branch '0_4_0_test' into 'new_master' * 完善部分测试例程,如adc,pcie等 * Merge branch 'release_1028' into 'new_master' * GPIO/SPI/SDIO/USB 等例程支持 E2000Q Demo 板,修复部分驱动中的bug * Merge branch 'rtt_1025' into 'new_master' * 以 f 开头重命名系统文件名,增加一键导出 RT-Thread BSP 的脚本,修改 Kconfig 适应 scons * Merge branch 'sync_1021' into 'new_master' * Merge branch 'pub_1021' into sync_1021 * Merge branch 'sata_0926' into 'new_master' * E2000 Sata控制器完善,适配demo板,对can的部分代码进行一些整理 * 新增soft pwm 与 sdk用户使用手册 * 新增soft pwm 与 sdk用户使用手册 * Merge branch 'sync_1019' into 'new_master' * Merge branch 'pub_1019' into sync_1019 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * Merge branch 'dev' into 'new_master' * Gmac和Xmac bug解决 * Merge branch 'new_master' into 'new_master' * UART example add flaw control and ddma * Merge branch 'can_loopback_0915' into 'new_master' * 裸机can驱动完善 * Merge branch 'sync_0909' into 'new_master' * Merge branch 'pub_0909' into sync_0909 * Merge branch 'sata_0831' into 'new_master' * 完善Sata和Qspi的接口,增加博雅flash的quad读适配 * Merge branch 'new_master' into 'new_master' * release board commit * Merge branch 'adc_qspi_0824' into 'new_master' * Adc适配Freertos造成的裸机驱动修改 * add cherry usb * Merge branch 'sync_0827' into 'new_master' * Merge branch 'pub_0827' into sync_0827 * Merge branch 'sync' into 'new_master' * Merge branch 'sync' of https://gitlab.phytium.com.cn/zhugengyu/phytium… * Merge branch 'pub' into sync * Merge branch 'pub' into sync * Merge branch 'e2000q_adapt_0815' into 'new_master' * E2000q adapt pwm * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * Merge branch 'new_master' into 'new_master' * E2000Q 支持更新 * Merge branch 'readme_v' into 'new_master' * update files * Merge branch 'gitee_v0.3.0' into 'new_master' * !49 v0.3.0 更新 * Merge branch 'E2000_TEST' into 'new_master' * E2000 v0.3 发布 * Merge branch 'v0_2_0_gitee' into 'new_master' * Merge branch '0_2_0' into 'new_master' * build all, before push to gitee 0.2.0 * Merge branch 'gmac_phy_0526' into 'new_master' * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch 'new_master' into 'new_master' * iic_timer_tacho * Merge branch 'debug_0609' into 'new_master' * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch 'nand_0512' into 'new_master' * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch 'pwm_0525' into 'new_master' * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch 'new_master' into 'new_master' * fi2c_slave * Merge branch 'revert-425e915e' into 'new_master' * Revert "Merge branch 'revert' into 'new_master'" * Merge branch 'revert' into 'new_master' * revert version * Merge branch 'fi2c_0429' into 'new_master' * Fi2c 0429 * Merge branch 'new_master' into 'new_master' * add fi2c_master * Merge branch 'xmac_gmac' into 'new_master' * Gmac and Xmac Restruct * Merge branch 'new_gic' into 'new_master' * New gic * Merge branch 'spi_0413' into 'new_master' * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch '0_1_17' into 'new_master' * !40 Release v0.1.17 * Merge branch 'new_master' into 'new_master' * add uart file * Merge branch '0_1_17' into 'new_master' * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch 'wdt_restruct' into 'new_master' * watchdog驱动重构与验证 * Merge branch 'qspi' into 'new_master' * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch 'ctest-pr-0317' into 'new_master' * redefine assert and shell cmd to support ctest * Merge branch 'openamp_update' into 'new_master' * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch 'release_0218' into 'new_master' * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch 'back' into 'new_master' * 修改多核问题,删除glibc * Merge branch 'sata' into 'new_master' * add pcie & sata driver and example test * Merge branch 'rm_some_right' into 'new_master' * Rm some right
2 years ago
*
* Modify History:
3 years ago
* Ver   Who        Date         Changes
* ----- ------     --------    --------------------------------------
* 1.1 carl 2022-12-30 add init function
* 1.2 carl 2023-02-28 Use GCC built-in functions to implement spinlock
* 1.3 wangxiaodong 2024-08-08 Use mcs lock to implement spinlock
3 years ago
*/
#include <stdint.h>
#include <stdatomic.h>
#include "fspin.h"
3 years ago
#include "sdkconfig.h"
!59 v0.4.0 更新 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * 发布前修改文档错误,添加配置项 * Merge branch &#39;0.4.0_test&#39; into &#39;new_master&#39; * 修改部分readme * Merge branch &#39;test&#39; into &#39;new_master&#39; * test modified including readme.md sdkconfig ADD ft2004eg64 or 32 d20… * Merge branch &#39;release_1102&#39; into &#39;new_master&#39; * 添加例程图片和说明,补全部分例程的配置文件 * Merge branch &#39;v0.4.0release_11_04&#39; into &#39;new_master&#39; * V0.4.0release 11 04 * Merge branch &#39;0_4_0_test&#39; into &#39;new_master&#39; * 完善部分测试例程,如adc,pcie等 * Merge branch &#39;release_1028&#39; into &#39;new_master&#39; * GPIO/SPI/SDIO/USB 等例程支持 E2000Q Demo 板,修复部分驱动中的bug * Merge branch &#39;rtt_1025&#39; into &#39;new_master&#39; * 以 f 开头重命名系统文件名,增加一键导出 RT-Thread BSP 的脚本,修改 Kconfig 适应 scons * Merge branch &#39;sync_1021&#39; into &#39;new_master&#39; * Merge branch &#39;pub_1021&#39; into sync_1021 * Merge branch &#39;sata_0926&#39; into &#39;new_master&#39; * E2000 Sata控制器完善,适配demo板,对can的部分代码进行一些整理 * 新增soft pwm 与 sdk用户使用手册 * 新增soft pwm 与 sdk用户使用手册 * Merge branch &#39;sync_1019&#39; into &#39;new_master&#39; * Merge branch &#39;pub_1019&#39; into sync_1019 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * Merge branch &#39;dev&#39; into &#39;new_master&#39; * Gmac和Xmac bug解决 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * UART example add flaw control and ddma * Merge branch &#39;can_loopback_0915&#39; into &#39;new_master&#39; * 裸机can驱动完善 * Merge branch &#39;sync_0909&#39; into &#39;new_master&#39; * Merge branch &#39;pub_0909&#39; into sync_0909 * Merge branch &#39;sata_0831&#39; into &#39;new_master&#39; * 完善Sata和Qspi的接口,增加博雅flash的quad读适配 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * release board commit * Merge branch &#39;adc_qspi_0824&#39; into &#39;new_master&#39; * Adc适配Freertos造成的裸机驱动修改 * add cherry usb * Merge branch &#39;sync_0827&#39; into &#39;new_master&#39; * Merge branch &#39;pub_0827&#39; into sync_0827 * Merge branch &#39;sync&#39; into &#39;new_master&#39; * Merge branch &#39;sync&#39; of https://gitlab.phytium.com.cn/zhugengyu/phytium… * Merge branch &#39;pub&#39; into sync * Merge branch &#39;pub&#39; into sync * Merge branch &#39;e2000q_adapt_0815&#39; into &#39;new_master&#39; * E2000q adapt pwm * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * E2000Q 支持更新 * Merge branch &#39;readme_v&#39; into &#39;new_master&#39; * update files * Merge branch &#39;gitee_v0.3.0&#39; into &#39;new_master&#39; * !49 v0.3.0 更新 * Merge branch &#39;E2000_TEST&#39; into &#39;new_master&#39; * E2000 v0.3 发布 * Merge branch &#39;v0_2_0_gitee&#39; into &#39;new_master&#39; * Merge branch &#39;0_2_0&#39; into &#39;new_master&#39; * build all, before push to gitee 0.2.0 * Merge branch &#39;gmac_phy_0526&#39; into &#39;new_master&#39; * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * iic_timer_tacho * Merge branch &#39;debug_0609&#39; into &#39;new_master&#39; * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch &#39;nand_0512&#39; into &#39;new_master&#39; * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch &#39;pwm_0525&#39; into &#39;new_master&#39; * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * fi2c_slave * Merge branch &#39;revert-425e915e&#39; into &#39;new_master&#39; * Revert &#34;Merge branch &#39;revert&#39; into &#39;new_master&#39;&#34; * Merge branch &#39;revert&#39; into &#39;new_master&#39; * revert version * Merge branch &#39;fi2c_0429&#39; into &#39;new_master&#39; * Fi2c 0429 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add fi2c_master * Merge branch &#39;xmac_gmac&#39; into &#39;new_master&#39; * Gmac and Xmac Restruct * Merge branch &#39;new_gic&#39; into &#39;new_master&#39; * New gic * Merge branch &#39;spi_0413&#39; into &#39;new_master&#39; * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * !40 Release v0.1.17 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add uart file * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch &#39;wdt_restruct&#39; into &#39;new_master&#39; * watchdog驱动重构与验证 * Merge branch &#39;qspi&#39; into &#39;new_master&#39; * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch &#39;ctest-pr-0317&#39; into &#39;new_master&#39; * redefine assert and shell cmd to support ctest * Merge branch &#39;openamp_update&#39; into &#39;new_master&#39; * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch &#39;release_0218&#39; into &#39;new_master&#39; * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch &#39;back&#39; into &#39;new_master&#39; * 修改多核问题,删除glibc * Merge branch &#39;sata&#39; into &#39;new_master&#39; * add pcie &amp; sata driver and example test * Merge branch &#39;rm_some_right&#39; into &#39;new_master&#39; * Rm some right
2 years ago
#include "ftypes.h"
!83 psci 接口更新 * Merge branch &#39;new_comiler_3.0&#39; into &#39;master&#39; * New comiler 3.0 * Merge branch &#39;master&#39; into &#39;master&#39; * 修改changelog * 修改配置 * 删除源文件 * 重新生成库文件 * Merge branch &#39;local_master&#39; * Merge branch &#39;uart_refactoring_supplement&#39; into &#39;master&#39; * Uart refactoring supplement * 修改FDC.C和FDC.H里面行和场的方式 * Merge branch &#39;boot_230621&#39; into &#39;master&#39; * 合并freertos和裸机的fboot.s文件,修改aarch32的gic 64bit寄存器读写 * Merge branch &#39;rtos_iperf&#39; into &#39;master&#39; * rtos network poll support * Merge branch &#39;sync_230620&#39; into &#39;master&#39; * Merge branch &#39;pub_230620&#39; into sync_230620 * Merge branch &#39;master&#39; into &#39;master&#39; * add mio uart ddma * Merge branch &#39;mccr_230607&#39; into &#39;master&#39; * 重构aarch32的系统寄存器读写接口 * 修改头文件描述名字 * Merge branch &#39;master&#39; into &#39;master&#39; * 修复一个错误,该错误导致无法只初始化dp1 * Merge remote-tracking branch &#39;pubilc_gitlab/master&#39; * Merge branch &#39;new_compiler_2.0&#39; into &#39;master&#39; * New compiler 2.0 * 修改头文件名字 * 修改changelog * 去掉源代码,生成库文件 * Merge remote-tracking branch &#39;pubilc_gitlab/master&#39; * Merge branch &#39;gitlab_pub_0615&#39; into &#39;master&#39; * Merge branch &#39;gitee_pub_0615&#39; into gitlab_pub_0615 * Merge branch &#39;sdmmc_error&#39; into &#39;master&#39; * Sdmmc error * 修改lvgl.mk中LVGL_CUR_DIR命名 * Merge branch &#39;sync_230614&#39; into &#39;master&#39; * Merge branch &#39;pub_230614&#39; into sync_230614 * Merge branch &#39;master&#39; into &#39;master&#39; * DDMA MAX trans length * 修改打印提示 * 修改格式 * 增加一个提示打印 * 修改DC DP sync参数赋值逻辑 * Merge branch &#39;gdma_issue_solve_230608&#39; into &#39;master&#39; * gdma customer issue solve * 周五版本,可正常显示,printf 问题待解决 * 修改framebuffer以及图形栈间的关系 * Merge branch &#39;gic_kconfig_0607&#39; into &#39;master&#39; * gic kconfig modification * Merge branch &#39;atomic_230606&#39; into &#39;master&#39; * gcc atomic * Merge branch &#39;tcp_client&#39; into &#39;master&#39; * Tcp client reconfigure &amp;&amp; fix issue #64 * Merge branch &#39;cpp_230531&#39; into &#39;master&#39; * 支持C++及C++标准库的部分功能,移植 Crypto++ 库 * 在驱动源码中修改数据类型,适应32位和64位编译条件 * Merge branch &#39;wdt&#39; into &#39;master&#39; * Wdt * Merge branch &#39;time&#39; into &#39;master&#39; * setting.json 更新 -&gt; 解决文件头时间编辑信息无法自动更新 * rtt_fbp 赋NULL初值 * 删除源码 * 添加源码 * 修改误笔 * 修复一个已知错误,该错误会导致只初始化dp1无法正确显示图像,framebuffer地址出错 * Merge branch &#39;mccr_230531&#39; into &#39;master&#39; * 修改Timer ID,完善gic测试,删除USE_SYS_TICK * Merge branch &#39;timer_example&#39; into &#39;master&#39; * Timer example * Merge branch &#39;new_master&#39; into &#39;master&#39; * add openamp loadelf * Merge branch &#39;ipc&#39; into &#39;master&#39; * Ipc example refactoring * Merge branch &#39;new_compiler&#39; into &#39;master&#39; * New compiler * Merge branch &#39;timer_230525&#39; into &#39;master&#39; * Generic Timer * Merge branch &#39;v1_1_1_update1&#39; into &#39;master&#39; * v1.1.1 update * Merge branch &#39;poll&#39; into &#39;master&#39; * XMAC Poll mode support * Merge branch &#39;release_debug_1_1_1&#39; into &#39;master&#39; * release debug: add a ; in fdebug.h * Merge branch &#39;new_master&#39; into &#39;master&#39; * Openamp * Merge branch &#39;pcie_example_refactoring&#39; into &#39;master&#39; * Pcie example refactoring * Merge branch &#39;fix_aarch64_address&#39; into &#39;master&#39; * Merge branch &#39;fdcdp_lib_duopin&#39; into &#39;master&#39; * heru * update some code * Merge branch &#39;bug_fix&#39; into &#39;master&#39; * heru * merge * merge * merge * Merge branch &#39;spi&#39; into &#39;master&#39; * 图片修改 * 1 * merge * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 * merge * merge * merge * merge * merge * merge * merge * 单次文件 本地无法上传超过1M * merge * merge * merge * merge * merge * merge * merge * merge * merge * merge * commit * commit * commit * merge * fix cache flush bug * 修改readme * 修改文档,源程序未作实际性改动 * Merge branch &#39;gic_example_refactoring&#39; into &#39;master&#39; * gic 用例重构 * Merge branch &#39;spi&#39; into &#39;master&#39; * spi example * Merge branch &#39;serial&#39; into &#39;master&#39; * Serial example 重构 * Merge branch &#39;sync_230424&#39; into &#39;master&#39; * Merge branch &#39;pub_230424&#39; into sync_230424 * Merge branch &#39;test1.1&#39; into &#39;master&#39; * Test1.1 * 增加e2000D sdkconfig * 修改lvgl menuconfig,使选择demo可控制,在readme中添加如何选择说明,生成sdkconfig文件,重新生成库文件 * Merge branch &#39;pmr_rpr_230413&#39; into &#39;master&#39; * 适配不同固件版本对ICC_PMR和ICC_RPR的影响 * Merge branch &#39;sata&#39; into &#39;master&#39; * Sata example 重构 * Merge branch &#39;xmac_debug&#39; into &#39;master&#39; * Xmac debug * Merge branch &#39;sd_example_refactoring&#39; into &#39;master&#39; * Sd example refactoring * Merge branch &#39;jumbo&#39; into &#39;master&#39; * Jumbo mode support * 修改色深参数 * 修改changelog * 删除源文件 * 重新生成库文件, 修改lvgl menuconfig,修改demo 位置 * Merge branch &#39;sync_0406&#39; into &#39;master&#39; * Merge branch &#39;pub_0406&#39; into sync_0406 * Merge branch &#39;gmacbugfix&#39; into &#39;master&#39; * gmac bug fix * Merge branch &#39;sync_20230406&#39; into &#39;master&#39; * gitee loop back * Merge branch &#39;divide_gpio_fctrl_example&#39; into &#39;master&#39; * Divide pin and iopad example * Merge branch &#39;gdma_example_refactoring&#39; into &#39;master&#39; * gdma_example_refactoring * Merge branch &#39;new_master&#39; into &#39;master&#39; * libmetal 适配 * 把上一版测试改动代码还原 * 测试 * Merge branch &#39;lwipperf&#39; into &#39;master&#39; * Add apps :Lwipperf * Merge branch &#39;fdcdp_lib_duopin&#39; into &#39;master&#39; * Fdcdp lib multi_display更改接口以及添加注释等 * 修正changelog 以前的日期错误 * 修改头文件命名 * 测试png * Merge remote-tracking branch &#39;pubilc_gitlab/master&#39; into fdcdp_lib_duopin * 修改change log * commit changelog * 修改changelog * 删除源文件 * 生成库文件 * merge * merge * merge * merge * merge * 增加修改项 * 修改pr意见 * 增加fdcdp_success * 修改地址类型 * 消除警告 * 更改数据类型 * 修复64位编译条件下地址出现警告 * 删掉不必要的 * 删除一些空格和多余项 * 删除一个打印,添加task退出机制 * Merge branch &#39;exception_reg_20230317&#39; into &#39;master&#39; * 调整异常情况下的寄存器顺序 * 更改port/目录 * 更新lib库文件和 config * 修目录 * 更改文档 * 更改cmd * 更改图片 * 删除例程 * 删除图片 * 调整demo * 调整demo * 删除例程,合并到同一个中 * 调整example、media * 调整中断以及驱动中frambuffer到fdcdp结构体中 * 调整lvgl port * 删除benchmark test * Merge branch &#39;pwm&#39; into &#39;master&#39; * pwm example重构 * Merge branch &#39;sync_230320&#39; into &#39;master&#39; * Merge branch &#39;pub_230320&#39; into sync_230320 * 将int 转为u8型 * 添加default 提示 * 重新生成库文件 * 修改changelog , 修改switch 表达方式 * 根据pr内容修改 * Merge branch &#39;memory&#39; into &#39;master&#39; * Memory problem solved :Dhcp not clean * 根据pr意见修改, 并且修改readme文档以及添加图片 * 无改动 * 复原gitattributes * 复原仓库 * 更改误删can * 源码 * Merge remote-tracking branch &#39;pubilc_gitlab/master&#39; into fdcdp_lib_duopin * “desc” * 添加文件 * Merge branch &#39;qspi&#39; into &#39;master&#39; * Qspi example重构 * 调整格式 * merge * 修改例程接口,修改文件内容,使之规范 * Merge branch &#39;pin_example_reconsitution&#39; into &#39;master&#39; * Pin example reconsitution * Merge branch &#39;drv_230228&#39; into &#39;master&#39; * 解耦 driver 和 arch 部分,整理 arch 和 common 部分文件的目录,更新导出 drvier 给 rt-thread 使用的方法 * Merge branch &#39;new_master&#39; into &#39;master&#39; * can example 重构 * Merge branch &#39;sync_0303&#39; into &#39;master&#39; * Merge branch &#39;pub_0303&#39; into sync_0303 * Merge branch &#39;fdcdp_lib_duopin&#39; into &#39;master&#39; * 新增一个个人仓库管理media 库文件,上传lib库文件,已测试 * 更改库文件 * 说明文档修改 * 修改格式上传库文件,修改changelog * 创建一个media库个人分支,方便上传库代码,合入最新公共仓库 * Merge branch &#39;irq_nest_0220&#39; into &#39;master&#39; * 完善中断嵌套功能 * Merge branch &#39;openamp_2022-12-30&#39; into &#39;master&#39; * Openamp 适配e2000 * Merge branch &#39;test_230223&#39; into &#39;new_master&#39; * 合并 example makefile 的冗余项, USR_BOOT_DIR,make boot 等 * Merge branch &#39;jlink_230217&#39; into &#39;new_master&#39; * 增加配置 BOOT_WITH_FLUSH_CACHE,支持启动前刷新 DCache,配置默认关闭 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * adc_example重构 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * modified uart fifo test display * Merge branch &#39;sfud_update&#39; into &#39;new_master&#39; * Sfud同步FREERTOS代码 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * fix uart bug and add fifo deep interrupt test. * Merge branch &#39;sfud_update&#39; into &#39;new_master&#39; * Sfud update,merge spi_sfud and qspi_sfud examples * Merge branch &#39;scmi1229&#39; into &#39;new_master&#39; * Scmi_mhu协议实现,去获取设置CPU传感器和频率信息 * Merge branch &#39;test_230128&#39; into &#39;new_master&#39; * 支持Console串口烧录镜像,删除make build_all相关功能,整理编译打印输出 * Merge branch &#39;tardigrade&#39; into &#39;new_master&#39; * 适配Tardigrade * Merge branch &#39;sync_230119&#39; into &#39;new_master&#39; * Merge branch &#39;pub_230119&#39; into sync_230119 * Merge branch &#39;1.0version_release&#39; into &#39;new_master&#39; * 1.0version release * Merge branch &#39;sync_230119&#39; into &#39;new_master&#39; * Merge branch &#39;pub_230119&#39; into sync_230119 * Merge branch &#39;1.0version&#39; into &#39;new_master&#39; * Standalone SDK 1.0version release * Merge branch &#39;fgpio_sw_pwm_modify&#39; into &#39;new_master&#39; * Fgpio sw pwm modify * Merge branch &#39;test2023-1&#39; into &#39;new_master&#39; * Merge branch &#39;new_master&#39; of https://gitlab.phytium.com.cn/embedded/ph… * Merge branch &#39;nand_modify&#39; into &#39;new_master&#39; * Merge branch &#39;new_master&#39; of https://gitlab.phytium.com.cn/embedded/ph… * 修改 * Merge branch &#39;git_format&#39; into &#39;new_master&#39; * 修改参数名称 * 修改参数名 * qspi,sata * test-2023-1-17 * 修改readme描述,无更改代码 * e2000q adds nand test configuration * Merge branch &#39;git_format&#39; into &#39;new_master&#39; * 修改changelog * Merge remote-tracking branch &#39;pubilc_gitlab/new_master&#39; into local_fdcdp * Merge branch &#39;review_0109&#39; into &#39;new_master&#39; * adc, gic, pcie, pwm, wdt review * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * modified files and add rtc description * Merge branch &#39;comment_230104&#39; into &#39;new_master&#39; * 更新代码说明 * Merge branch &#39;review2&#39; into &#39;new_master&#39; * Merge branch &#39;review_2023-01-03&#39; into &#39;new_master&#39; * Review 2023 01 03 * 冲突解决 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * 代码review修改 * Merge branch &#39;sdboot_230104&#39; into &#39;new_master&#39; * 添加说明文档,支持从 SD 卡和 U 盘启动镜像 * Merge branch &#39;sync_230109&#39; into &#39;new_master&#39; * gitee 库 回流 * Merge branch &#39;review_lqz_2301&#39; into &#39;new_master&#39; * review_2301 * 更改时间格式为年/月/日,更改lib获取framebuffer获取接口 * Merge branch &#39;preview&#39; into &#39;new_master&#39; * Network debug * Merge branch &#39;preview&#39; into &#39;new_master&#39; * Date format modified * 修改版本迭代 * can完善,review2 * can完善修改,review * 添加注释,删除不必要的代码 * 更新文件夹名字,添加lvgl版本号 * 修改 * Merge branch &#39;new_master&#39; of https://gitlab.phytium.com.cn/embedded/ph… * 文件描述&amp;版本信息 * Merge branch &#39;preview&#39; into &#39;new_master&#39; * developer message supplement &amp;&amp; kconfig adjustment in lwip-2.1.2 * update * 根据pr意见修改开发者信息格式,同时修改lvgl.mk以便与rtos分开 * Merge branch &#39;work_221229&#39; into &#39;new_master&#39; * update for spim driver * 添加文件描述,删除之前的reboo说明 * 添加文件描述,删除之前遗留的reboot说明 * 合并主分支 * Merge branch &#39;review_1220&#39; into &#39;new_master&#39; * review: eth, usb, pcie, sdmmc * Merge branch &#39;fatfs_sata_0.1.4&#39; into &#39;new_master&#39; * Fatfs sata 0.1.4 * Merge branch &#39;preview&#39; into &#39;new_master&#39; * Preview * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * New master * Merge branch &#39;fdcdp_lib&#39; into &#39;new_master&#39; * 合并Fdcdp lib * Merge branch &#39;git_format&#39; into &#39;new_master&#39; * review代码,timer ,protocols ,qspi_sfud,spiffs_test等等 * 合入 * 修正 * 修正命令行大小写 * Merge branch &#39;review_lqz_2212&#39; into &#39;new_master&#39; * 完成负责部分代码的review工作,修改首字母大小写、标点符号、打印接口等,没有改动example中的打印接口 * Merge branch &#39;release_1215&#39; into &#39;new_master&#39; * fix printf info type and header file declare * Merge branch &#39;2022-12-21_check&#39; into &#39;new_master&#39; * Resolve #2022 &#34;12 21 check&#34; * Merge branch &#39;review_2022-12-19&#39; into &#39;new_master&#39; * Review 2022 12 19 * 修正单词拼写问题 * 修正误merge sfud_ops代码, 删除files 为file * 修改changelog * 修改changelog日期,fassert.c * 修改打印 * Merge remote-tracking branch &#39;pubilc_gitlab/new_master&#39; into local_format * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * Standardization * “格式修改,修改去掉不必要的打印” * “修改格式” * “修改格式和语法“ * Merge branch &#39;git_format&#39; into &#39;new_master&#39; * “最新merge版本后对整个项目进行格式化操作,包括.c.h,排除第三方库,暂时排除汇编文件,代码小修modbus,修改changelog” * “利用testsuit编译全部项目,修改了modbus编译错误项,更改后能够全部正常编译完成” * “在刘治宏merge版本后对整个项目进行格式化操作,包括.c.h,排除第三方库,暂时排除汇编文件,代码无改动” * Merge branch &#39;lwip_port_test&#39; into &#39;new_master&#39; * Lwip port &amp;&amp; raw api example * Merge branch &#39;can_2210&#39; into &#39;new_master&#39; * CAN,QSPI功能完善 * gitee回归 * Merge branch &#39;new_master&#39; of https://gitlab.phytium.com.cn/embedded/ph… * Merge branch &#39;gitlab_new_1206&#39; into &#39;new_master&#39; * add port Kconfig * Merge branch &#39;gitlab_new_1206&#39; into &#39;new_master&#39; * 同步 gitee 的 commit 号 * Merge branch &#39;sdmmc_1117&#39; into &#39;new_master&#39; * 修改 SD 协议栈,合入 FATFS 0.1.4 支持同时使用多种介质上的文件系统 * Merge branch &#39;modbus&#39; into &#39;new_master&#39; * Modbus * Merge branch &#39;d2000x_1128_stand&#39; into &#39;new_master&#39; * 统一参数命名,增加 DX 的部分适配 * Merge branch &#39;sync20221104&#39; into &#39;new_master&#39; * Merge branch &#39;pub20221104&#39; into sync20221104 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * 发布前修改文档错误,添加配置项 * Merge branch &#39;0.4.0_test&#39; into &#39;new_master&#39; * 修改部分readme * Merge branch &#39;test&#39; into &#39;new_master&#39; * test modified including readme.md sdkconfig ADD ft2004eg64 or 32 d20… * Merge branch &#39;release_1102&#39; into &#39;new_master&#39; * 添加例程图片和说明,补全部分例程的配置文件 * Merge branch &#39;v0.4.0release_11_04&#39; into &#39;new_master&#39; * V0.4.0release 11 04 * Merge branch &#39;0_4_0_test&#39; into &#39;new_master&#39; * 完善部分测试例程,如adc,pcie等 * Merge branch &#39;release_1028&#39; into &#39;new_master&#39; * GPIO/SPI/SDIO/USB 等例程支持 E2000Q Demo 板,修复部分驱动中的bug * Merge branch &#39;rtt_1025&#39; into &#39;new_master&#39; * 以 f 开头重命名系统文件名,增加一键导出 RT-Thread BSP 的脚本,修改 Kconfig 适应 scons * Merge branch &#39;sync_1021&#39; into &#39;new_master&#39; * Merge branch &#39;pub_1021&#39; into sync_1021 * Merge branch &#39;sata_0926&#39; into &#39;new_master&#39; * E2000 Sata控制器完善,适配demo板,对can的部分代码进行一些整理 * 新增soft pwm 与 sdk用户使用手册 * 新增soft pwm 与 sdk用户使用手册 * Merge branch &#39;sync_1019&#39; into &#39;new_master&#39; * Merge branch &#39;pub_1019&#39; into sync_1019 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * E2000支持USB XHCI, 支持轮询模式下获取键盘输入 * Merge branch &#39;dev&#39; into &#39;new_master&#39; * Gmac和Xmac bug解决 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * UART example add flaw control and ddma * Merge branch &#39;can_loopback_0915&#39; into &#39;new_master&#39; * 裸机can驱动完善 * Merge branch &#39;sync_0909&#39; into &#39;new_master&#39; * Merge branch &#39;pub_0909&#39; into sync_0909 * Merge branch &#39;sata_0831&#39; into &#39;new_master&#39; * 完善Sata和Qspi的接口,增加博雅flash的quad读适配 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * release board commit * Merge branch &#39;adc_qspi_0824&#39; into &#39;new_master&#39; * Adc适配Freertos造成的裸机驱动修改 * add cherry usb * Merge branch &#39;sync_0827&#39; into &#39;new_master&#39; * Merge branch &#39;pub_0827&#39; into sync_0827 * Merge branch &#39;sync&#39; into &#39;new_master&#39; * Merge branch &#39;sync&#39; of https://gitlab.phytium.com.cn/zhugengyu/phytium… * Merge branch &#39;pub&#39; into sync * Merge branch &#39;pub&#39; into sync * Merge branch &#39;e2000q_adapt_0815&#39; into &#39;new_master&#39; * E2000q adapt pwm * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * 补充E2000测试例程(gpio_test/spi_ddma/spi_loopback),完成FT2004回归测试(sdmmc_cmd) * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * E2000Q 支持更新 * Merge branch &#39;readme_v&#39; into &#39;new_master&#39; * 内容可能含有违规信息 * Merge branch &#39;gitee_v0.3.0&#39; into &#39;new_master&#39; * !49 v0.3.0 更新 * Merge branch &#39;E2000_TEST&#39; into &#39;new_master&#39; * E2000 v0.3 发布 * Merge branch &#39;v0_2_0_gitee&#39; into &#39;new_master&#39; * Merge branch &#39;0_2_0&#39; into &#39;new_master&#39; * build all, before push to gitee 0.2.0 * Merge branch &#39;gmac_phy_0526&#39; into &#39;new_master&#39; * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * iic_timer_tacho * Merge branch &#39;debug_0609&#39; into &#39;new_master&#39; * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch &#39;nand_0512&#39; into &#39;new_master&#39; * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch &#39;pwm_0525&#39; into &#39;new_master&#39; * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * fi2c_slave * Merge branch &#39;revert-425e915e&#39; into &#39;new_master&#39; * Revert &#34;Merge branch &#39;revert&#39; into &#39;new_master&#39;&#34; * Merge branch &#39;revert&#39; into &#39;new_master&#39; * revert version * Merge branch &#39;fi2c_0429&#39; into &#39;new_master&#39; * Fi2c 0429 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add fi2c_master * Merge branch &#39;xmac_gmac&#39; into &#39;new_master&#39; * Gmac and Xmac Restruct * Merge branch &#39;new_gic&#39; into &#39;new_master&#39; * New gic * Merge branch &#39;spi_0413&#39; into &#39;new_master&#39; * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * !40 Release v0.1.17 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add uart file * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch &#39;wdt_restruct&#39; into &#39;new_master&#39; * watchdog驱动重构与验证 * Merge branch &#39;qspi&#39; into &#39;new_master&#39; * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch &#39;ctest-pr-0317&#39; into &#39;new_master&#39; * redefine assert and shell cmd to support ctest * Merge branch &#39;openamp_update&#39; into &#39;new_master&#39; * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch &#39;release_0218&#39; into &#39;new_master&#39; * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch &#39;back&#39; into &#39;new_master&#39; * 修改多核问题,删除glibc * Merge branch &#39;sata&#39; into &#39;new_master&#39; * add pcie &amp; sata driver and example test * Merge branch &#39;rm_some_right&#39; into &#39;new_master&#39; * Rm some right
1 year ago
#include "fatomic.h"
3 years ago
mcs_lock_t *mcs_lock_instance = NULL;
!22 合入letter shell 和 libmetal (OpenAMP) * fix code style * Merge branch &#39;libmetal&#39; of https://gitee.com/yellow_crane/phytium-stan… * v0.1.0 发布 * update README.md * fix some file * 完成libmetal 功能添加 * remove gic init, which was remove to early stage * 合并备份 * compile all cases ok * support aarch32 defconfig * support amp defconfigs * d2000 AMP ok * fix some code * aarch64 模式下添加spinlock 功能 * 解决多核启动问题 * 修改 aarch64 GetAffinity 明天测试gicv3 * fix some warning * backup * update * 备份,准备合并shell * !7 合入多核脚本和ELF工具 * prepare to merge * Multcore ipi is ok * pack elf * add elfio tool * fix letter shell warning * add default configs * support linkscript.ld build with sdkconfig.h * backup multcore * arm-none-eabi-gcc -P -E aarch32_amp_slave_ram.c -o aarch32_amp_slave_ram.ld * add lds * add AMP lds * update doc * !6 合入letter shell * remove fig * update baremetal/example/letter_shell_test/README.md. * add readme * add readme template * add cmd * add cmd md, mw and reboot * setup letter shell * show title ok * shell start up ok * shell ok * update * intrrupt nok * add letter shell * v0.0.10 提交 * 准备发布v0.0.10 * GDMA 测试完毕 准备上传 * fix some bug * fix some bug * bdl 模式添加,待测试 * gdma 第一部分开发完成 待测试 * v0.0.9 合并 * 解决pcie 32bit 问题 * check pcie bug * 完成pcie 项目 * pcie dma 功能测试完成 * 等待pcie 测试 * 增加pcie 模块,并且测试了枚举功能 * 修改格式问题 * change all file to lf * 修改文件格式,修改脚本bug * v0.0.6 版本预备 * 准备上传 * 修改格式 * 完成canfd 驱动编写,ft2004测试完成,e2000待测 * 增加queue 功能 * 完成xmac 驱动待测试 * bdring 等待fix * 修改目录 * 正在开发网卡 * 测试完新的参数布局,等待e2000的测试 * float error is exit * spi driver is over * readly to test spi * 修改install.sh * 合并分支 * add spi ,gpio * 修改 e2000 aarch32 mmu 错误 * readly to upload * 增加kconfig 中 附加头文件功能 * v0.0.4 提交 * 完成aarch32 libc 的使用功能 * 存在libc 依赖某个特定编译链的问题 * 修改aarch32 启动不正常功能 * 完成rtt 项目 * 完成 rtt 64 与32bit 的问题 * 增加spin 测试
3 years ago
/* init mcs lock */
void FMcsLockInit(mcs_lock_t *lock)
!22 合入letter shell 和 libmetal (OpenAMP) * fix code style * Merge branch &#39;libmetal&#39; of https://gitee.com/yellow_crane/phytium-stan… * v0.1.0 发布 * update README.md * fix some file * 完成libmetal 功能添加 * remove gic init, which was remove to early stage * 合并备份 * compile all cases ok * support aarch32 defconfig * support amp defconfigs * d2000 AMP ok * fix some code * aarch64 模式下添加spinlock 功能 * 解决多核启动问题 * 修改 aarch64 GetAffinity 明天测试gicv3 * fix some warning * backup * update * 备份,准备合并shell * !7 合入多核脚本和ELF工具 * prepare to merge * Multcore ipi is ok * pack elf * add elfio tool * fix letter shell warning * add default configs * support linkscript.ld build with sdkconfig.h * backup multcore * arm-none-eabi-gcc -P -E aarch32_amp_slave_ram.c -o aarch32_amp_slave_ram.ld * add lds * add AMP lds * update doc * !6 合入letter shell * remove fig * update baremetal/example/letter_shell_test/README.md. * add readme * add readme template * add cmd * add cmd md, mw and reboot * setup letter shell * show title ok * shell start up ok * shell ok * update * intrrupt nok * add letter shell * v0.0.10 提交 * 准备发布v0.0.10 * GDMA 测试完毕 准备上传 * fix some bug * fix some bug * bdl 模式添加,待测试 * gdma 第一部分开发完成 待测试 * v0.0.9 合并 * 解决pcie 32bit 问题 * check pcie bug * 完成pcie 项目 * pcie dma 功能测试完成 * 等待pcie 测试 * 增加pcie 模块,并且测试了枚举功能 * 修改格式问题 * change all file to lf * 修改文件格式,修改脚本bug * v0.0.6 版本预备 * 准备上传 * 修改格式 * 完成canfd 驱动编写,ft2004测试完成,e2000待测 * 增加queue 功能 * 完成xmac 驱动待测试 * bdring 等待fix * 修改目录 * 正在开发网卡 * 测试完新的参数布局,等待e2000的测试 * float error is exit * spi driver is over * readly to test spi * 修改install.sh * 合并分支 * add spi ,gpio * 修改 e2000 aarch32 mmu 错误 * readly to upload * 增加kconfig 中 附加头文件功能 * v0.0.4 提交 * 完成aarch32 libc 的使用功能 * 存在libc 依赖某个特定编译链的问题 * 修改aarch32 启动不正常功能 * 完成rtt 项目 * 完成 rtt 64 与32bit 的问题 * 增加spin 测试
3 years ago
{
if (mcs_lock_instance != NULL)
{
return;
}
mcs_lock_instance = lock;
if (atomic_load(&mcs_lock_instance->is_ready) == 1)
{
return;
}
atomic_store(&mcs_lock_instance->tail, NULL);
atomic_store(&mcs_lock_instance->is_ready, 1);
!22 合入letter shell 和 libmetal (OpenAMP) * fix code style * Merge branch &#39;libmetal&#39; of https://gitee.com/yellow_crane/phytium-stan… * v0.1.0 发布 * update README.md * fix some file * 完成libmetal 功能添加 * remove gic init, which was remove to early stage * 合并备份 * compile all cases ok * support aarch32 defconfig * support amp defconfigs * d2000 AMP ok * fix some code * aarch64 模式下添加spinlock 功能 * 解决多核启动问题 * 修改 aarch64 GetAffinity 明天测试gicv3 * fix some warning * backup * update * 备份,准备合并shell * !7 合入多核脚本和ELF工具 * prepare to merge * Multcore ipi is ok * pack elf * add elfio tool * fix letter shell warning * add default configs * support linkscript.ld build with sdkconfig.h * backup multcore * arm-none-eabi-gcc -P -E aarch32_amp_slave_ram.c -o aarch32_amp_slave_ram.ld * add lds * add AMP lds * update doc * !6 合入letter shell * remove fig * update baremetal/example/letter_shell_test/README.md. * add readme * add readme template * add cmd * add cmd md, mw and reboot * setup letter shell * show title ok * shell start up ok * shell ok * update * intrrupt nok * add letter shell * v0.0.10 提交 * 准备发布v0.0.10 * GDMA 测试完毕 准备上传 * fix some bug * fix some bug * bdl 模式添加,待测试 * gdma 第一部分开发完成 待测试 * v0.0.9 合并 * 解决pcie 32bit 问题 * check pcie bug * 完成pcie 项目 * pcie dma 功能测试完成 * 等待pcie 测试 * 增加pcie 模块,并且测试了枚举功能 * 修改格式问题 * change all file to lf * 修改文件格式,修改脚本bug * v0.0.6 版本预备 * 准备上传 * 修改格式 * 完成canfd 驱动编写,ft2004测试完成,e2000待测 * 增加queue 功能 * 完成xmac 驱动待测试 * bdring 等待fix * 修改目录 * 正在开发网卡 * 测试完新的参数布局,等待e2000的测试 * float error is exit * spi driver is over * readly to test spi * 修改install.sh * 合并分支 * add spi ,gpio * 修改 e2000 aarch32 mmu 错误 * readly to upload * 增加kconfig 中 附加头文件功能 * v0.0.4 提交 * 完成aarch32 libc 的使用功能 * 存在libc 依赖某个特定编译链的问题 * 修改aarch32 启动不正常功能 * 完成rtt 项目 * 完成 rtt 64 与32bit 的问题 * 增加spin 测试
3 years ago
}
/* mcs lock */
void FMcsLock(mcs_lock_t *lock, mcs_node_t *node)
!49 v0.3.0 更新 * Merge branch &#39;E2000_TEST&#39; into &#39;new_master&#39; * E2000 v0.3 发布 * Merge branch &#39;v0_2_0_gitee&#39; into &#39;new_master&#39; * Merge branch &#39;0_2_0&#39; into &#39;new_master&#39; * build all, before push to gitee 0.2.0 * Merge branch &#39;gmac_phy_0526&#39; into &#39;new_master&#39; * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * iic_timer_tacho * Merge branch &#39;debug_0609&#39; into &#39;new_master&#39; * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch &#39;nand_0512&#39; into &#39;new_master&#39; * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch &#39;pwm_0525&#39; into &#39;new_master&#39; * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * fi2c_slave * Merge branch &#39;revert-425e915e&#39; into &#39;new_master&#39; * Revert &#34;Merge branch &#39;revert&#39; into &#39;new_master&#39;&#34; * Merge branch &#39;revert&#39; into &#39;new_master&#39; * revert version * Merge branch &#39;fi2c_0429&#39; into &#39;new_master&#39; * Fi2c 0429 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add fi2c_master * Merge branch &#39;xmac_gmac&#39; into &#39;new_master&#39; * Gmac and Xmac Restruct * Merge branch &#39;new_gic&#39; into &#39;new_master&#39; * New gic * Merge branch &#39;spi_0413&#39; into &#39;new_master&#39; * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * !40 Release v0.1.17 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add uart file * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch &#39;wdt_restruct&#39; into &#39;new_master&#39; * watchdog驱动重构与验证 * Merge branch &#39;qspi&#39; into &#39;new_master&#39; * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch &#39;ctest-pr-0317&#39; into &#39;new_master&#39; * redefine assert and shell cmd to support ctest * Merge branch &#39;openamp_update&#39; into &#39;new_master&#39; * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch &#39;release_0218&#39; into &#39;new_master&#39; * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch &#39;back&#39; into &#39;new_master&#39; * 修改多核问题,删除glibc * Merge branch &#39;sata&#39; into &#39;new_master&#39; * add pcie &amp; sata driver and example test * Merge branch &#39;rm_some_right&#39; into &#39;new_master&#39; * Rm some right
2 years ago
{
if (lock == NULL)
{
return;
}
if(atomic_load(&lock->is_ready) == 0)
{
return;
}
volatile mcs_node_t *prev;
node->next = NULL;/*初始化节点的next指针*/
atomic_store(&node->locked, 1);/*将节点的locked标志设置为1,表示锁定*/
prev = atomic_exchange(&lock->tail, node);/*将当前节点设置为新的尾部节点,并返回之前的尾部节点*/
if (prev != NULL)
{
atomic_store(&prev->next, node);/*将之前的尾部节点的next指针指向当前节点*/
while(atomic_load(&node->locked)) /*自旋等待,直到当前节点的locked标志被前驱节点清除*/
{
/*busy wait*/
}
}
!49 v0.3.0 更新 * Merge branch &#39;E2000_TEST&#39; into &#39;new_master&#39; * E2000 v0.3 发布 * Merge branch &#39;v0_2_0_gitee&#39; into &#39;new_master&#39; * Merge branch &#39;0_2_0&#39; into &#39;new_master&#39; * build all, before push to gitee 0.2.0 * Merge branch &#39;gmac_phy_0526&#39; into &#39;new_master&#39; * 完善gmac驱动,完善裸机lwip测试,适配freertos的lwip测试 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * iic_timer_tacho * Merge branch &#39;debug_0609&#39; into &#39;new_master&#39; * 支持汇编调试打印,修改异常打印,增加例程用于异常调试 * Merge branch &#39;nand_0512&#39; into &#39;new_master&#39; * Nand 0512 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 重构SDIO驱动,支持SD 2.0协议和DMA读写 * 合入Seamphore驱动,完成GDMA驱动重构 * 合入Seamphore驱动,完成GDMA驱动重构 * Merge branch &#39;pwm_0525&#39; into &#39;new_master&#39; * 重构CAN驱动,新增E2000 PWM、ADC驱动 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * 合入DDMA驱动,新增DDMA+SPI回环例程,更新PR Check list和编码规范 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * fi2c_slave * Merge branch &#39;revert-425e915e&#39; into &#39;new_master&#39; * Revert &#34;Merge branch &#39;revert&#39; into &#39;new_master&#39;&#34; * Merge branch &#39;revert&#39; into &#39;new_master&#39; * revert version * Merge branch &#39;fi2c_0429&#39; into &#39;new_master&#39; * Fi2c 0429 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add fi2c_master * Merge branch &#39;xmac_gmac&#39; into &#39;new_master&#39; * Gmac and Xmac Restruct * Merge branch &#39;new_gic&#39; into &#39;new_master&#39; * New gic * Merge branch &#39;spi_0413&#39; into &#39;new_master&#39; * 支持 LittleFS 和 Spiffs,新增 SPI 回环测试 * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * !40 Release v0.1.17 * Merge branch &#39;new_master&#39; into &#39;new_master&#39; * add uart file * Merge branch &#39;0_1_17&#39; into &#39;new_master&#39; * v0.1.17发布前覆盖测试 * 解决Issue:I2C 驱动速度无法调节至3.4M * 解决Issue:I2C 驱动速度无法调节至3.4M * Merge branch &#39;wdt_restruct&#39; into &#39;new_master&#39; * watchdog驱动重构与验证 * Merge branch &#39;qspi&#39; into &#39;new_master&#39; * 重构QSPI驱动,解耦驱动和FLASH关联,完善功能特性支持和测试例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * 重构芯片引脚控制和GPIO驱动,新增引脚控制相关例程 * Merge branch &#39;ctest-pr-0317&#39; into &#39;new_master&#39; * redefine assert and shell cmd to support ctest * Merge branch &#39;openamp_update&#39; into &#39;new_master&#39; * Openamp update * Release v0.1.16, Support USB and SATA * Release v0.1.16, Support USB and SATA * Merge branch &#39;release_0218&#39; into &#39;new_master&#39; * Release 0.1.16 进行发布例程功能测试,修改许可证为Phytium Public License 1.0 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * 合入FUSB和FXHCI驱动,支持通过FATFS读写U盘 * Merge branch &#39;back&#39; into &#39;new_master&#39; * 修改多核问题,删除glibc * Merge branch &#39;sata&#39; into &#39;new_master&#39; * add pcie &amp; sata driver and example test * Merge branch &#39;rm_some_right&#39; into &#39;new_master&#39; * Rm some right
2 years ago
}
/* mcs unlock */
void FMcsUnlock(mcs_lock_t *lock, mcs_node_t *node)
{
if (lock == NULL)
{
return;
}
if(atomic_load(&lock->is_ready) == 0)
{
return;
}
mcs_node_t *next = atomic_load(&node->next);
if (next == NULL) /*如果没有后继节点,尝试将tail设置为NULL*/
{
/*尝试将tail指针设置为NULL,表示锁已空闲*/
if (atomic_compare_exchange_strong(&lock->tail, &node, NULL))
{
return;
}
/*等待后继节点被设置*/
while ((next = atomic_load(&node->next)) == NULL)
{
/*busy wait*/
}
}
/*清除下一个节点的locked标志,释放锁*/
atomic_store(&next->locked, 0);
}