[
https://issues.apache.org/jira/browse/MYNEWT-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditi Hilbert updated MYNEWT-305:
---------------------------------
Affects Version/s: 0.9.0
0.8.0
Description:
Newt is supposed to display all the existing values for a target variable
(attribute) when the user hits return after that variable. For example, for my
target named "primoble" it displays the following possible bsp's.
$ newt target set primoble bsp
Valid values for target variable "target.bsp":
@apache-mynewt-core/hw/bsp/bmd300eval
@apache-mynewt-core/hw/bsp/nrf51dk
@apache-mynewt-core/hw/bsp/nrf52pdk
@apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard
@apache-mynewt-core/hw/bsp/nrf51-arduino_101
@apache-mynewt-core/hw/bsp/native
@apache-mynewt-core/hw/bsp/nrf51dk-16kbram
@apache-mynewt-core/hw/bsp/arduino_primo_nrf52
@apache-mynewt-core/hw/bsp/nrf52dk
However, features available for the target are not displayed:
$ newt target set primoble features
Valid values for target variable "target.features":
Error: Unknown target variable: "target.features"
For "features", valid values for the defined bsp should be displayed. If the
bsp is not defined for the target, all possible values (such as
"openocd_debug", "arduino_zero_pro" etc.) should be displayed with a statement
"Set the bsp for the target to see valid features for the bsp").
The possible values should be displayed for cflags (-DSTATS_NAME_ENABLE,
-DLOG_LEVEL, -DBLETEST, ...), lflags (don't know the values), and build_profile
('optimized', 'debug') as well instead of the following error.
$ newt target set primoble cflags
Valid values for target variable "target.cflags":
Error: Unknown target variable: "target.cflags"
Component/s: Newt
Summary: Newt does not display possible values for target
attributes "features", "cflags", "lflags", and "build_profile" (was: List of
all possible values for target attribute not displayed for "feature)
> Newt does not display possible values for target attributes "features",
> "cflags", "lflags", and "build_profile"
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MYNEWT-305
> URL: https://issues.apache.org/jira/browse/MYNEWT-305
> Project: Mynewt
> Issue Type: Bug
> Components: Newt
> Affects Versions: 0.8.0, 0.9.0
> Reporter: Aditi Hilbert
>
> Newt is supposed to display all the existing values for a target variable
> (attribute) when the user hits return after that variable. For example, for
> my target named "primoble" it displays the following possible bsp's.
> $ newt target set primoble bsp
> Valid values for target variable "target.bsp":
> @apache-mynewt-core/hw/bsp/bmd300eval
> @apache-mynewt-core/hw/bsp/nrf51dk
> @apache-mynewt-core/hw/bsp/nrf52pdk
> @apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard
> @apache-mynewt-core/hw/bsp/nrf51-arduino_101
> @apache-mynewt-core/hw/bsp/native
> @apache-mynewt-core/hw/bsp/nrf51dk-16kbram
> @apache-mynewt-core/hw/bsp/arduino_primo_nrf52
> @apache-mynewt-core/hw/bsp/nrf52dk
> However, features available for the target are not displayed:
> $ newt target set primoble features
> Valid values for target variable "target.features":
> Error: Unknown target variable: "target.features"
> For "features", valid values for the defined bsp should be displayed. If the
> bsp is not defined for the target, all possible values (such as
> "openocd_debug", "arduino_zero_pro" etc.) should be displayed with a
> statement "Set the bsp for the target to see valid features for the bsp").
> The possible values should be displayed for cflags (-DSTATS_NAME_ENABLE,
> -DLOG_LEVEL, -DBLETEST, ...), lflags (don't know the values), and
> build_profile ('optimized', 'debug') as well instead of the following error.
> $ newt target set primoble cflags
> Valid values for target variable "target.cflags":
> Error: Unknown target variable: "target.cflags"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)