csensors app not supported, not part of the build

Description

Hi ,

When I build a firmware with the following options the csensors app ist not compiled and linked into the output. You can derive that from the .map file where for instance csensors_init() is not present.

scons board=openmote-b toolchain=armgcc apps=uecho,cjoin,cinfo,csensors modules=coap,udp oos_openwsn

in addition the sensors for each board can only be enabled by the config file option BOARD_SENSORS_ENABLED

I would propose to add an option for the boards to allow a full configuration on cmdline basis as well. This can result then in this call

scons board=openmote-b toolchain=armgcc apps=uecho,cjoin,cinfo,csensors modules=coap,udp boardopt=sensors oos_openwsn

The attached PR includes a fix for csensor and enables the proposed option

Environment

None

Activity

Show:

Details

Assignee

Reporter

Affects versions

Priority

Created November 17, 2020 at 10:29 AM
Updated November 17, 2020 at 10:29 AM