Skip to content

Commit

Permalink
Rev.F. Update software and firmware build docs
Browse files Browse the repository at this point in the history
Committer: Robson Martins <robsonsmartins@gmail.com>
  • Loading branch information
robsonsmartins committed Oct 20, 2023
1 parent 6938c7c commit fccaa6c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.sch linguist-language=KiCad-Schematic linguist-detectable
*.kicad_sch linguist-language=KiCad-Schematic linguist-detectable
*.kicad_pcb linguist-language=KiCad-Layout linguist-detectable
*.kicad_mod linguist-language=KiCad-Layout linguist-detectable
9 changes: 9 additions & 0 deletions firmware/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,15 @@ pacman -S mingw-w64-x86_64-toolchain git make libtool pkg-config autoconf automa

Now it will be possible to execute and get the return of `cmake --version`.

8. Run the commands:

```shell
echo "alias make=mingw32-make.exe" >> ~/.profile
source ~/.profile
```

This will configure the command `make` to call, the utility provided in the MinGW package.

### Install Python

Pico's SDK needs Python to script and automate some of the build functions.
Expand Down
9 changes: 9 additions & 0 deletions software/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,15 @@ In this tutorial the [Git-2.31.1-64-bit.exe](https://github.com/git-for-windows/
3. When you get to the screen asking you to "choose a default editor", feel free to choose whatever you want.
A good option is [Notepad++](https://notepad-plus-plus.org/), and if you don't have it installed, you can select Notepad (Windows default), if you don't want to use an editor in console mode.

4. After installation, open the Git Bash and run the commands:

```shell
echo "alias make=mingw32-make.exe" >> ~/.profile
source ~/.profile
```

This will configure the command `make` to call, via Git Bash, the utility provided in the Qt/MinGW package.

### Install CMake

CMake is a build utility, which helps to automate the process of building programs.
Expand Down

0 comments on commit fccaa6c

Please sign in to comment.