Skip to content

Commit 8b43062

Browse files
authored
Merge pull request #68 from Donkie/doxygenfix
Fix doxygen, split up CI jobs
2 parents 0497501 + 4644d27 commit 8b43062

File tree

4 files changed

+32
-38
lines changed

4 files changed

+32
-38
lines changed

.github/workflows/githubci.yml

+30-1
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,47 @@ jobs:
1515
with:
1616
repository: adafruit/ci-arduino
1717
path: ci
18-
18+
1919
- name: pre-install
2020
run: bash ci/actions_install.sh
2121

2222
- name: test platforms
2323
run: python3 ci/build_platform.py main_platforms
24+
clang-format:
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
- uses: actions/setup-python@v1
29+
with:
30+
python-version: '3.x'
31+
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v2
33+
with:
34+
repository: adafruit/ci-arduino
35+
path: ci
36+
37+
- name: pre-install
38+
run: bash ci/actions_install.sh
2439

2540
- name: clang
2641
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
42+
doxygen:
43+
runs-on: ubuntu-latest
44+
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: actions/checkout@v2
48+
with:
49+
repository: adafruit/ci-arduino
50+
path: ci
51+
52+
# The Adafruit doxygen setup is configured to only look for files in the root directory
53+
- name: move src contents to root
54+
run: mv -v src/* .
2755

2856
- name: doxygen
2957
env:
3058
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
3159
PRETTYNAME : "Adafruit MCP23017 Library"
3260
run: bash ci/doxy_gen_and_deploy.sh
61+

src/Adafruit_MCP23X08.cpp

-18
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
/*!
22
* @file Adafruit_MCP23X08.cpp
3-
*
4-
* @mainpage Adafruit MCP23X08/17 Library
5-
*
6-
* @section intro_sec Introduction
7-
*
8-
* This is a library for the MCP23008/17 I2C and MCP23S08/17 SPI port
9-
* expanders.
10-
* Adafruit invests time and resources providing this open source code,
11-
* please support Adafruit and open-source hardware by purchasing
12-
* products from Adafruit!
13-
*
14-
* @section author Author
15-
*
16-
* Written by Carter Nelson for Adafruit Industries.
17-
*
18-
* @section license License
19-
*
20-
* BSD license, all text above must be included in any redistribution
213
*/
224

235
#include "Adafruit_MCP23X08.h"

src/Adafruit_MCP23X17.cpp

-18
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
/*!
22
* @file Adafruit_MCP23X17.cpp
3-
*
4-
* @mainpage Adafruit MCP23X08/17 Library
5-
*
6-
* @section intro_sec Introduction
7-
*
8-
* This is a library for the MCP23008/17 I2C and MCP23S08/17 SPI port
9-
* expanders.
10-
* Adafruit invests time and resources providing this open source code,
11-
* please support Adafruit and open-source hardware by purchasing
12-
* products from Adafruit!
13-
*
14-
* @section author Author
15-
*
16-
* Written by Carter Nelson for Adafruit Industries.
17-
*
18-
* @section license License
19-
*
20-
* BSD license, all text above must be included in any redistribution
213
*/
224

235
#include "Adafruit_MCP23X17.h"

src/Adafruit_MCP23XXX.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void Adafruit_MCP23XXX::writeGPIO(uint8_t value, uint8_t port) {
144144
/*!
145145
@brief Configure the interrupt system.
146146
@param mirroring true to OR both INTA and INTB pins.
147-
@param open true for open drain output, false for active drive output.
147+
@param openDrain true for open drain output, false for active drive output.
148148
@param polarity HIGH or LOW
149149
*/
150150
/**************************************************************************/
@@ -248,6 +248,7 @@ uint8_t Adafruit_MCP23XXX::getLastInterruptPin() {
248248
@brief helper to get register address
249249
@param baseAddress base register address
250250
@param port 0 for A, 1 for B (MCP23X17 only)
251+
@returns calculated register address
251252
*/
252253
/**************************************************************************/
253254
uint16_t Adafruit_MCP23XXX::getRegister(uint8_t baseAddress, uint8_t port) {

0 commit comments

Comments
 (0)