-
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 openmrnlite
# By Balazs Racz (146) and others # Via Balazs Racz (14) and GitHub (3) * master: (171 commits) Fix os_thread_create_helper for arduino esp32 (#525) Broadcast Time Server Detection (#521) Fix test. (#522) Update the descriptions in the User Info Segment. (#518) Adds support for write to the memoryconfig utils application. (#515) Adds a parseblink method to turn a blinker code into a numeric display. (#516) Fixes broken build of DCC driver instantiation. (#514) Allow applib.mk SRCDIR to be overridden. (#512) Flip the order of operations for resetting the callback flag and calling the actual callback. This allows for rearming the callback from the callback itself. (#510) limit timer cleanup (#509) Adds a generalized shift operation to the Fixed16 class. (#508) Adds ability to remove an event handler from the callbacks. (#507) Limit Timer (#506) Adds support for a random jitter in the DCC signal timing. (#505) Tune DCC end of packet behavior (#504) Adds support for DCC function 29-68. (#503) Adds helper functions to generate different DCC packet types: (#502) Fixes library.a dependencies and other makefile cleanup. (#501) Adds functions to generate paged-mode programming packets. (#500) fix eepromemu tests. ... # Conflicts: # src/freertos_drivers/esp32/Esp32WiFiManager.cxx
- Loading branch information
Showing
257 changed files
with
12,093 additions
and
1,309 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 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
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/HwInit.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 @@ | ||
../../../../boards/st-stm32f303re-nucleo-dev-board/HwInit.cxx |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../boards/st-stm32f303re-nucleo-dev-board/Makefile |
2 changes: 1 addition & 1 deletion
2
...s/async_blink/targets/mach.x86/NodeId.cxx → ...t-stm32f303re-nucleo-dev-board/NodeId.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "openlcb/If.hxx" | ||
|
||
extern const openlcb::NodeID NODE_ID; | ||
const openlcb::NodeID NODE_ID = 0x050101011410ULL; | ||
const openlcb::NodeID NODE_ID = 0x050101011869ULL; |
1 change: 1 addition & 0 deletions
1
...ications/async_blink/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/hardware.hxx
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 @@ | ||
../../../../boards/st-stm32f303re-nucleo-dev-board/hardware.hxx |
1 change: 1 addition & 0 deletions
1
...cations/async_blink/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/memory_map.ld
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 @@ | ||
../../../../boards/st-stm32f303re-nucleo-dev-board/memory_map.ld |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/startup.c
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 @@ | ||
../../../../boards/st-stm32f303re-nucleo-dev-board/startup.c |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/target.ld
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 @@ | ||
../../../../boards/st-stm32f303re-nucleo-dev-board/target.ld |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/HwInit.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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/HwInit.cxx |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/Makefile |
4 changes: 4 additions & 0 deletions
4
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/NodeId.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,4 @@ | ||
#include "openlcb/If.hxx" | ||
|
||
extern const openlcb::NodeID NODE_ID; | ||
const openlcb::NodeID NODE_ID = 0x050101011867ULL; |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/hardware.hxx
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/hardware.hxx |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/memory_map.ld
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/memory_map.ld |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/startup.c
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/startup.c |
1 change: 1 addition & 0 deletions
1
applications/async_blink/targets/freertos.armv7m.st-stm32l432kc-nucleo/target.ld
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/target.ld |
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 |
1 change: 1 addition & 0 deletions
1
applications/blink_raw/targets/freertos.armv7m.st-stm32l432kc-nucleo/HwInit.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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/HwInit.cxx |
1 change: 1 addition & 0 deletions
1
applications/blink_raw/targets/freertos.armv7m.st-stm32l432kc-nucleo/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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/Makefile |
1 change: 1 addition & 0 deletions
1
applications/blink_raw/targets/freertos.armv7m.st-stm32l432kc-nucleo/hardware.hxx
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/hardware.hxx |
1 change: 1 addition & 0 deletions
1
applications/blink_raw/targets/freertos.armv7m.st-stm32l432kc-nucleo/memory_map.ld
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/memory_map.ld |
1 change: 1 addition & 0 deletions
1
applications/blink_raw/targets/freertos.armv7m.st-stm32l432kc-nucleo/startup.c
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/startup.c |
1 change: 1 addition & 0 deletions
1
applications/blink_raw/targets/freertos.armv7m.st-stm32l432kc-nucleo/target.ld
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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/target.ld |
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
1 change: 1 addition & 0 deletions
1
applications/io_board/targets/freertos.armv7m.st-stm32l432kc-nucleo/HwInit.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 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/HwInit.cxx |
1 change: 1 addition & 0 deletions
1
applications/io_board/targets/freertos.armv7m.st-stm32l432kc-nucleo/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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../boards/st-stm32l432kc-nucleo/Makefile |
Oops, something went wrong.