-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bracz-railcom-halfzero
* master: (88 commits) Adds a method to send out a global alias mapping enquiry to the bus. (#479) Fixes todo in the bulk alias allocator that makes it actually operable. (#471) CC32xx set mac feature (#478) ESP32: Prep for Arduino-esp32 v1.0.5 (#473) Adjust DeviceBuffer to use OPENMRN_FEATURE_DEVTAB instead of ARDUINO define. (#474) Supports nullptr as argument to the node init flow. (#472) Fix compile errors. Add support for C++11 compilation of std::make_unique() (#470) Stores reserved aliases in the local alias cache (#467) Adds more test helpers to run code on the main executor. (#468) Fix console session close bug (#466) update to C++14 for cov and Linux.x86 targets. (#465) Protect unimplemented POSIX calls in BroadcastTime::clear_timezone() to allow OpenMRNLite to compile on Arduino flavored platforms. (#464) Fix OpenMRNLite problem with DEFAULT symbol (#462) fixes comments. Fixes comments. Fix comments. fix whitespace Adds support for conflict handling in the bulk alias allocator. adds time expectation ...
- Loading branch information
Showing
148 changed files
with
6,501 additions
and
844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
-include ../../config.mk | ||
include $(OPENMRNPATH)/etc/prog.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
SUBDIRS = linux.x86 \ | ||
linux.armv7a \ | ||
mach.x86 | ||
mach.x86_64 | ||
|
||
include $(OPENMRNPATH)/etc/recurse.mk |
2 changes: 2 additions & 0 deletions
2
...ons/async_blink/targets/mach.x86/Makefile → ...ations/hub/targets/linux.aarch64/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
-include ../../config.mk | ||
include $(OPENMRNPATH)/etc/prog.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../linux.x86/AvaHiMDNS.cxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Adding SocketCAN support on the Raspberry Pi 4 | ||
|
||
These are my notes from adding SocketCAN support and building the **hub** application in a Raspberry Pi. | ||
|
||
- Start with the pre-built JMRI - RPI disk image from: [M Steve Todd's - JMRI RaspberryPi as Access Point](https://mstevetodd.com/rpi) | ||
|
||
- Install the MCP2517 CAN interface hardware from: [2-Channel CAN-BUS(FD) Shield for Raspberry Pi](https://www.seeedstudio.com/2-Channel-CAN-BUS-FD-Shield-for-Raspberry-Pi-p-4072.html) and followed their instructions for building the MCP2517 kernel device driver on their [Support Wiki](http://wiki.seeedstudio.com/2-Channel-CAN-BUS-FD-Shield-for-Raspberry-Pi/#software) page. | ||
|
||
- Install some needed packages on the RPi: | ||
|
||
`sudo apt install git doxygen libavahi-client-dev` | ||
|
||
- Download the OpenMRN source code to the RPi: | ||
|
||
`cd ~` | ||
|
||
`git clone https://github.com/bakerstu/openmrn.git` | ||
|
||
- Build the **hub** application: | ||
|
||
`cd openmrn/applications/hub/targets/linux.rpi1/` | ||
|
||
`make` | ||
|
||
- Configure the **can0** interface for 125,000 bps and run the **hub** application at system at start-up by creating the file: `/etc/network/interfaces.d/can0` with the following lines: | ||
``` | ||
allow-hotplug can0 | ||
iface can0 can static | ||
bitrate 125000 | ||
up /home/pi/openmrn/applications/hub/targets/linux.rpi1/hub -s $IFACE & | ||
``` | ||
|
||
- Configure the LCC Layout Connection in JMRI to use | ||
- System Connection: `CAN via GridConnect Network Interface` | ||
- IP Address/Host Name: `localhost` | ||
- TCP/UDP Port: `12021` |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SUBDIRS = linux.x86 mach.x86 | ||
SUBDIRS = linux.x86 mach.x86_64 | ||
-include config.mk | ||
include $(OPENMRNPATH)/etc/recurse.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
simple_client |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.