generated from circuitdojo/zephyr-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:umts/embedded-departure-board into …
…stop_414
- Loading branch information
Showing
18 changed files
with
288 additions
and
255 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,107 @@ | ||
menu "Embedded Departure Board" | ||
source "Kconfig.zephyr" | ||
|
||
#### LED DISPLAY TEST SETTINGS #### | ||
config LED_DISPLAY_TEST | ||
bool "Select to run LED display test instead of main application" | ||
|
||
#### STOP SETTINGS #### | ||
config STOP_ID | ||
string "Bus stop ID" | ||
|
||
config STOP_MAX_ROUTES | ||
int "Maximum number of routes expected at the configured stop" | ||
default 6 | ||
|
||
config ROUTE_MAX_DEPARTURES | ||
int "Maximum number of departures expected for EACH route" | ||
default 4 | ||
|
||
#### SIGN SETTINGS #### | ||
|
||
config UPDATE_STOP_FREQUENCY_SECONDS | ||
int "The frequency at which stop departure times are updated in seconds" | ||
default 30 | ||
|
||
config NUMBER_OF_DISPLAY_BOXES | ||
int "The number of display boxes connected to the sign" | ||
default 6 | ||
|
||
config MAX_TIME_INACTIVE_BEFORE_RESET_MS | ||
int "Maximum amount of time the system can remain inactive before it resets in milliseconds" | ||
default 60000 | ||
|
||
config STOP_REQUEST_INFOPOINT | ||
bool "Select if JSON feed is directly from InfoPoint servers" | ||
#### LIGHT_SENSOR SETTINGS #### | ||
|
||
config STOP_REQUEST_HOSTNAME | ||
string "Hostname used to retrieve stop data" | ||
config LIGHT_SENSOR | ||
bool "Enable I2C ambient light sensor" | ||
default y | ||
|
||
config STOP_REQUEST_PATH | ||
string "Path used to retrieve stop data" | ||
#### HTTP stop request settings #### | ||
|
||
config STOP_JSON_BUF_SIZE | ||
int "Defines the max size for stop JSON response body receive buffer" | ||
default 20480 | ||
|
||
## BUSTRACKER ## | ||
config STOP_REQUEST_BUSTRACKER | ||
bool "Use BusTracker InfoPoint servers to fetch JSON feed" | ||
|
||
config STOP_REQUEST_BUSTRACKER_USE_TLS | ||
bool "Use TLS (HTTPS) when connecting to BusTracker InfoPoint servers" | ||
depends on STOP_REQUEST_BUSTRACKER | ||
default y if STOP_REQUEST_BUSTRACKER | ||
|
||
config STOP_REQUEST_BUSTRACKER_HOSTNAME | ||
string "BusTracker server hostname used to retrieve stop data" | ||
depends on STOP_REQUEST_BUSTRACKER | ||
|
||
config STOP_REQUEST_BUSTRACKER_PATH | ||
string "BusTracker server path used to retrieve stop data" | ||
depends on STOP_REQUEST_BUSTRACKER | ||
|
||
## JES ## | ||
config STOP_REQUEST_JES | ||
bool "Use JES servers to fetch JSON feed" | ||
|
||
config STOP_REQUEST_JES_HOSTNAME | ||
string "JES server hostname used to retrieve stop data" | ||
depends on STOP_REQUEST_JES | ||
|
||
config STOP_REQUEST_JES_PATH | ||
string "JES server path used to retrieve stop data" | ||
depends on STOP_REQUEST_JES | ||
|
||
#### NTP SETTINGS #### | ||
|
||
config PRIMARY_NTP_SERVER | ||
string "Primary NTP server used to synchronize system time" | ||
default "time.nist.gov" | ||
|
||
config FALLBACK_NTP_SERVER | ||
string "Fallback NTP server used to synchronize system time if the primary server is unavailable" | ||
default "us.pool.ntp.org" | ||
|
||
config NTP_REQUEST_TIMEOUT_MS | ||
int "Max amount of time allowed waiting for a single NTP query response for in milliseconds" | ||
# The NIST time servers should never be queried more frequently than once every 4 seconds. | ||
default 4000 | ||
|
||
config NTP_FETCH_RETRY_COUNT | ||
int "Max attempts to fetch time from NTP server before changing to fallback server" | ||
default 2 | ||
|
||
config OTA_HOSTNAME | ||
string "HTTP hostname used to download firmware upgade file" | ||
#### FOTA SETTINGS #### | ||
|
||
config OTA_PATH | ||
string "HTTP path used to download firmware upgade file" | ||
config JES_FOTA | ||
bool "Enable FOTA downloads from JES servers" | ||
|
||
config LIGHT_SENSOR | ||
bool "Enable I2C ambient light sensor" | ||
config JES_FOTA_HOSTNAME | ||
string "HTTP hostname used to download firmware upgade file" | ||
depends on JES_FOTA | ||
|
||
config LED_DISPLAY_TEST | ||
bool "Select to run LED display test instead of main application" | ||
config JES_FOTA_PATH | ||
string "HTTP path used to download firmware upgade file" | ||
depends on JES_FOTA | ||
|
||
endmenu |
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 @@ | ||
VERSION_MAJOR = 0 | ||
VERSION_MINOR = 9 | ||
PATCHLEVEL = 1 | ||
PATCHLEVEL = 2 | ||
VERSION_TWEAK = 0 | ||
EXTRAVERSION = stable |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYD | ||
VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG | ||
A1UEAxMLR1RTIFJvb3QgUjQwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw | ||
WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz | ||
IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjOPQIBBgUrgQQAIgNi | ||
AATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzuhXyi | ||
QHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvR | ||
HYqjQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW | ||
BBSATNbrdP9JNqPV2Py1PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D | ||
9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/Cr8deVl5c1RxYIigL9zC2L7F8AjEA8GE8 | ||
p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh4rsUecrNIdSUtUlD | ||
-----END CERTIFICATE----- |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.