Skip to content

Commit

Permalink
Merge pull request #147 from sarfata/develop
Browse files Browse the repository at this point in the history
Release v1.3.6
  • Loading branch information
sarfata authored Sep 7, 2018
2 parents f4bb68b + 7905670 commit 18734d6
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ CMakeListsPrivate.txt
# CLion
cmake-build-debug
# User-specific stuff
.idea/vcs.xml
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
Expand Down
6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Because KBox is open-source, you can do a lot more things with it:

### Current software status

As of December 2017, the KBox firmware:
As of September 2018, the KBox firmware:

- General functionality
- Creates a new WiFi network (KBox) or can join an existing network (via simple
Expand Down Expand Up @@ -192,6 +192,18 @@ been possible!**

## Changelog

* 2018 09 07 - v1.3.6
* Force ESP board definition to generic module w 1MB flash to avoid build
error.
* Upgrade ESP platform to 1.8.0 to use ESP8266 framework 2.4.2 which improves
stability of the WiFi modules and seems to fix a number of connection
issues for other people. Hopefully will also improve KBox wifi stability.
* Add HTTP CORS header on `/signalk`. This makes KBox compatible with the
amazing [Kip](https://github.com/mxtommy/Kip) to display your boat data in
a browser.
* Fixed a typo in the reboot reasons.
* Add missing dependency `pyserial` in the list of dependencies for
`kbox.py`.
* 2018 07 26 - v1.3.5
* Fix a bug that would cause KBox to crash on NMEA sentences without a checksum
* Fix a bug where RMC sentence without a date would crash KBox
Expand Down
2 changes: 1 addition & 1 deletion lib/KBoxHardware/src/KBoxHardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ String KBoxHardware::rebootReason() {
return "Loss of Lock in PLL Reset";
if (RCM_SRS0 & RCM_SRS0_LVD)
return "Low-voltage Detect Reset";
return "unknwon reset";
return "unknown reset reason";
}

void watchdog_isr() {
Expand Down
17 changes: 8 additions & 9 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ build_flags =
-DSERIAL1_RX_BUFFER_SIZE=512 -DSERIAL1_TX_BUFFER_SIZE=512
-DSERIAL2_RX_BUFFER_SIZE=256 -DSERIAL2_TX_BUFFER_SIZE=256
-DSERIAL3_RX_BUFFER_SIZE=256 -DSERIAL3_TX_BUFFER_SIZE=256
platform = teensy
platform = teensy@3.4.0
framework = arduino
board = teensy31
lib_deps =
Expand All @@ -73,7 +73,7 @@ extra_scripts = tools/platformio_cfg_gitversion.py
[env:program-esp]
src_filter = +<common/*>, +<program-esp/*>, +<host/esp-programmer/>
build_flags = ${common.build_flags} -Isrc/common
platform = teensy
platform = teensy@3.4.0
framework = arduino
board = teensy31
lib_ldf_mode = deep
Expand All @@ -88,10 +88,9 @@ src_filter = +<common/*>,+<esp/*>
build_flags = -Wall -Werror -fno-strict-aliasing
-Isrc/common -Isrc/esp
-DHAVE_STRLCPY -DHAVE_STRLCAT
#platform=espressif8266
platform=https://github.com/platformio/platform-espressif8266.git#feature/stage
platform[email protected]
framework = arduino
board = esp_wroom_02
board = esp01_1m
upload_speed = 921600
extra_scripts =
tools/platformio_cfg_esp.py
Expand All @@ -108,7 +107,7 @@ lib_deps =
[env:mfg]
src_filter = +<common/*>, +<mfg/*>, +<host/drivers/ILI9341GC.cpp>
build_flags = ${common.build_flags} -Isrc/common
platform = teensy
platform = teensy@3.4.0
framework = arduino
board = teensy31
lib_deps =
Expand Down Expand Up @@ -165,7 +164,7 @@ build_flags =
-DSERIAL3_RX_BUFFER_SIZE=256 -DSERIAL3_TX_BUFFER_SIZE=256
-DSERIAL4_RX_BUFFER_SIZE=256 -DSERIAL4_TX_BUFFER_SIZE=256
-DSERIAL5_RX_BUFFER_SIZE=256 -DSERIAL5_TX_BUFFER_SIZE=256
platform = teensy
platform = teensy@3.4.0
framework = arduino
board = teensy36
lib_deps =
Expand All @@ -177,7 +176,7 @@ extra_scripts = tools/platformio_cfg_gitversion.py
[env:program-esp-teensy36]
src_filter = +<common/*>, +<program-esp/*>, +<host/esp-programmer/>
build_flags = ${common.build_flags} -Isrc/common
platform = teensy
platform = teensy@3.4.0
framework = arduino
board = teensy36
lib_ldf_mode = deep
Expand All @@ -189,7 +188,7 @@ lib_ignore = ${common.incompatible_libs_teensy}
[env:mfg-teensy36]
src_filter = +<common/*>, +<mfg/*>, +<host/drivers/ILI9341GC.cpp>
build_flags = ${common.build_flags} -Isrc/common
platform = teensy
platform = teensy@3.4.0
framework = arduino
board = teensy36
lib_deps =
Expand Down
1 change: 1 addition & 0 deletions src/esp/net/KBoxWebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ void handleRequestSignalK(AsyncWebServerRequest *request) {
serverInfo["version"] = KBOX_VERSION;

root.printTo(*response);
response->addHeader("Access-Control-Allow-Origin","*");
request->send(response);
}
else {
Expand Down
1 change: 1 addition & 0 deletions tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
termcolor
pypng
pyserial

0 comments on commit 18734d6

Please sign in to comment.