mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-27 23:37:25 +00:00
windows: add info on required toolchain
This commit is contained in:
parent
3cda7aede8
commit
5b53c16ecf
@ -6,19 +6,19 @@ Make sure to manually reset the Bluetooth Controller before starting any of the
|
|||||||
|
|
||||||
## Toolchain
|
## Toolchain
|
||||||
|
|
||||||
The port requires a Unix-like toolchain. We successfully used [mingw-w64](https://mingw-w64.org/doku.php) to compile and run the examples. mingw64-w64 is based on [MingW](mingw.org) which has a good summary 'MinGW provides a complete Open Source programming tool set which is suitable for the development of native MS-Windows applications, and which do not depend on any 3rd-party C-Runtime DLLs.'
|
The port requires a Unix-like toolchain. We successfully used [mingw-w64](https://mingw-w64.org/doku.php) to compile and run the examples. mingw64-w64 is based on [MinGW](mingw.org), which '...provides a complete Open Source programming tool set which is suitable for the development of native MS-Windows applications, and which do not depend on any 3rd-party C-Runtime DLLs.'
|
||||||
|
|
||||||
We've used the Msys2 package available from their [downloads page](https://mingw-w64.org/doku.php/download) on Windows 10, 64-bit and use the MSYS2 MinGW 32-bit start menu item to compile 32-bit binaries that run on both 32/64-bit systems.
|
We've used the Msys2 package available from the [downloads page](https://mingw-w64.org/doku.php/download) on Windows 10, 64-bit and use the MSYS2 MinGW 32-bit start menu item to compile 32-bit binaries that run on both 32/64-bit systems.
|
||||||
|
|
||||||
IN the MSYS2 shell, you can install git, winpty, and python with pacman:
|
In the MSYS2 shell, you can install git, python, and, winpty with pacman:
|
||||||
|
|
||||||
$ pacman -S git
|
$ pacman -S git
|
||||||
$ pacman -S winpty
|
|
||||||
$ pacman -S python
|
$ pacman -S python
|
||||||
|
$ pacman -S winpty
|
||||||
|
|
||||||
## Compilation
|
## Compilation
|
||||||
|
|
||||||
With mingw64 installed, just go to the port/windows-winusb directory and run make
|
With mingw64-w64 installed, just go to the port/windows-winusb directory and run make
|
||||||
|
|
||||||
$ cd btstack/port/windows-winusb
|
$ cd btstack/port/windows-winusb
|
||||||
$ make
|
$ make
|
||||||
@ -29,4 +29,3 @@ When running the examples in the MSYS2 shell, the console input (via btstack_std
|
|||||||
|
|
||||||
$ winpty ./spp_and_le_counter.exe
|
$ winpty ./spp_and_le_counter.exe
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,19 +17,19 @@ It works like this:
|
|||||||
|
|
||||||
## Toolchain
|
## Toolchain
|
||||||
|
|
||||||
The port requires a Unix-like toolchain. We successfully used [mingw-w64](https://mingw-w64.org/doku.php) to compile and run the examples. mingw64-w64 is based on [MingW](mingw.org) which has a good summary 'MinGW provides a complete Open Source programming tool set which is suitable for the development of native MS-Windows applications, and which do not depend on any 3rd-party C-Runtime DLLs.'
|
The port requires a Unix-like toolchain. We successfully used [mingw-w64](https://mingw-w64.org/doku.php) to compile and run the examples. mingw64-w64 is based on [MinGW](mingw.org), which '...provides a complete Open Source programming tool set which is suitable for the development of native MS-Windows applications, and which do not depend on any 3rd-party C-Runtime DLLs.'
|
||||||
|
|
||||||
We've used the Msys2 package available from their [downloads page](https://mingw-w64.org/doku.php/download) on Windows 10, 64-bit and use the MSYS2 MinGW 32-bit start menu item to compile 32-bit binaries that run on both 32/64-bit systems.
|
We've used the Msys2 package available from the [downloads page](https://mingw-w64.org/doku.php/download) on Windows 10, 64-bit and use the MSYS2 MinGW 32-bit start menu item to compile 32-bit binaries that run on both 32/64-bit systems.
|
||||||
|
|
||||||
IN the MSYS2 shell, you can install git, winpty, and python with pacman:
|
In the MSYS2 shell, you can install git, python, and, winpty with pacman:
|
||||||
|
|
||||||
$ pacman -S git
|
$ pacman -S git
|
||||||
$ pacman -S winpty
|
|
||||||
$ pacman -S python
|
$ pacman -S python
|
||||||
|
$ pacman -S winpty
|
||||||
|
|
||||||
## Compilation
|
## Compilation
|
||||||
|
|
||||||
With mingw64 installed, just go to the port/windows-winusb directory and run make
|
With mingw64-w64 installed, just go to the port/windows-winusb directory and run make
|
||||||
|
|
||||||
$ cd btstack/port/windows-winusb
|
$ cd btstack/port/windows-winusb
|
||||||
$ make
|
$ make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user