Skip to content

Commit 0ee0b5a

Browse files
committed
Merge pull request #336 from openxc/next
dependency updates & typos
2 parents 98688cd + f63fd13 commit 0ee0b5a

File tree

10 files changed

+54
-39
lines changed

10 files changed

+54
-39
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
url = https://github.com/openxc/AT-commander
2323
[submodule "src/libs/nanopb"]
2424
path = src/libs/nanopb
25-
url = https://code.google.com/p/nanopb/
25+
url = https://github.com/nanopb/nanopb.git
2626
[submodule "src/libs/openxc-message-format"]
2727
path = src/libs/openxc-message-format
2828
url = https://github.com/openxc/openxc-message-format

CHANGELOG.mkd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# OpenXC Vehicle Interface Firmware Changelog
22

3+
## v7.1.1
4+
5+
* Fix: Update nanpb repo location to Git.
6+
* Fix: Keep same setuptools version.
7+
* Fix: Update ChipKIT digitlent URL (requires disable SSL cert checks).
8+
* Fix: Minor doc updates.
9+
310
## v7.1.0
411

512
* Feature: Add support for new CrossChasm C5 Cellular platform.

README.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenXC Vehicle Interface Firmware
44

55
.. image:: /docs/_static/logo.png
66

7-
:Version: 7.1.0
7+
:Version: 7.1.1
88
:Web: http://openxcplatform.com
99
:Documentation: http://vi-firmware.openxcplatform.com
1010
:Source: http://github.com/openxc/vi-firmware
@@ -20,7 +20,7 @@ OpenXC Vehicle Interface Firmware
2020
:target: http://vi-firmware.openxcplatform.com
2121
:alt: Documentation Status
2222

23-
The OpenXC vehicle interface (VI) firmware runs on an microcontroller connected
23+
The OpenXC vehicle interface (VI) firmware runs on a microcontroller connected
2424
to one or more CAN buses. It receives either all CAN messages or a filtered
2525
subset, performs any unit conversion or factoring required and outputs a generic
2626
version to a USB interface.
@@ -36,7 +36,7 @@ Installation
3636
=============
3737

3838
For the full build instructions, see the `documentation
39-
<http://vi-firmware.openxcplatform.com/en/latest/installation/installation.html>`_.
39+
<http://vi-firmware.openxcplatform.com>`_.
4040

4141

4242
Releasing
@@ -51,6 +51,8 @@ Releasing
5151

5252
- Update the src/libs/openxc-message-format with ``git submodule update --remote``
5353

54+
- Checkout next branch and make edits.
55+
5456
- Bump the version using `semantic versioning`_ in
5557
- ``CHANGELOG.mkd``
5658
- ``README.rst``
@@ -68,7 +70,7 @@ Releasing
6870
next development release (one patch release up with the ``-dev`` suffix, e.g.
6971
``v0.9.2-dev``
7072

71-
- Also change ``script/pip-requirements.txt`` back to using the development
73+
- Also change ``script/bootstrap/pip-requirements.txt`` back to using the development
7274
version from Git: ``-e git+https://github.com/openxc/openxc-python.git@next#egg=openxc``
7375

7476
- Go to https://github.com/openxc/vi-firmware/releases and promote the tag you

docs/compile/dependencies.rst

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,19 @@ in all terminals (and you probably do), you need to add these
9696
Digilent / Microchip Libraries
9797
------------------------------
9898

99-
It also requires some libraries from Microchip that we are unfortunately unable
100-
to include or link to as a submodule from the source because of licensing
101-
issues:
102-
103-
- Microchip USB device library (download DSD-0000318 from the bottom of
104-
the `Network Shield
105-
page <http://digilentinc.com/Products/Detail.cfm?NavPath=2,719,943&Prod=CHIPKIT-NETWORK-SHIELD>`_)
106-
- Microchip CAN library (included in the same DSD-0000318 package as
107-
the USB device library)
108-
109-
You can read and accept Microchip's license and download both libraries on the
110-
`Digilent download page
111-
<http://digilentinc.com/Agreement.cfm?DocID=DSD-0000318>`_.
112-
113-
Once you've downloaded the .zip file, extract it into the ``libs``
114-
directory in this project. It should look like this:
99+
We also require some libraries from Microchip that are available from the bottom of the `Network Shield page <https://reference.digilentinc.com/chipkit_shield_network:chipkit_shield_network>`_. You can read and accept Microchip's license and download the libraries on the `Digilent download page <https://reference.digilentinc.com/agreement>`_. The bootstrap script does the above and then the ``libs`` directory should look like this:
115100

116101
.. code-block:: sh
117102
118103
- /Users/me/projects/vi-firmware/
119-
---- libs/
120-
-------- chipKITUSBDevice/
121-
chipKitCAN/
122-
... other libraries
104+
-- src/
105+
--- libs/
106+
----
107+
... other libraries
108+
chipKitCAN/
109+
chipKITEthernet/
110+
chipKITUSBDevice/
111+
... other libraries
123112
124113
.. _ftdi:
125114

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
# built documents.
5050
#
5151
# The short X.Y version.
52-
version = '7.1.0'
52+
version = '7.1.1'
5353
# The full version, including alpha/beta/rc tags.
54-
release = '7.1.0'
54+
release = '7.1.1'
5555

5656
# The language for content autogenerated by Sphinx. Refer to documentation
5757
# for a list of supported languages.

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenXC Vehicle Interface Firmware
44

55
.. image:: /_static/logo.png
66

7-
:Version: 7.1.0
7+
:Version: 7.1.1
88
:Web: http://openxcplatform.com
99
:Documentation: http://vi-firmware.openxcplatform.com
1010
:Source: http://github.com/openxc/vi-firmware

script/bootstrap.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ else
2727
source $SCRIPTS_DIR/bootstrap/pic32.sh
2828
source $SCRIPTS_DIR/bootstrap/devel.sh;
2929
fi
30+
31+
echo "Bootstrap complete"

script/bootstrap/common.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,16 @@ if [ -z $COMMON_SOURCED ]; then
113113
download() {
114114
url=$1
115115
filename=$2
116-
curl $url -L -o $filename
116+
117+
#if 3rd arg exists, run curl and disable SSL cert checking. Added
118+
#for digilent - see pic32.sh
119+
if [ ! -z $3 ]; then
120+
k_opt="-k"
121+
else
122+
k_opt=""
123+
fi
124+
echo "download() running 'curl $k_opt $url -L -o $filename'"
125+
curl $k_opt $url -L -o $filename
117126
}
118127

119128
if [ `id -u` == 0 ]; then
@@ -231,12 +240,12 @@ pre-configured Vagrant environment. See the docs for more information."
231240
echo "Installing Python..."
232241
_install "python"
233242
fi
234-
243+
235244
if [ $OS != "cygwin" ]; then
236245
echo "Installing Python development headers..."
237246
_install "python-dev"
238247
fi
239-
248+
240249
if ! command -v pip >/dev/null 2>&1; then
241250
echo "Installing Pip..."
242251
if ! command -v easy_install >/dev/null 2>&1; then
@@ -256,10 +265,9 @@ pre-configured Vagrant environment. See the docs for more information."
256265
PIP_SUDO_CMD=$SUDO_CMD
257266
fi
258267

259-
$PIP_SUDO_CMD pip install --upgrade setuptools
260-
$PIP_SUDO_CMD pip install --src dependencies --pre -Ur $BOOTSTRAP_DIR/ci-requirements.txt
268+
$PIP_SUDO_CMD pip install --src dependencies --pre -r $BOOTSTRAP_DIR/ci-requirements.txt
261269
if [ -z $CI ]; then
262-
$PIP_SUDO_CMD pip install --src dependencies --pre -Ur $BOOTSTRAP_DIR/pip-requirements.txt
270+
$PIP_SUDO_CMD pip install --src dependencies --pre -r $BOOTSTRAP_DIR/pip-requirements.txt
263271
fi
264272

265273
COMMON_SOURCED=1

script/bootstrap/pic32.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,16 @@ source $BOOTSTRAP_DIR/flashing_chipkit.sh
88

99
## chipKIT libraries for USB, CAN and Network
1010

11-
CHIPKIT_LIBRARY_AGREEMENT_URL="http://www.digilentinc.com/Agreement.cfm?DocID=DSD-0000318"
12-
CHIPKIT_LIBRARY_DOWNLOAD_URL="http://www.digilentinc.com/Data/Documents/Product%20Documentation/chipKIT%20Network%20and%20USB%20Libs-20130724a.zip"
13-
CHIPKIT_ZIP_FILE="chipkit-libraries-2013-07-24.zip"
11+
CHIPKIT_LIBRARY_AGREEMENT_URL="https://reference.digilentinc.com/agreement"
12+
13+
# Disabling SSL cert checking (-k), which while strong discouraged, is
14+
# used here because some dependency hosts CA bundle files are messed up,
15+
# and this software doesn't store any secure data. If Digilent fixes
16+
# their SSL certificate bundle we can remove it.
17+
NOT_SECURE="true"
18+
CHIPKIT_LIBRARY_DOWNLOAD_URL="https://reference.digilentinc.com/_media/chipkit_network_and_usb_libs-20150115.zip"
19+
20+
CHIPKIT_ZIP_FILE="chipkit_network_and_usb_libs-20150115.zip"
1421

1522
_pushd $DEPENDENCIES_FOLDER
1623
if ! test -e $CHIPKIT_ZIP_FILE
@@ -21,7 +28,7 @@ then
2128
echo "Press Enter to verify you have read the license agreement."
2229
read
2330
fi
24-
download $CHIPKIT_LIBRARY_DOWNLOAD_URL $CHIPKIT_ZIP_FILE
31+
download $CHIPKIT_LIBRARY_DOWNLOAD_URL $CHIPKIT_ZIP_FILE $NOT_SECURE
2532
unzip $CHIPKIT_ZIP_FILE
2633
fi
2734
_popd

src/config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ openxc::telitHE910::TelitDevice telitDevice = {
8888
openxc::config::Configuration* openxc::config::getConfiguration() {
8989
static openxc::config::Configuration CONFIG = {
9090
messageSetIndex: 0,
91-
version: "7.1.0",
91+
version: "7.1.1",
9292
payloadFormat: PayloadFormat::DEFAULT_OUTPUT_FORMAT,
9393
recurringObd2Requests: DEFAULT_RECURRING_OBD2_REQUESTS_STATUS,
9494
obd2BusAddress: DEFAULT_OBD2_BUS,

0 commit comments

Comments
 (0)