Skip to content

Conversation

@sgparry
Copy link

@sgparry sgparry commented Aug 2, 2020

No description provided.

.development Outdated
@@ -0,0 +1 @@

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for adding this file?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows the library to be edited without complaint within the ordinary Arduino IDE - not 100% convninced
myself whether or not it is a good idea to have it in as standard for source code repos or not - it either needs to be tracked or in .gitignore.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I often add a .development file to my own libraries for this reason, because I prefer to use the Arduino IDE for development work on the example sketches. However, I have it excluded from the repo.

There are two problems this file can cause:

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Foudn guidance here: https://arduino.github.io/arduino-cli/latest/library-specification/#development-flag-file that says not to push - so I will delete and add it to .gitignore.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made this change

keywords.txt Outdated
@@ -0,0 +1 @@
freeMemory KEYWORD2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not have the correct formatting. See the Arduino library specification for details:
https://arduino.github.io/arduino-cli/latest/library-specification/#keywordstxt-format

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was following a example from another library - have corrected

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have fixed this in line with the standard

@@ -0,0 +1,9 @@
name=MemoryFree
version=1.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this is valid, I recommend following semver:
https://semver.org/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So int this case would you recommend 1.0.0 ? I think the behaviour is stable enough to define a public release.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made this change

author=Various; see https://forum.arduino.cc/index.php?topic=27536.0
maintainer=Neil McNeight (http://mcneight.org/)
sentence=Functions for calculating amount for free data memory (RAM).
paragraph=Functions for calculating amount for free data memory (RAM).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The paragraph value is typically displayed immediately after the sentence value, so duplicating the sentence content in paragraph has a harmful effect. It should either contain additional unique text or else be left blank.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will amend to add further detail.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made this change

sgparry and others added 5 commits August 15, 2020 18:32
Incorrect FQBN causes the Arduino IDE to attempt to start the GUI, which results in a hang and eventual timeout on the headless Travis CI machine.
Correct board ID for Zero in Travis CI configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants