Thanks, docdoc, pylon.
A day ago, I would welcome any insights as to where I have gone wrong.
Today, things are much better, much different.
Today's steps at replicating my problem, with new project starts, shows no anomolous behaviour.
My suspicion, just a suspicion, is that with all libraries properly downloaded under previous efforts, the launch of a new project (sketch) is happily well-behaved.
Details below my Signature
One more thing ...
==> @docdoc, Yes, I do recognize the #include directive. The particular one I was questioning is distinguished by the location of the right-hand arrow bracket.
<module_name>.h
You will see it is located to the left of the filetype extension.
This is not a call to a library file.
It appears this way in other places of the code, so it is not a typo either.
It was a module name assertion, made somewhere in the labyrinth of supporting files, but no longer an issue.
Summary: In preparing a substantive reply, I stumbled across a resolution. More down below.
Sincerest thanks,
Michael A. Banak
For those who might learn from my pain ...
The problems I experienced occurred under 3 setups, that is 3 attempts to get started.
I started over a 4th time, in order to replicate my steps to precisely document them for this forum.
On this fourth occasion, everything remained well-behaved, as mentioned above.
So, looking back, here is what happened.
For a SparkFun nRF52840 Board ...
First Step: Confirm that the hardware can programmed.
Loaded, tested, modified an LED Blink program.
- Download install sample code in a suitable directory
- Compiled and Uploaded to Board, OK.
- Modified code to change blink rate, OK.
-Added and verified serial display utility to verify the terminal view works,
and serve as a debug tool: OK.
- No issues with preprocessing directives, nor with the libraries
Procedural finding to this point:
Though I started opening and programing in a directory of my choosing. When I try to rename the file, the Arduino IDE keeps moving and continuing everything in a sub-directpry of C:....\Documents\Arduino. This appears to happen whenever I do a save-as. I just kept working under the new directory location.
Next: Download and install the sample code for the nRF52840 + SEMTECH
"MicroMod_LoRa_Function_Board-Basic_Examples.zip"
It's just one .ino file
Add a few comments and re-save, and, once again, it is moved to a subdirectory under
C:....\Documents\Arduino
OK. I keep working
Re-Open the one sketch file and it launches a massive tar file download, and further loads (opens) every file under RadioLib into some directory associated with my new one.
This happened at least two more sessions.
I saw something similar in an IDE from ATMEL, and though the overhead looked strange, I figured it would take care of itself.
The Arduino IDE, as I understand it, cannot close just one file. "Close" means "Close the Project". They all kind of tagged along, with the project I was working.
With all these files open ...
Code Verification cycles revealed path errors to header files in the library.
I painfully fixed them and moved on.
The only repair eluding me, was that unusual syntax
<module_name>.h
And that took care of itself when I started all over.
Looking ahead, If I want to change a project name, as if to up-rev the version, I must be careful to make sure the .ino file name matches the new folder name, in which must be created.
I must also get used to the Arduino IDE creating and caching many copies of the library through the day's work.
Cheers!
Michael A. Banak