Conversation
832d46c to
a80aecf
Compare
|
@jia200x The disadvantage of handling board documentation as part of the code and as normal PRs is that it takes a lot of time before the changes become active. This PR is opened for almost 3 months. Another problem I'm running into is that it becomes more and more difficult to merge the changes of this PR with changes of the documentation I had to make as part of other PRs 😟 |
aabadie
left a comment
There was a problem hiding this comment.
A few comments, mainly typos, duplicated words. I haven't checked the generated html.
I also think that the README.md file should be removed and only doc.txt be kept. This is the file used in the end by doxygen. Because as it is now, I see a very large and detailed documentation duplicated.
cpu/esp8266/README.md
Outdated
| USEMODULE += esp_spiffs | ||
| ``` | ||
|
|
||
| Modules can be also be activated temporarily at the command line when calling the make command: |
There was a problem hiding this comment.
Extra be: Modules can also be activated...
cpu/esp8266/README.md
Outdated
| #endif | ||
| ``` | ||
| constructs, so it is possible to override them by defining them in front of these constructs. | ||
| The board-specific configuration files ```board.h``` and ```periph_conf.h``` as well well as the driver parameter configuration files ```<driver>_params.h``` define the default configurations for peripherals and device driver modules. These are, for example, the GPIOs used, bus interfaces used or available bus speeds. Because there are many possible configurations and many different application requirements, these default configurations are usually only a compromise between different requirements. |
There was a problem hiding this comment.
And I think this line could be split, but this comment would apply to large parts of this file.
There was a problem hiding this comment.
I remember to our discussion regarding 80 characters per line also for documentation. These files were written before. I you insist on it, I can split the lines.
cpu/esp8266/doc.txt
Outdated
|
|
||
| </center><br> | ||
|
|
||
| For example, to activate the a SPIFFS drive in on-board flash memory, the makefile of application has simply to add the ```esp_spiffs``` module to ```USEMODULE``` make variable: |
There was a problem hiding this comment.
Extra a copy pasted from the README.md. Just a thought: can we just keep one of these files ? (doc.txt)
There was a problem hiding this comment.
README.md and doc.txt are identical. I use README.md to write the documentation to have immediate feedback in markdown viewer. It is quite tedious to write complex documentation for doxygen and execute make doc to see the results.
Using doc.txt is the new approach for board documentation. So, if only one file should be kept, it should be doc.txt 😟
There was a problem hiding this comment.
I kept README.md for the moment so that you can track requested changes. I will remove it before squashing.
|
@aabadie Many thanks for your review. |
aabadie
left a comment
There was a problem hiding this comment.
I built the documentation and checked the result: it's all ok.
ACK, please squash
|
@aabadie What do you think, should I remove README.md first? Yes, it is difficult to keep them consistent. |
That would be better indeed. |
|
@aabadie I would say that, the Codacy problem is a false positive. Can we merge inspite of it? |
|
Just in case @gschorcht, your last commit (71ff082) is removing the wrong README.md (in esp32 instead of esp8266) :) The Codacy failure should be tackled if you fix this ;) |
Documentation is generated by doxygen from doc.txt
71ff082 to
c9d9d60
Compare
|
All green, let's merge! |
|
@aabadie Thanks for your review. |
Contribution description
Documentation in
cpu/esp8266/doc.txtwas extended by sectionErasing the Devicewhich describesTesting procedure
It's just documentation.