rename homekit since it failed to build now

This commit is contained in:
hathach committed 2019-04-05 00:46:01 +07:00
1 parent 865ac99c7f
commit a5bc1f71e6
3 files changed
+1 -45

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ Bluefruit's Bootloader is self-upgradable, you could upgrade to the latest Bootl
- Select `Tools > Burn Bootloader`
- **WAIT** until the process complete ~30 seconds
Note: close the Serial Monitor before you click "Burn Bootloader". Afterwards, you shouldn't close the Arduino IDE, unplug the Feather, launch Serial Monitor etc ... to abort the process. There is a high chance it will brick your device! Do this with care and caution.
**Note: close the Serial Monitor before you click "Burn Bootloader". Afterwards, you shouldn't close the Arduino IDE, unplug the Feather, launch Serial Monitor etc ... to abort the process. There is a high chance it will brick your device! Do this with care and caution.**
### Burning new Bootloader
-44
View File
@@ -1,44 +0,0 @@
## Windows 32-bit Python side-by-side 64-bit Python
Typically on Windows you will install the 64-bit version of Python, however
this presents a challenge when building binaries with cx_Freeze since it will
use this 64-bit version of Python exclusively. To generate a 32-bit binary you
will need to install a 32-bit version of Python side-by-side the 64-bit version.
Unfortunately this is a tricky process but it can be simplified using the
virtualenv tool.
The steps below outline a general process for installing 64-bit Python as the
main Python interpretor and using a 32-bit Python virtualenv side-by-side to
build 32-bit executables with cx_Freeze.
First install Python 2.7 **x64** in its normal C:\Python27 location.
Next install Python 2.7 **x86** but override the location to be something unique
like C:\Python27-x86. Also you **must** set the register extensions option in the
installer to disabled/not installed (this will prevent the 32-bit version taking
over the default path, etc.).
Now open a command window and navigate to the path that Python 32bit was installed
and run the `scripts/pip.exe` to install virtualenv in 32bit python:
```
c:\Python27-x86\Scripts\pip.exe install virtualenv
```
To create a virtualenv use the virtualenv.exe (also installed in the Scripts folder)
like normal. For example to create a new virtual environment called py32 open a
terminal in your home directory and run:
```
c:\Python27-x86\Scripts\virtualenv.exe py32
```
The created virtualenv will have a Scripts subdirectory with an activate.bat. When
this bat file is run it will setup the environment to use Python 32-bit. For example
from your home directory run in a command terminal:
```
.\py32\Scripts\activate.bat
```
Now Python, pip, etc. should all be using the 32-bit Python virtual environment.
You can build software with cx_Freeze etc and it will use this 32-bit version
of Python.