CN113360194A - Python-based drive generation method and system and electronic equipment - Google Patents
Python-based drive generation method and system and electronic equipment Download PDFInfo
- Publication number
- CN113360194A CN113360194A CN202110561119.6A CN202110561119A CN113360194A CN 113360194 A CN113360194 A CN 113360194A CN 202110561119 A CN202110561119 A CN 202110561119A CN 113360194 A CN113360194 A CN 113360194A
- Authority
- CN
- China
- Prior art keywords
- dtsi
- python
- file
- drive
- lcd
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004590 computer program Methods 0.000 claims description 13
- 238000000926 separation method Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 6
- BFBTVZNKWXWKNZ-HWKANZROSA-N (e)-3-[1-[(2,4-dichlorophenyl)methyl]-5-fluoro-3-methylindol-7-yl]-n-(4,5-dichlorothiophen-2-yl)sulfonylprop-2-enamide Chemical group C12=C(\C=C\C(=O)NS(=O)(=O)C=3SC(Cl)=C(Cl)C=3)C=C(F)C=C2C(C)=CN1CC1=CC=C(Cl)C=C1Cl BFBTVZNKWXWKNZ-HWKANZROSA-N 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Library & Information Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a drive generation method, a drive generation system and electronic equipment based on Python. Meanwhile, the dtsi file and the h file in the LCD screen driving file are compiled based on the form, the multi-platform applicability is high, the form can be made only according to the form in different platforms, the dtsi file does not need to be redesigned, and developers can complete file compiling only by extracting form information according to the LCD specification, and the method is not limited by the LCD and the driving IC hardware thereof. Meanwhile, the drive of the LCD is compiled in a tabulation mode, and the drive is combined with the advantages of simplicity and quickness in compiling of a Python program, high development efficiency and the like, so that the LCD drive transplanting flow is further simplified in the tabulation mode.
Description
Technical Field
The invention relates to the field of drive file generation of LCD screens, in particular to a Python-based drive generation method, a Python-based drive generation system and electronic equipment.
Background
The wafer factory has a short production capacity, and the LCD driver IC is not in demand. Except for the fact that the screen factory continues to use the existing mature design, LCD driving chips of other merchants are forced to be adopted, and the LCD screen formed by carrying new driving ICs on the panel changes due to the fact that initialization parameters, so that the LCD screen is a brand new product for developers and needs to invest great energy to be developed again. According to different products designed by OEMs, PCBAs in the same style can be selected to carry LCD screens in different sizes according to different markets and consumer groups, and developers need to light the LCD screens in different sizes according to customer requirements.
In the lighting of the existing LCD screen, products designed by different styles, models and developers need different drivers to be lighted, and the products cannot be designed in a unified way, so that the efficiency of the existing developers is lower when the existing developers write drive files facing the LCD screen.
The LCD-based boot process mainly includes Linux kernel (commonly known as kernel) boot and little kernel (commonly known as small kernel) boot. The LCD is started in the Linux kernel firstly, and then is transplanted to a small kernel (LK) for starting. It is apparent that the design of the two files, dtsi in the kernel and h in the small kernel, is the core of the LCD start-up. The two files are not ready to use and can only be designed according to the template in the code library and the actual hardware connection characteristics of the project, so that the problem of low efficiency of the existing developer in the face of writing the drive file of the LCD screen is caused
Disclosure of Invention
The invention provides a Python-based drive generation method, a Python-based drive generation system and electronic equipment, and aims to solve the problem that the traditional LCD screen drive file compiling efficiency is low.
According to an embodiment of the application, a Python-based drive generation method is provided, which includes the following steps: step S1: acquiring LCD panel parameters and an initialization instruction, and modifying XML data based on the LCD panel parameters and the initialization instruction; step S2: defining and configuring the panel gpio and regulator; step S3: generating a corresponding Timing form based on Python; step S4: generating a dtsi form and an h form based on the Timing form; and step S5: filling in corresponding areas of the dtsi form and the h form based on panel parameters, and generating a drive of the LCD.
Preferably, the step S3 mainly includes the following steps: step S31: selecting a dtsi file from a DTS library as a dtsi template, selecting an h file from a Display library as an h template, and respectively converting the h file into a txt format to obtain a txt document; and step S32: and obtaining the Timing form of the current dtsi template and the h template based on a program corresponding to Python.
Preferably, the step S4 mainly includes the following steps: step S41: filling and writing corresponding panel parameters into the Timing form, and automatically writing each filled panel parameter into the txt document based on Python; and step S42: and generating a corresponding dtsi form and an h form based on the Python and the updated txt document.
Preferably, the step S5 mainly includes the following steps: step S51: filling the panel parameters into the dtsi form and the h form, and automatically writing each filled panel parameter into the txt document based on Python; step S52: respectively restoring the updated txt document into a dtsi file and an h file; and step S53: and compiling and burning the drive codes based on the updated dtsi file and h file to obtain the drive of the LCD screen.
Preferably, the Timing form, dtsi form and h form are saved in a character separation value format.
The invention also provides a Python-based drive generation system, comprising: the initialization unit is used for acquiring LCD panel parameters and initialization instructions and modifying XML data based on the LCD panel parameters and the initialization instructions; a configuration unit for defining and configuring the panel gpio and the regulator; the first form generation unit is used for generating a corresponding Timing form based on Python; the second form generation unit is used for generating a dtsi form and an h form based on the Timing form; and the drive generating unit is used for filling in corresponding areas of the dtsi form and the h form based on the panel parameters to generate the drive of the LCD.
The invention also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program is configured to execute the Python-based drive generation method in any one of the above embodiments when running; the processor is arranged to execute the Python based drive generation method of any one of the above by the computer program.
The Python-based drive generation method provided by the invention has the following beneficial effects:
the two files of dtsi and h in the driving program of the LCD screen are made into a universal dtsi form and a universal h form, corresponding parameter positions in the two files of dtsi and h are replaced and modified based on Python software, manual searching and positioning are not needed, meanwhile, the two files of dtsi and h in the driving file of the LCD screen are compiled based on the form, the multi-platform applicability is high, the form can be made only according to formats in different platforms, the dtsi file does not need to be redesigned, developers can complete file compiling only by extracting form information according to an LCD specification, and the limitation of LCD and driving IC hardware is avoided. Meanwhile, the drive of the LCD is compiled in a tabulation mode, and the advantages of simplicity, quickness, high development efficiency and the like of the Python program compiling are combined, so that the LCD drive transplanting process is further simplified in a tabulation mode, the working pressure of developers is practically reduced, and the development efficiency is greatly improved. Furthermore, the form is friendly in man-machine interaction, the description of the node name and the corresponding Chinese description are provided in the form, and the threshold requirement of a developer on LCD driving writing is lowered.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a Python-based drive generation method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of step S3 in the Python-based drive generation method according to the first embodiment of the present invention.
Fig. 3 is a flowchart of step S4 in the Python-based drive generation method according to the first embodiment of the present invention.
Fig. 4 is a flowchart of step S5 in the Python-based drive generation method according to the first embodiment of the present invention.
Fig. 5 is a block diagram of a Python-based drive generation system according to a second embodiment of the present invention.
Fig. 6 is a block diagram of an electronic device according to a third embodiment of the present invention.
Description of reference numerals:
1. an initialization unit; 2. a configuration unit; 3. a first form generation unit; 4. a second form generation unit;
5. a drive generation unit;
10. a memory; 20. a processor.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
Referring to fig. 1, a first embodiment of the present invention discloses a Python-based driver generation method, which includes the following steps:
step S1: and acquiring LCD panel parameters and an initialization instruction, and modifying the XML data based on the LCD panel parameters and the initialization instruction.
Step S2: the panel gpio and regulator are defined and configured.
Step S3: based on Python, the corresponding Timing form is generated.
Step S4: based on the Timing form, a dtsi form and an h form are generated. And
step S5: filling in corresponding areas of the dtsi form and the h form based on panel parameters, and generating a drive of the LCD.
It is to be understood that, in step S1, the panel parameters and the initialization command of the LCD screen are factory data of the LCD screen, and the supplier provides the user to modify the corresponding XML data based on the provided panel parameters.
It can be understood that, in step S3, the user designs a Timing form for generating the LCD screen by using Python software, the Timing information of the LCD and MIPI clocks is only closely related to the frame rate, Lane number, panel resolution and CPU platform, the Timing value is mainly calculated from the above panel parameters, for example, a platform has a spreadsheet dsi _ Timing _ parameters _ user _ interactive _ spaadmeasable.
It is understood that in step S4, the generation of the dtsi form and the h form is not performed until the Timing form in step S3 is updated and the drive data is updated.
It can be understood that, in step S5, a plurality of different panel parameters of the current LCD screen are respectively filled in the corresponding form positions, and the obtained dtsi form and h form sort the node names, the user only needs to fill in the corresponding panel parameters in the form positions, after the filling is completed, the form compiles and modifies the driver file based on the filled panel parameters, and the modification and replacement process is completed by Python, without entering the complex dtsi file and h file to find out the specified positions and modify alone.
It is understood that in step S5, the DTSI form has multiple data items in DTSI file, such as "panel name", "panel type", "horizontal front edge value", "horizontal back edge value", and the foregoing several items are displayed with DTSI node names synchronously, for example, in the DTSI form, the DTSI node name is qcom, mdss-dsi-panel-name, the corresponding description is "panel name", and the blank column is filled with data of the panel name.
It is understood that in the present embodiment, the LCD driving configuration is described by taking a high-pass platform used by various manufacturers as an example, the LCD driving migration mainly includes code configuration of Kernel and small Kernel LK, code configuration required by Kernel includes dsi-panel-xx-video.dtsi, msmxx-mdss.dtsi, msmxx-mtp.dtsi, msmxx-pinctrl.dtsi, etc., code configuration required by Kernel includes oem _ panel.c and panel _ xx _ video.h.
It can be understood that in the present embodiment, the two files, namely, dtsi in the kernel and h in the small kernel, are designed as the core of the LCD start-up, and the contents of the two files have their own rules, which are strongly related to the parameters of the panel and the initialization instructions provided by the supplier, which provides the basis for the programming implementation of the parameter extraction and filling.
Referring to fig. 2, the step S3 mainly includes the following steps:
step S31: and selecting a dtsi file from the DTS library as a dtsi template, selecting an h file from the Display library as an h template, and respectively converting the h file into a txt format to obtain a txt document. And
step S32: and obtaining the Timing form of the current dtsi template and the h template based on a program corresponding to Python.
It can be understood that, in step S31, the dtsi template and the h template are respectively selected, and for development convenience, the dtsi template and the h template are first converted into a txt plain text format for processing, where the txt document of the dtsi template and the txt document of the h template both have corresponding Timing information, and the Timing form in step S3 collectively contains the Timing information of the dtsi template and the Timing information of the h template.
It is to be understood that in step S32, a getPanel _ Timing _ dtsi. py script program is run to generate the Timing form dtsi _ timing.csv in the current dtsi file based on Python.
Referring to fig. 3, the step S4 mainly includes the following steps:
step S41: and filling and writing corresponding panel parameters in the Timing form, and automatically writing each filled panel parameter into the txt document based on Python. And
step S42 generates a corresponding dtsi form and h form based on the Python and the updated txt document.
It is understood that in step S41, the Timing form is based on Python software to perform replacement modification on the parameters of the txt document.
It is understood that in step S42, the getPanel _ dtsi. py script program is run to obtain the form panel _ dtsi. csv (dtsi form) in the updated.dtsi file. And simultaneously, running a getPage _ h.py script program to obtain the form panel _ h.csv (h form) in the updated h file.
It is to be understood that, in step S42, for the sake of development convenience, and since the dtsi template and the h template store table data in the format of plain text (txt) in step S31, the Timing form, the dtsi form, and the h form are no longer saved in the xlsx table format, but are saved in the character separation value format (CsV format).
It can be understood that before the dtsi form and the h form are made, the Timing form needs to be updated, because the dtsi file includes the clock Timing information of the MIPI interface in addition to some basic information in the form, and the h file also relates to the calling of the Timing information.
Referring to fig. 4, the step S5 mainly includes the following steps:
step S51: and filling the panel parameters in the dtsi form and the h form, and automatically writing each filled panel parameter into the txt document based on Python.
Step S52: and respectively restoring the updated txt document into a dtsi file and an h file. And
step S53: and compiling and burning the drive codes based on the updated dtsi file and h file to obtain the drive of the LCD screen.
It is understood that, in step S51, based on the obtained dtsi form and h form, the filling is selected from the panel parameters of the LCD screen and written into the two forms, and the position specified in txt is modified by Python software.
It is to be understood that, in step S52, based on the update of the txt document in step S41 and step S51, the txt document is format-converted into the.dtsi and.h file formats, respectively, and two files of modified updated.dtsi and.h are obtained.
It can be understood that, in step S53, the obtained dtsi file and h file are compiled and burned as driver codes to be used as driver IC files of the current LCD screen, that is, the driver writing of the LCD screen can be completed.
It is understood that the above steps S31, S32, S41, S42, S51, S52 and S53 are sequentially performed in series.
Referring to fig. 5, a second embodiment of the present invention provides a Python-based driver generation system, which adopts the Python-based driver generation method provided in the first embodiment, and the system includes:
and the initialization unit 1 is used for acquiring the LCD panel parameters and the initialization instructions and modifying the XML data based on the LCD panel parameters and the initialization instructions.
A configuration unit 2 for defining and configuring the panel gpio and the regulator.
And the first form generating unit 3 is configured to generate a corresponding Timing form based on Python.
And the second form generating unit 4 is used for generating a dtsi form and an h form based on the Timing form. And
and the drive generating unit 5 is used for filling in corresponding areas of the dtsi form and the h form based on the panel parameters to generate the drive of the LCD.
Referring to fig. 6, a third embodiment of the present invention provides an electronic device, where the electronic device includes a memory 10 and a processor 20, and the memory 10 stores therein an arithmetic computer program, and the arithmetic computer program is configured to execute, when running, the steps in any one of the embodiments of the Python-based drive generation method. The processor 20 is arranged to execute the steps of any of the Python based drive generation method embodiments described above by means of the arithmetic machine program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of an operating machine network.
The Python-based drive generation method provided by the invention has the following beneficial effects:
the two files of dtsi and h in the driving program of the LCD screen are made into a universal dtsi form and a universal h form, corresponding parameter positions in the two files of dtsi and h are replaced and modified based on Python software, manual searching and positioning are not needed, meanwhile, the two files of dtsi and h in the driving file of the LCD screen are compiled based on the form, the multi-platform applicability is high, the form can be made only according to formats in different platforms, the dtsi file does not need to be redesigned, developers can complete file compiling only by extracting form information according to an LCD specification, and the limitation of LCD and driving IC hardware is avoided. Meanwhile, the drive of the LCD is compiled in a tabulation mode, and the advantages of simplicity, quickness, high development efficiency and the like of the Python program compiling are combined, so that the LCD drive transplanting process is further simplified in a tabulation mode, the working pressure of developers is practically reduced, and the development efficiency is greatly improved. Furthermore, the form is friendly in man-machine interaction, the description of the node name and the corresponding Chinese description are provided in the form, and the threshold requirement of a developer on LCD driving writing is lowered.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart.
Which when executed by a processor performs the above-described functions defined in the method of the present application. It should be noted that the computer memory described herein may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer memory may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
More specific examples of computer memory may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable signal medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an initialization unit, a configuration unit, a first form generation unit, a second form generation unit, and a drive generation unit. The names of these units do not in some cases constitute a limitation to the units themselves, and for example, the drive generation unit may also be described as "a unit for generating a drive of the LCD by filling in the corresponding areas of the dtsi form and the h form based on the panel parameters".
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (7)
1. A Python-based drive generation method is characterized by comprising the following steps: the method comprises the following steps:
step S1: acquiring LCD panel parameters and an initialization instruction, and modifying XML data based on the LCD panel parameters and the initialization instruction;
step S2: defining and configuring the panel gpio and regulator;
step S3: generating a corresponding Timing form based on Python;
step S4: generating a dtsi form and an h form based on the Timing form; and
step S5: filling in corresponding areas of the dtsi form and the h form based on panel parameters, and generating a drive of the LCD.
2. A Python-based drive generation method according to claim 1, wherein: the step S3 mainly includes the following steps:
step S31: selecting a dtsi file from a DTS library as a dtsi template, selecting an h file from a Display library as an h template, and respectively converting the h file into a txt format to obtain a txt document; and
step S32: and obtaining the Timing form of the current dtsi template and the h template based on a program corresponding to Python.
3. A Python-based drive generation method according to claim 2, wherein: the step S4 mainly includes the following steps:
step S41: filling and writing corresponding panel parameters into the Timing form, and automatically writing each filled panel parameter into the txt document based on Python; and
step S42 generates a corresponding dtsi form and h form based on the Python and the updated txt document.
4. A Python-based drive generation method according to claim 3, wherein: the step S5 mainly includes the following steps:
step S51: filling the panel parameters into the dtsi form and the h form, and automatically writing each filled panel parameter into the txt document based on Python;
step S52: respectively restoring the updated txt document into a dtsi file and an h file; and
step S53: and compiling and burning the drive codes based on the updated dtsi file and h file to obtain the drive of the LCD screen.
5. A Python-based drive generation method according to claim 4, wherein: and the Timing form, the dtsi form and the h form are stored in a character separation value format.
6. A Python-based drive generation system, characterized in that: the method comprises the following steps:
the initialization unit is used for acquiring LCD panel parameters and initialization instructions and modifying XML data based on the LCD panel parameters and the initialization instructions;
a configuration unit for defining and configuring the panel gpio and the regulator;
the first form generation unit is used for generating a corresponding Timing form based on Python;
the second form generation unit is used for generating a dtsi form and an h form based on the Timing form; and
and the drive generation unit is used for filling in corresponding areas of the dtsi form and the h form based on the panel parameters to generate the drive of the LCD.
7. An electronic device comprising a memory and a processor, characterized in that: a computer program stored in the memory, the computer program being arranged to perform the Python based driver generation method of any one of claims 1 to 5 when executed;
the processor is arranged to execute the Python based driver generation method of any one of claims 1 to 5 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110561119.6A CN113360194B (en) | 2021-05-22 | 2021-05-22 | Python-based drive generation method and system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110561119.6A CN113360194B (en) | 2021-05-22 | 2021-05-22 | Python-based drive generation method and system and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113360194A true CN113360194A (en) | 2021-09-07 |
CN113360194B CN113360194B (en) | 2024-06-14 |
Family
ID=77526649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110561119.6A Active CN113360194B (en) | 2021-05-22 | 2021-05-22 | Python-based drive generation method and system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113360194B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2008200148A1 (en) * | 2001-09-10 | 2008-02-21 | Igt | Method for developing gaming programs compatible with a computerized gaming operating system and apparatus |
CN101241448A (en) * | 2008-03-07 | 2008-08-13 | 浪潮集团山东通用软件有限公司 | Agile method for inquiring display content driven by multi-conditions |
US20090019262A1 (en) * | 2007-07-12 | 2009-01-15 | Texas Instruments Incorporated | Processor micro-architecture for compute, save or restore multiple registers, devices, systems, methods and processes of manufacture |
US20090259612A1 (en) * | 2008-04-11 | 2009-10-15 | Trevor Hanson | Message conduit systems with algorithmic data stream control and methods for processing thereof |
US20130346302A1 (en) * | 2012-06-20 | 2013-12-26 | Visa International Service Association | Remote Portal Bill Payment Platform Apparatuses, Methods and Systems |
US20180329893A1 (en) * | 2015-03-03 | 2018-11-15 | WonderHealth, LLC | Secure data translation using machine-readable identifiers |
WO2019042323A1 (en) * | 2017-08-30 | 2019-03-07 | 深圳市道通科技股份有限公司 | Multi-drive compatible control apparatus and realisation method |
CN110998487A (en) * | 2017-08-23 | 2020-04-10 | 英特尔公司 | System, apparatus and method for adaptive operating voltage in Field Programmable Gate Array (FPGA) |
CN111414348A (en) * | 2019-01-08 | 2020-07-14 | 顺丰科技有限公司 | Method and device for modifying database instance parameters |
CN111488274A (en) * | 2020-03-27 | 2020-08-04 | 杭州海兴电力科技股份有限公司 | Test case construction method, test equipment and storage medium |
US10810110B1 (en) * | 2018-01-25 | 2020-10-20 | Intuit Inc. | Methods, systems, and articles of manufacture for testing web services using a behavior-driven development domain specific language framework |
-
2021
- 2021-05-22 CN CN202110561119.6A patent/CN113360194B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2008200148A1 (en) * | 2001-09-10 | 2008-02-21 | Igt | Method for developing gaming programs compatible with a computerized gaming operating system and apparatus |
US20090019262A1 (en) * | 2007-07-12 | 2009-01-15 | Texas Instruments Incorporated | Processor micro-architecture for compute, save or restore multiple registers, devices, systems, methods and processes of manufacture |
CN101241448A (en) * | 2008-03-07 | 2008-08-13 | 浪潮集团山东通用软件有限公司 | Agile method for inquiring display content driven by multi-conditions |
US20090259612A1 (en) * | 2008-04-11 | 2009-10-15 | Trevor Hanson | Message conduit systems with algorithmic data stream control and methods for processing thereof |
US20130346302A1 (en) * | 2012-06-20 | 2013-12-26 | Visa International Service Association | Remote Portal Bill Payment Platform Apparatuses, Methods and Systems |
US20180329893A1 (en) * | 2015-03-03 | 2018-11-15 | WonderHealth, LLC | Secure data translation using machine-readable identifiers |
CN110998487A (en) * | 2017-08-23 | 2020-04-10 | 英特尔公司 | System, apparatus and method for adaptive operating voltage in Field Programmable Gate Array (FPGA) |
WO2019042323A1 (en) * | 2017-08-30 | 2019-03-07 | 深圳市道通科技股份有限公司 | Multi-drive compatible control apparatus and realisation method |
US10810110B1 (en) * | 2018-01-25 | 2020-10-20 | Intuit Inc. | Methods, systems, and articles of manufacture for testing web services using a behavior-driven development domain specific language framework |
CN111414348A (en) * | 2019-01-08 | 2020-07-14 | 顺丰科技有限公司 | Method and device for modifying database instance parameters |
CN111488274A (en) * | 2020-03-27 | 2020-08-04 | 杭州海兴电力科技股份有限公司 | Test case construction method, test equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
MING-WEI HSU ET AL: "A cost-effective offset cancellation structure for LCD source driver", 《2014 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS)》, pages 2317 - 2320 * |
冯守博 等: "光栅测量芯片中显示接口的设计", 《电子器件》, vol. 31, no. 1, pages 265 - 267 * |
张芝贤 等: "LCD显示模块并行接口驱动程序设计", 《国外电子测量技术》, vol. 28, no. 10, pages 64 - 68 * |
李然: "基于CAN总线的电动公交车LCD显示系统设计", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 6, pages 136 - 46 * |
Also Published As
Publication number | Publication date |
---|---|
CN113360194B (en) | 2024-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109739478B (en) | Front-end project automatic construction method and device, storage medium and electronic equipment | |
CN108984160B (en) | Informationized rapid development framework system based on componentization | |
CN108228287B (en) | QT-based user interface control generation method and device | |
US7673292B2 (en) | Auto conversion of tests between different functional testing tools | |
CN111740948B (en) | Data packet issuing method, dynamic updating method, device, equipment and medium | |
CN106775744B (en) | Method and device for generating static library | |
CN113126990B (en) | Page development method, device, equipment and storage medium | |
US10120660B2 (en) | Systems and methods for producing launchers for a mobile terminal | |
CN103309659A (en) | User interface dynamic generation method and device based on rich client platform | |
CN110389755B (en) | Code processing method and device, electronic equipment and computer readable storage medium | |
CN114077430A (en) | Interface generation method and device, electronic equipment and storage medium | |
CN102262684A (en) | Method and device for generating webpage page of mobile terminal | |
CN114020256A (en) | Front-end page generation method, device and equipment and readable storage medium | |
CN110764864A (en) | Terraform-based visual resource arrangement method | |
CN114706616A (en) | Applet construction method and device | |
CN114217789A (en) | Function component expansion method, device, equipment, storage medium and program product | |
CN114398282A (en) | Test script generation method, device, equipment and storage medium | |
CN113360194B (en) | Python-based drive generation method and system and electronic equipment | |
CN116562791A (en) | Business node definition method and device based on BPMN standard | |
CN115269285A (en) | Test method and device, equipment and computer readable storage medium | |
CN114329859A (en) | Box routing configuration method and system, electronic equipment and storage medium | |
CN114385155A (en) | vue project visualization tool generation method, device, equipment and storage medium | |
CN113918194A (en) | Page component display method and device, electronic equipment and storage medium | |
US6976188B2 (en) | System and method for creating a customized power on self test (POST) program for use in a computing system | |
CN116775174A (en) | Processing method, device, equipment and medium based on user interface frame |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |