It seems that there are thousands of coding style problem,I was frightened....this is a difficult task for me,Is there any tools that can automatically modify the coding style problem? ------------------ Original ------------------ From: "Alan Carvalho de Assis"<acas...@gmail.com>; Date: Sat, Jan 15, 2022 07:38 PM To: "dev"<dev@nuttx.apache.org>;
Subject: Re: Support of SPARC architecture That is a great news mister Zou! I saw there are some file that need to have its coding style fixed to pass in the CI test: https://github.com/apache/incubator-nuttx/runs/4826456444?check_suite_focus=true You can also check locally the coding style using the checkpatch, this way: $ ./tools/checkpatch.sh -f arch/arm/src/am335x/am335x_boot.c In this case am335x_boot.c doesn't have any issue, then it doesn't return anything, but your files with issues will return hints explaining which line you need to modify. BR, Alan On 1/15/22, fft <f...@feedforward.com.cn> wrote: > I have commit code to add SPARC support&nbsp; > &nbsp; > ------------------&nbsp;Original&nbsp;------------------ > From: &nbsp;"Alan&nbsp;Carvalho&nbsp;de&nbsp;Assis"<acas...@gmail.com&gt;; > Date: &nbsp;Wed, Jan 12, 2022 08:57 PM > To: &nbsp;"dev"<dev@nuttx.apache.org&gt;; > > Subject: &nbsp;Re: Support of SPARC architecture > > &nbsp; > > Hi Zou, > > That is amazing! We have already companies using NuttX for satellites > (there is a video about it at NuttX Channel). > > Yes, please submit a Pull Request in our github to add Spark support, > that will be welcome! > > BR, > > Alan > > On 1/12/22, fft <f...@feedforward.com.cn&gt; wrote: > &gt; > &gt; Hi, Teams > &gt; > &gt; > &gt;Two years ago, we tried to use NuttX on satellites, > &gt; and I started the work to porting nuttx to BM3803, a SPARC V8 > &gt; architecture chip manufactured by BMTI(Beijing Microelectronics > Technology > &gt; Institute) which is based on open source CPU core----LEON 2 released > &gt; by Cobham Gaisler. about the SPARC V8 and LEON 2 see : > &gt; > &gt; https://www.gaisler.com/index.php/products/processors > &gt; > &gt; BTW the chip of AT697F of ESA(European Space > &gt; Agency) is also based on LEON 2 see: > &gt; > &gt; > https://amstel.estec.esa.int/tecedm/website/conferences/PresentationDays/AT697_Atmel.pdf > &gt; > &gt;I finished the whole work last year, Include > &gt; architecture support code and board support code, I even completed and > &gt; verified the Tickless OS mode and ELF file separate load on this SPARC > V8 > &gt; chip. Due to some reasons, the project leader did not adopt nuttx in > the > &gt; end, and I want to contribute code to the community. > &gt; > &gt; > &gt; The Toolchain of SPARC V8 is standard SPARC gnu gcc > &gt; released by Gaisler which can be download at: > &gt; > &gt; > &gt; https://www.gaisler.com/index.php/downloads/compilers > &gt; > &gt; > &gt; I initiated this discussion to seek your opinions, > &gt; whether NuttX agree to include the SPARC arch in the scope of support > ? > &gt; > &gt; > &gt; Best regards, > &gt; Zou