apache / apache/nuttx

[BUG] nsh free is not present even if not disabled in the config.

Open
#13,884 4 comments 0 reactions 0 assignees View on GitHub
Arch: arm Area: Applications Area: Configuring Area: Memory Management OS: BSD
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description / Steps to reproduce the issue

1. Check the `.config` to contain `# CONFIG_NSH_DISABLE_FREE is not set`.
2. Build and flash the firmware.
3. See that `free` command is not present.
```
nsh> ?
help usage: help [-v] []

? exec exit help hexdump xd
```

### On which OS does this issue occur?

[OS: BSD]

### What is the version of your OS?

FreeBSD 13.3-RELEASE-p7 GENERIC amd64

### NuttX Version

12.7.0-RC0

### Issue Architecture

[Arch: arm]

### Issue Area

[Area: Applications], [Area: Configuring], [Area: Memory Management]

### Verification

- [X] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Research direction

Start with the .config setting CONFIG_NSH_DISABLE_FREE and the nsh help output shown in the report. Trace how the free command is included in the Applications, Configuring, and Memory Management areas, then rebuild and flash the firmware to confirm that free appears in the nsh command list when the setting is not disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, embedded-iot, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.