Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deprecate the misnamed YOTTA_CFG_MTRACE_TMP_LINE_LENGTH flag. #43

Merged
merged 1 commit into from
Jul 1, 2016

Conversation

tommikas
Copy link

Configuring the tmp line length value through config.json in yotta requires defining a separate "mtrace" group, because the name of the flag doesn't follow the 'YOTTA_CFG_MBED_TRACE_' pattern.

This allows configuring the tmp line length in the same group mbed-trace is enabled in.

(The name of the flag seems to be a relic of the time the name of the library was still being decided.
For some reason it wasn't changed with the other ones when 'mbed-trace' was decided on.)

@tommikas
Copy link
Author

@jupe @artokin @JuhPuur

@tommikas tommikas changed the title Fix the misnamed YOTTA_CFG_MTRACE_TMP_LINE_LENGTH flag. Deprecate the misnamed YOTTA_CFG_MTRACE_TMP_LINE_LENGTH flag. Jun 29, 2016
…s to be removed in the next release.

Configuring the tmp line length value through config.json in yotta requires defining a separate "mtrace" group,
because the name of the flag doesn't follow the 'YOTTA_CFG_MBED_TRACE_' pattern.

This allows configuring the tmp line length in the same group mbed-trace is enabled in.

(The name of the flag seems to be a relic of the time the name of the library was still being decided.
For some reason it wasn't changed with the other ones when 'mbed-trace' was decided on.)
@jupe
Copy link
Contributor

jupe commented Jun 29, 2016

lgtm

@tommikas tommikas merged commit b577e1b into master Jul 1, 2016
@tommikas tommikas deleted the flag-name-fix branch July 1, 2016 08:07
tommikas pushed a commit that referenced this pull request Jun 16, 2017
* origin/master: (22 commits)
  output/ added to gitignore list (#66)
  Added include_directories(${CMAKE_CURRENT_SOURCE_DIR}/) include to resolve compilation error for Linux. (#63)
  Ensure tr_array doesn't print <null> when len == 0 (#65)
  Add CMakeLists.txt to support PAL Tools (#61)
  Fix header documentation (#58)
  Update README.md (#57)
  Provide environment-agnostic configuration macros. (#54)
  Flash size can be limited by defining MBED_TRACE_MAX_LEVEL
  Use temp variable in mutex release loop (#52)
  Fix race condition when unlocking mutex
  Add instructions for enabling the library in mbed OS 5. (#50)
  document update. (#47)
  Allow setting mutex locking/unlocking callbacks before trace init. (#46)
  Ipv6 helpers update (#44)
  Fix disabling traces through the YOTTA_CFG_MBED_TRACE flag. (#45)
  Deprecate the misnamed YOTTA_CFG_MTRACE_TMP_LINE_LENGTH flag, which is to be removed in the next release. (#43)
  Changed dummy definitions to match the actual functions' return types (#40)
  FEA_TRACE_SUPPORT flag is always set when traces are enabled. (#39)
  Release merge to master (#38)
  Add nanostack-libservice lib to CMakeLists (#31)
  ...
@jupe jupe added this to the v1.2.2 milestone Jul 5, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants