mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
NuttX always uses a 64-bit system clock now (time_t/clock_t are
always 64-bit). Remove the obsolete CONFIG_SYSTEM_TIME64 #ifdef
branches and Kconfig dependency.
- examples/dronecan: drop SYSTEM_TIME64 dependency
- examples/netlink_route: always use PRIx64
- netutils/netinit: always use the 1-hour LONG_TIME_SEC
- netutils/ptpd: always pack the 48-bit seconds field and apply
the 64-bit overflow guard in timespec_delta_ns()
- testing/ostest/semtimed: always validate tv_sec >= 0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
49 lines
979 B
Text
49 lines
979 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_DRONECAN
|
|
tristate "DroneCAN example"
|
|
default n
|
|
depends on CANUTILS_LIBDRONECAN
|
|
---help---
|
|
Enable the LIBDRONECAN example
|
|
|
|
if EXAMPLES_DRONECAN
|
|
|
|
config EXAMPLES_DRONECAN_DEVPATH
|
|
string "Device Path"
|
|
default "/dev/can0"
|
|
depends on CAN
|
|
---help---
|
|
The device path
|
|
|
|
config EXAMPLES_DRONECAN_NODE_ID
|
|
int "Node ID"
|
|
default 1
|
|
range 1 127
|
|
---help---
|
|
Specifies the node's ID
|
|
|
|
config EXAMPLES_DRONECAN_APP_NODE_NAME
|
|
string "Node name"
|
|
default "org.dronecan.nuttx.demo"
|
|
---help---
|
|
app node name
|
|
|
|
config EXAMPLES_DRONECAN_NODE_MEM_POOL_SIZE
|
|
int "Node Memory Pool Size"
|
|
default 1024
|
|
---help---
|
|
Specifies the node's memory pool size
|
|
|
|
config EXAMPLES_DRONECAN_DAEMON_PRIORITY
|
|
int "daemon task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_DRONECAN_STACKSIZE
|
|
int "canard stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|