Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
mfang2.0
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • 魔方Web开发组
  • mfang2.0
  • Issues
  • #420

Closed
Open
Opened Aug 05, 2022 by 宋永裕@songyongyu💬
  • Report abuse
  • New issue
Report abuse New issue

[Bug] Django后端,作为插入内容的初始化函数块,如果有结构体,未能初始化相关结构体

{
    "results": {
        "pins": [],
        "peripheral": [
            {
                "peripheral": "UART2",
                "name": "FUNINIT",
                "param": {
                    "IsDock": true,
                    "Instance": "UART2",
                    "FunctionNameExtra": "Function_Mode",
                    "InitFunction": "FL_UART_SetMode",
                    "InitType": "NoStruct",
                    "FunctionParam": [
                        "instance",
                        "mode"
                    ],
                    "ParamMember": {},
                    "InitStruct": {
                        "Type": "vel",
                        "member": {
                            "mode": "FL_UART_MODESEL_NON_UART"
                        }
                    }
                },
                "children": [
                    {
                        "Dock": "Mode",
                        "DockType": "FUNINIT",
                        "Instance": "UART2",
                        "InitFunction": "FL_U7816_Init",
                        "FunctionParam": {
                            "param1": "Instance",
                            "param2": "Struct Addr"
                        },
                        "InitStruct": {
                            "Type": "FL_UART_U7816_InitTypeDef",
                            "member": {
                                "outputClockFreqence": "4000000",
                                "txAutoRetry": "FL_ENABLE",
                                "retryCnt": "FL_U7816_RETRY_COUNT_1",
                                "parity": "FL_U7816_PARITY_EVEN",
                                "rxGuardTime": "FL_U7816_RX_GUARD_TIME_2ETU",
                                "errorGuardTime": "FL_U7816_ERROR_GUARD_TIME_1ETU",
                                "errorSignalWidth": "FL_U7816_ERROR_SIGNAL_WIDTH_2ETU",
                                "rxAutoErrorSignal": "FL_ENABLE",
                                "blockGuard": "FL_DISABLE",
                                "transferOrder": "FL_U7816_BIT_ORDER_LSB_FIRST",
                                "baud": 371,
                                "extraGuardTime": 0
                            }
                        }
                    }
                ]
            }
        ],
        "NVIC": []
    },
    "middleware": []
}
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
已跟进 测试中
Assign labels
  • View project labels
Reference: fmsh-web-develop/mfang2.0#420