jonrick / wiphone

wiphone 0.8.32 firmware
https://wiphone.io
Other
6 stars 0 forks source link
wiphone

Cloning

git clone https://github.com/jonrick/wiphone WiPhone
cd WiPhone
git submodule init
git submodule update

Compiling

Open the file WiPhone.ino in the source folder with Arduino IDE and compile.

Make a New Release

We follow a development model where:

The release process starts with a release candidate. Release candidates can be built using the firmware builder tool. Releases are hosted at https://wiphone.io/site/static/releases/firmware/testing/. Once testing is done the release candidate code will be merged into the master branch and released at https://wiphone.io/site/static/releases/firmware/.

Build and code release process:

  1. run the code formatter and confirm there are no changes: astyle --options=./formatter.conf "*.h, *.c, *.cpp, *.ino"
  2. update CHANGELOG.txt
  3. increment FIRMWARE_VERSION in config.h appropriately and add an rc number
  4. define WIPHONE_PRODUCTION
  5. commit changes
  6. download or create a .zip file of the current repo
  7. upload that to the build tool in the DCS: MZJ/001-009/Tools/wiphone-firmware-release(-candidate)
  8. put the 3 resulting files (zipped build directory, .ini file, and firmware binary) on the server (you will need access to the Syncthing share folder). This will be https://wiphone.io/site/static/releases/firmware/ (or firmware/testing/ for release candidates)
  9. the zipped build directory is for later reference (includes the commit version of the Arduino SDK builder library, the sdkconfig, and the .elf file so we can do stack traces if needed)
  10. on the server, update the soft link for the latest firmware URL to point to the new ini file (or ask Ben to do this)
  11. do whatever testing we need to verify the release is good

to make a production build instead of a release candidate:

copy the release files to the WiPhone Tester folder at: WiPhone Engineering/03 - software/WiPhone_Tester/bin/production