Skip to content

Commit

Permalink
include:*.h Add "no_os_" prefix to /include files.
Browse files Browse the repository at this point in the history
The modifications to the repo so that the files in
the "include" folder are renamed to have the
"no_os_" prefix.

Signed-off-by: George Mois <[email protected]>
  • Loading branch information
danmois authored and dbogdan committed Mar 15, 2022
1 parent 183937c commit 44cdc3e
Show file tree
Hide file tree
Showing 445 changed files with 1,266 additions and 1,265 deletions.
4 changes: 2 additions & 2 deletions drivers/accel/adxl345/adxl345.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/i2c.h"
#include "no-os/spi.h"
#include "no_os_i2c.h"
#include "no_os_spi.h"

/******************************************************************************/
/******************************** ADXL345 *************************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/accel/adxl355/adxl355.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
/******************************************************************************/
#include <stdint.h>
#include <string.h>
#include "no-os/util.h"
#include "no-os/i2c.h"
#include "no-os/spi.h"
#include "no_os_util.h"
#include "no_os_i2c.h"
#include "no_os_spi.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/accel/adxl362/adxl362.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/spi.h"
#include "no_os_spi.h"

/******************************************************************************/
/********************************* ADXL362 ************************************/
Expand Down
10 changes: 5 additions & 5 deletions drivers/accel/adxl372/adxl372.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/util.h"
#include "no-os/delay.h"
#include "no-os/gpio.h"
#include "no-os/i2c.h"
#include "no-os/spi.h"
#include "no_os_util.h"
#include "no_os_delay.h"
#include "no_os_gpio.h"
#include "no_os_i2c.h"
#include "no_os_spi.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/accel/adxl372/adxl372_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "no-os/error.h"
#include "no_os_error.h"
#include "adxl372.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion drivers/accel/adxl372/adxl372_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "no-os/error.h"
#include "no_os_error.h"
#include "adxl372.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc-dac/ad5592r/ad5592r-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
#include "no-os/error.h"
#include "no_os_error.h"
#include "ad5592r-base.h"

/**
Expand Down
8 changes: 4 additions & 4 deletions drivers/adc-dac/ad5592r/ad5592r-base.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
#define AD5592R_BASE_H_

#include "stdint.h"
#include "no-os/delay.h"
#include "no-os/spi.h"
#include "no-os/i2c.h"
#include "no-os/util.h"
#include "no_os_delay.h"
#include "no_os_spi.h"
#include "no_os_i2c.h"
#include "no_os_util.h"
#include <stdbool.h>

#define CH_MODE_UNUSED 0
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc-dac/ad5592r/ad5592r.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
#include "no-os/error.h"
#include "no_os_error.h"
#include "ad5592r-base.h"
#include "ad5592r.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/adc-dac/ad5592r/ad5593r.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*******************************************************************************/

#include "ad5592r-base.h"
#include "no-os/error.h"
#include "no_os_error.h"
#include "ad5593r.h"

#define AD5593R_MODE_CONF (0 << 4)
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad400x/ad400x.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "stdbool.h"
#include "ad400x.h"
#include "spi_engine.h"
#include "no-os/error.h"
#include "no_os_error.h"

/**
* @brief Device resolution
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad463x/ad463x.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
/******************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include "no-os/error.h"
#include "no-os/delay.h"
#include "no_os_error.h"
#include "no_os_delay.h"
#include "ad463x.h"
#include "no-os/print_log.h"
#include "no_os_print_log.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad463x/ad463x.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
/******************************************************************************/
#include <stdint.h>
#include "spi_engine.h"
#include "no-os/util.h"
#include "no_os_util.h"
#include "clk_axi_clkgen.h"
#include "no-os/pwm.h"
#include "no-os/gpio.h"
#include "no_os_pwm.h"
#include "no_os_gpio.h"

/******************************************************************************/
/********************** Macros and Types Declarations *************************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad463x/iio_ad463x.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#include "ad463x.h"
#include "iio_ad463x.h"
#include "no-os/error.h"
#include "no_os_error.h"

/******************************************************************************/
/*************************** Types Declarations *******************************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad463x/iio_ad463x.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

#include <stdio.h>
#include "iio_types.h"
#include "no-os/spi.h"
#include "no_os_spi.h"

/******************************************************************************/
/*************************** Types Declarations *******************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad469x/ad469x.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
#include "stdlib.h"
#include "ad469x.h"
#include "spi_engine.h"
#include "no-os/delay.h"
#include "no-os/error.h"
#include "no-os/util.h"
#include "no_os_delay.h"
#include "no_os_error.h"
#include "no_os_util.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad469x/ad469x.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
/******************************************************************************/
#include "spi_engine.h"
#include "clk_axi_clkgen.h"
#include "no-os/pwm.h"
#include "no-os/gpio.h"
#include "no_os_pwm.h"
#include "no_os_gpio.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad6673/ad6673.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/spi.h"
#include "no-os/error.h"
#include "no_os_spi.h"
#include "no_os_error.h"

/******************************************************************************/
/*********************************** AD6673 ***********************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad6676/ad6676.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/util.h"
#include "no-os/delay.h"
#include "no-os/spi.h"
#include "no_os_util.h"
#include "no_os_delay.h"
#include "no_os_spi.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad7091r/ad7091r.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/spi.h"
#include "no_os_spi.h"

/******************************************************************************/
/*************************** Types Declarations *******************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad7091r5/ad7091r5.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
#include <string.h>
#include <errno.h>
#include "stdlib.h"
#include "no-os/error.h"
#include "no-os/delay.h"
#include "no-os/util.h"
#include "no_os_error.h"
#include "no_os_delay.h"
#include "no_os_util.h"

/******************************************************************************/
/************************** Functions Implementation **************************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad7091r5/ad7091r5.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdbool.h>
#include "no-os/i2c.h"
#include "no-os/gpio.h"
#include "no_os_i2c.h"
#include "no_os_gpio.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad7124/ad7124.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include "ad7124.h"
#include "no-os/delay.h"
#include "no_os_delay.h"

/* Error codes */
#define INVALID_VAL -1 /* Invalid argument */
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad7124/ad7124.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/spi.h"
#include "no-os/delay.h"
#include "no_os_spi.h"
#include "no_os_delay.h"

/******************************************************************************/
/******************* Register map and register definitions ********************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad7124/iio_ad7124.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
#include <stdio.h>
#include <inttypes.h>
#include <math.h>
#include "no-os/error.h"
#include "no_os_error.h"
#include "iio.h"
#include "iio_ad7124.h"
#include "no-os/util.h"
#include "no_os_util.h"
#include "ad7124.h"

/******************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad713x/ad713x.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@

#include <stdlib.h>
#include "ad713x.h"
#include "no-os/delay.h"
#include "no-os/error.h"
#include "no_os_delay.h"
#include "no_os_error.h"

/******************************************************************************/
/***************************** Variable definition ****************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad713x/ad713x.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@

#include <stdbool.h>
#include <stdio.h>
#include "no-os/spi.h"
#include "no-os/gpio.h"
#include "no-os/util.h"
#include "no_os_spi.h"
#include "no_os_gpio.h"
#include "no_os_util.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad713x/iio_dual_ad713x.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "no-os/error.h"
#include "no-os/util.h"
#include "no_os_error.h"
#include "no_os_util.h"
#include "iio_types.h"
#include "spi_engine.h"
#include "iio_dual_ad713x.h"
#include "no-os/delay.h"
#include "no_os_delay.h"

/******************************************************************************/
/*************************** Types Declarations *******************************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad713x/iio_dual_ad713x.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <stdio.h>
#include "ad713x.h"
#include "iio_types.h"
#include "no-os/spi.h"
#include "no_os_spi.h"

/******************************************************************************/
/*************************** Types Declarations *******************************/
Expand Down
2 changes: 1 addition & 1 deletion drivers/adc/ad717x/ad717x.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/******************************************************************************/
#include <stdlib.h>
#include "ad717x.h"
#include "no-os/error.h"
#include "no_os_error.h"

/* Error codes */
#define INVALID_VAL -1 /* Invalid argument */
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad717x/ad717x.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/spi.h"
#include "no-os/util.h"
#include "no_os_spi.h"
#include "no_os_util.h"
#include <stdbool.h>

/******************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad719x/ad719x.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
/******************************************************************************/
#include <stdlib.h>
#include "ad719x.h" // AD719X definitions.
#include "no-os/error.h"
#include "no-os/delay.h"
#include "no_os_error.h"
#include "no_os_delay.h"

/******************************************************************************/
/************************ Functions Definitions *******************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad719x/ad719x.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/gpio.h"
#include "no-os/spi.h"
#include "no-os/util.h"
#include "no_os_gpio.h"
#include "no_os_spi.h"
#include "no_os_util.h"

/******************************************************************************/
/******************************** AD719X **************************************/
Expand Down
6 changes: 3 additions & 3 deletions drivers/adc/ad7280a/ad7280a.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>
#include "no-os/delay.h"
#include "no-os/gpio.h"
#include "no-os/spi.h"
#include "no_os_delay.h"
#include "no_os_gpio.h"
#include "no_os_spi.h"

/******************************************************************************/
/********************** Macros and Constants Definitions **********************/
Expand Down
4 changes: 2 additions & 2 deletions drivers/adc/ad738x/ad738x.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
#include "stdbool.h"
#include "spi_engine.h"
#include "ad738x.h"
#include "no-os/delay.h"
#include "no-os/error.h"
#include "no_os_delay.h"
#include "no_os_error.h"

/******************************************************************************/
/************************** Functions Implementation **************************/
Expand Down
Loading

0 comments on commit 44cdc3e

Please sign in to comment.