├── .cproject ├── .gitignore ├── .project ├── AIRQUALITY5 ├── 1143_Datasheet-MiCS-6814-rev-8.pdf ├── Air_quality_5_click_v101_Schematic.pdf ├── Concentration trendlines.xlsx ├── ads1013.pdf ├── ads1015.c ├── ads1015.h ├── air_quality_5.c └── air_quality_5.h ├── BAROMETER ├── .deps │ ├── .dirstamp │ └── barometer.Po ├── .dirstamp ├── barometer.c ├── barometer.h └── barometer.hpp ├── CMakeLists.txt ├── CMakeSettings.json ├── FLAME ├── .deps │ ├── .dirstamp │ └── flame.Po ├── .dirstamp ├── flame-click-manual-v100.pdf ├── flame.c ├── flame.h └── flame.hpp ├── HEARTRATE4 ├── .deps │ ├── .dirstamp │ ├── algorithm_by_RF.Po │ ├── hr4_demo.Po │ └── max30102.Po ├── .dirstamp ├── algorithm_by_RF.c ├── algorithm_by_RF.h ├── heart-rate-4-click-schematic-v100.pdf ├── max30102.c └── max30102.h ├── LCDMINI ├── lcd-mini-click-schematic-v101.pdf ├── lcdmini.c ├── lcdmini.h ├── lmb162xfw.pdf ├── mcp23017-datasheet-21952b.pdf └── mcp414x-datasheet-22059b.pdf ├── LICENSE ├── LIGHTRANGER ├── core │ ├── inc │ │ ├── vl53l0x_api.h │ │ ├── vl53l0x_api_calibration.h │ │ ├── vl53l0x_api_core.h │ │ ├── vl53l0x_api_ranging.h │ │ ├── vl53l0x_api_strings.h │ │ ├── vl53l0x_def.h │ │ ├── vl53l0x_device.h │ │ ├── vl53l0x_interrupt_threshold_settings.h │ │ └── vl53l0x_tuning.h │ └── src │ │ ├── .deps │ │ ├── .dirstamp │ │ ├── libvl53l0x_a-vl53l0x_api.Po │ │ ├── libvl53l0x_a-vl53l0x_api_calibration.Po │ │ ├── libvl53l0x_a-vl53l0x_api_core.Po │ │ ├── libvl53l0x_a-vl53l0x_api_ranging.Po │ │ └── libvl53l0x_a-vl53l0x_api_strings.Po │ │ ├── .dirstamp │ │ ├── vl53l0x_api.c │ │ ├── vl53l0x_api_calibration.c │ │ ├── vl53l0x_api_core.c │ │ ├── vl53l0x_api_ranging.c │ │ └── vl53l0x_api_strings.c ├── light-ranger-2-click-schematic-v100.pdf └── platform │ ├── inc │ ├── vl53l0x_i2c_platform.h │ ├── vl53l0x_platform.h │ ├── vl53l0x_platform_log.h │ └── vl53l0x_types.h │ └── src │ ├── .deps │ ├── .dirstamp │ └── libvl53l0x_a-vl53l0x_platform.Po │ ├── .dirstamp │ └── vl53l0x_platform.c ├── LSM6DSL ├── LSM6DSL.pdf ├── LSM6DSLSensor.c ├── LSM6DSLSensor.h ├── LSM6DSL_ACC_GYRO_Driver.c ├── LSM6DSL_ACC_GYRO_Driver.h ├── lsm6dsl-click-schematic-v100.pdf ├── lsm6dsl.c ├── lsm6dsl.h └── lsm6dsl_reg.h ├── OLED-B ├── .deps │ ├── .dirstamp │ ├── Avnet_GFX.Po │ └── oledb_ssd1306.Po ├── .dirstamp ├── Avnet_GFX.c ├── Avnet_GFX.h ├── glcdfont.c ├── oledb.hpp ├── oledb_ssd1306.c └── oledb_ssd1306.h ├── README.md ├── RELAY ├── .deps │ ├── .dirstamp │ └── relay.Po ├── .dirstamp ├── relay-click-schematic-v100-a.pdf ├── relay.c └── relay.h ├── TEMP_HUM ├── .deps │ ├── .dirstamp │ └── hts221.Po ├── .dirstamp ├── hts221.c ├── hts221.h └── hts221.hpp ├── UART_I2CSPI ├── SC16IS740-750-760.pdf ├── SC16IS740._c ├── SC16IS740._h └── uart-i2c-spi-click-schematic-v100.pdf ├── build.sh ├── clicklib.cmake └── launch.vs.json /.gitignore: -------------------------------------------------------------------------------- 1 | /Debug/ 2 | /Release/ 3 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | clickmodules 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | 26 | 27 | -------------------------------------------------------------------------------- /AIRQUALITY5/1143_Datasheet-MiCS-6814-rev-8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/AIRQUALITY5/1143_Datasheet-MiCS-6814-rev-8.pdf -------------------------------------------------------------------------------- /AIRQUALITY5/Air_quality_5_click_v101_Schematic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/AIRQUALITY5/Air_quality_5_click_v101_Schematic.pdf -------------------------------------------------------------------------------- /AIRQUALITY5/Concentration trendlines.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/AIRQUALITY5/Concentration trendlines.xlsx -------------------------------------------------------------------------------- /AIRQUALITY5/ads1013.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/AIRQUALITY5/ads1013.pdf -------------------------------------------------------------------------------- /AIRQUALITY5/ads1015.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "ads1015.h" 3 | 4 | 5 | /* Private variables*/ 6 | static uint8_t m_bit_shift; 7 | 8 | /* Function prototypes*/ 9 | static void writeRegister(uint8_t i2cAddress, uint8_t reg, uint16_t value); 10 | static void (*I2C_rx)(uint8_t address, uint8_t* data_to_send, uint16_t length); 11 | static void (*I2C_tx)(uint8_t address, uint8_t* data_to_send, uint16_t length); 12 | static int(*Read_pin)(void); 13 | 14 | 15 | /******************************************************************************************* 16 | * @brief Initialize ADC. 17 | * @param None. 18 | * @retval None. 19 | ********************************************************************************************/ 20 | void ads1015_init(void) 21 | { 22 | m_bit_shift = 4; 23 | 24 | writeRegister(ADS1015_ADDR, ADS1015_REG_POINTER_HITHRESH, 0x8000); 25 | writeRegister(ADS1015_ADDR, ADS1015_REG_POINTER_LOWTHRESH, 0x0000); 26 | } 27 | 28 | /******************************************************************************************* 29 | * @brief Initialize ADC of Air quality 5. 30 | * @param init: Pointer to function taht initilizes the I2C hardware 31 | * @param i2c_rx: Pointer Function to read data. 32 | * @param i2c_tx: Pointer Function to write data. 33 | * @retval None. 34 | ********************************************************************************************/ 35 | void open_air_quality5_click(int(*init)(void), 36 | void(*i2c_rx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 37 | void(*i2c_tx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 38 | int(*read_pin)(void)) 39 | { 40 | init(); 41 | I2C_rx = i2c_rx; 42 | I2C_tx = i2c_tx; 43 | Read_pin = read_pin; 44 | 45 | ads1015_init(); 46 | return; 47 | } 48 | 49 | /******************************************************************************************* 50 | * @brief Checks the conversion ready flag. 51 | * @param None. 52 | * @retval 1: if convertion has finished, 0 otherwise. 53 | ********************************************************************************************/ 54 | static int is_ADC_ready(void) 55 | { 56 | return Read_pin(); 57 | } 58 | 59 | /******************************************************************************************* 60 | * @brief Writes 16-bits to the specified destination register. 61 | * @param i2cAdress: IC I2C address. 62 | * @param reg: register address to write. 63 | * @param value: value to be written into the register. 64 | * @retval None. 65 | ********************************************************************************************/ 66 | static void writeRegister(uint8_t i2cAddress, uint8_t reg, uint16_t value) 67 | { 68 | uint8_t data_to_send[3]; 69 | data_to_send[0] = reg; 70 | data_to_send[1] = (uint8_t)(value >> 8); 71 | data_to_send[2] = (uint8_t)(value & 0xff); 72 | I2C_tx(i2cAddress, data_to_send, sizeof(data_to_send)); 73 | } 74 | 75 | /******************************************************************************************* 76 | * @brief Reads 16-bits from the specified register. 77 | * @param i2cAdress: IC I2C address. 78 | * @param reg: address to be read. 79 | * @retval 16 bits read value. 80 | ********************************************************************************************/ 81 | static uint16_t readRegister(uint8_t i2cAddress, uint8_t reg) 82 | { 83 | uint8_t data_received[2]; 84 | 85 | I2C_tx(i2cAddress, ®, sizeof(reg)); 86 | 87 | I2C_rx(i2cAddress, data_received, sizeof(data_received)); 88 | 89 | return (uint16_t)((data_received[0]<<8)|data_received[1]); 90 | } 91 | 92 | /******************************************************************************************* 93 | * @brief Gets a single-ended ADC reading from the specified channel. 94 | * @param channel: the channel to be read. 95 | * @retval 16 bits ADC conversion. 96 | ********************************************************************************************/ 97 | 98 | uint16_t read_ADC_single_ended(uint8_t channel) 99 | { 100 | uint16_t config; 101 | 102 | if (channel > 3) 103 | { 104 | return 0; 105 | } 106 | 107 | config = ADS1015_REG_CONFIG_CQUE_1CONV | // Enable conversion ready pin 108 | ADS1015_REG_CONFIG_CLAT_NONLAT | // Non-latching (default val) 109 | ADS1015_REG_CONFIG_CPOL_ACTVLOW | // Alert/Rdy active low (default val) 110 | ADS1015_REG_CONFIG_CMODE_TRAD | // Traditional comparator (default val) 111 | ADS1015_REG_CONFIG_DR_1600SPS | // 1600 samples per second (default) 112 | ADS1015_REG_CONFIG_MODE_SINGLE | // Single-shot mode (default) 113 | ADS1015_REG_CONFIG_PGA_2_048V; // 114 | 115 | switch (channel) 116 | { 117 | case 0: 118 | { 119 | config |= ADS1015_REG_CONFIG_MUX_SINGLE_0; 120 | } 121 | break; 122 | case 1: 123 | { 124 | config |= ADS1015_REG_CONFIG_MUX_SINGLE_1; 125 | } 126 | break; 127 | case 2: 128 | { 129 | config |= ADS1015_REG_CONFIG_MUX_SINGLE_2; 130 | } 131 | break; 132 | case 3: 133 | { 134 | config |= ADS1015_REG_CONFIG_MUX_SINGLE_3; 135 | } 136 | break; 137 | default: 138 | { 139 | 140 | } 141 | break; 142 | } 143 | 144 | config |= ADS1015_REG_CONFIG_OS_SINGLE; 145 | 146 | 147 | writeRegister(ADS1015_ADDR, ADS1015_REG_POINTER_CONFIG, config); 148 | 149 | while (is_ADC_ready()); 150 | 151 | return readRegister(ADS1015_ADDR, ADS1015_REG_POINTER_CONVERT) >> 4; 152 | } 153 | 154 | 155 | /******************************************************************************************* 156 | * @brief Gets the last conversion result. 157 | * @param None. 158 | * @retval Last ADC conversion result. 159 | ********************************************************************************************/ 160 | 161 | int16_t get_last_conversion_result(void) 162 | { 163 | uint16_t res = readRegister(ADS1015_ADDR, ADS1015_REG_POINTER_CONVERT) >> m_bit_shift; 164 | 165 | if (m_bit_shift == 0) 166 | { 167 | return (int16_t)res; 168 | } 169 | else 170 | { 171 | // Shift 12-bit results right 4 bits for the ADS1015, 172 | // making sure we keep the sign bit intact 173 | if (res > 0x07FF) 174 | { 175 | // negative number - extend the sign to 16th bit 176 | res |= 0xF000; 177 | } 178 | return (int16_t)res; 179 | } 180 | } 181 | 182 | -------------------------------------------------------------------------------- /AIRQUALITY5/ads1015.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Air Quality 5 Click 4 | 5 | 6 | #define ADS1015_ADDR 0b01001000 7 | 8 | 9 | // Pointer register 10 | #define ADS1015_REG_POINTER_MASK 0x03 11 | #define ADS1015_REG_POINTER_CONVERT 0x00 12 | #define ADS1015_REG_POINTER_CONFIG 0x01 13 | #define ADS1015_REG_POINTER_LOWTHRESH 0x02 14 | #define ADS1015_REG_POINTER_HITHRESH 0x03 15 | 16 | // Config register 17 | #define ADS1015_REG_CONFIG_OS_MASK 0x8000 18 | #define ADS1015_REG_CONFIG_OS_SINGLE 0x8000 // Write: Set to start a single-conversion 19 | #define ADS1015_REG_CONFIG_OS_BUSY 0x0000 // Read: Bit = 0 when conversion is in progress 20 | #define ADS1015_REG_CONFIG_OS_NOTBUSY 0x8000 // Read: Bit = 1 when device is not performing a conversion 21 | 22 | #define ADS1015_REG_CONFIG_MUX_MASK 0x7000 23 | #define ADS1015_REG_CONFIG_MUX_DIFF_0_1 0x0000 // Differential P = AIN0, N = AIN1 default 24 | #define ADS1015_REG_CONFIG_MUX_DIFF_0_3 0x1000 // Differential P = AIN0, N = AIN3 25 | #define ADS1015_REG_CONFIG_MUX_DIFF_1_3 0x2000 // Differential P = AIN1, N = AIN3 26 | #define ADS1015_REG_CONFIG_MUX_DIFF_2_3 0x3000 // Differential P = AIN2, N = AIN3 27 | #define ADS1015_REG_CONFIG_MUX_SINGLE_0 0x4000 // Single-ended AIN0 28 | #define ADS1015_REG_CONFIG_MUX_SINGLE_1 0x5000 // Single-ended AIN1 29 | #define ADS1015_REG_CONFIG_MUX_SINGLE_2 0x6000 // Single-ended AIN2 30 | #define ADS1015_REG_CONFIG_MUX_SINGLE_3 0x7000 // Single-ended AIN3 31 | 32 | #define ADS1015_REG_CONFIG_PGA_MASK 0x0E00 33 | #define ADS1015_REG_CONFIG_PGA_6_144V 0x0000 // +/-6.144V range = Gain 2/3 34 | #define ADS1015_REG_CONFIG_PGA_4_096V 0x0200 // +/-4.096V range = Gain 1 35 | #define ADS1015_REG_CONFIG_PGA_2_048V 0x0400 // +/-2.048V range = Gain 2 default 36 | #define ADS1015_REG_CONFIG_PGA_1_024V 0x0600 // +/-1.024V range = Gain 4 37 | #define ADS1015_REG_CONFIG_PGA_0_512V 0x0800 // +/-0.512V range = Gain 8 38 | #define ADS1015_REG_CONFIG_PGA_0_256V 0x0A00 // +/-0.256V range = Gain 16 39 | 40 | #define ADS1015_REG_CONFIG_MODE_MASK 0x0100 41 | #define ADS1015_REG_CONFIG_MODE_CONTIN 0x0000 // Continuous conversion mode 42 | #define ADS1015_REG_CONFIG_MODE_SINGLE 0x0100 // Power-down single-shot mode default 43 | 44 | #define ADS1015_REG_CONFIG_DR_MASK 0x00E0 45 | #define ADS1015_REG_CONFIG_DR_128SPS 0x0000 // 128 samples per second 46 | #define ADS1015_REG_CONFIG_DR_250SPS 0x0020 // 250 samples per second 47 | #define ADS1015_REG_CONFIG_DR_490SPS 0x0040 // 490 samples per second 48 | #define ADS1015_REG_CONFIG_DR_920SPS 0x0060 // 920 samples per second 49 | #define ADS1015_REG_CONFIG_DR_1600SPS 0x0080 // 1600 samples per second default 50 | #define ADS1015_REG_CONFIG_DR_2400SPS 0x00A0 // 2400 samples per second 51 | #define ADS1015_REG_CONFIG_DR_3300SPS 0x00C0 // 3300 samples per second 52 | 53 | #define ADS1015_REG_CONFIG_CMODE_MASK 0x0010 54 | #define ADS1015_REG_CONFIG_CMODE_TRAD 0x0000 // Traditional comparator with hysteresis default 55 | #define ADS1015_REG_CONFIG_CMODE_WINDOW 0x0010 // Window comparator 56 | 57 | #define ADS1015_REG_CONFIG_CPOL_MASK 0x0008 58 | #define ADS1015_REG_CONFIG_CPOL_ACTVLOW 0x0000 // ALERT/RDY pin is low when active default 59 | #define ADS1015_REG_CONFIG_CPOL_ACTVHI 0x0008 // ALERT/RDY pin is high when active 60 | 61 | #define ADS1015_REG_CONFIG_CLAT_MASK 0x0004 // Determines if ALERT/RDY pin latches once asserted 62 | #define ADS1015_REG_CONFIG_CLAT_NONLAT 0x0000 // Non-latching comparator default 63 | #define ADS1015_REG_CONFIG_CLAT_LATCH 0x0004 // Latching comparator 64 | 65 | #define ADS1015_REG_CONFIG_CQUE_MASK 0x0003 66 | #define ADS1015_REG_CONFIG_CQUE_1CONV 0x0000 // Assert ALERT/RDY after one conversions 67 | #define ADS1015_REG_CONFIG_CQUE_2CONV 0x0001 // Assert ALERT/RDY after two conversions 68 | #define ADS1015_REG_CONFIG_CQUE_4CONV 0x0002 // Assert ALERT/RDY after four conversions 69 | #define ADS1015_REG_CONFIG_CQUE_NONE 0x0003 // Disable the comparator and put ALERT/RDY in high state default 70 | 71 | 72 | void open_air_quality5_click(int(*init)(void), 73 | void(*i2c_rx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 74 | void(*i2c_tx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 75 | int(*read_pin)(void)); 76 | 77 | uint16_t read_ADC_single_ended(uint8_t channel); -------------------------------------------------------------------------------- /AIRQUALITY5/air_quality_5.c: -------------------------------------------------------------------------------- 1 | /* Private includes ----------------------------------------------------------*/ 2 | #include "air_quality_5.h" 3 | #include "ads1015.h" 4 | 5 | 6 | /* Private variables ---------------------------------------------------------*/ 7 | int user_r0_co = R0_CO; 8 | int user_r0_no2 = R0_NO2; 9 | int user_r0_nh3 = R0_NH3; 10 | 11 | 12 | 13 | /******************************************************************************************* 14 | * @brief Initialize ADC of Air quality 5. 15 | * @param init: Pointer to function taht initilizes the I2C hardware 16 | * @param i2c_rx: Pointer Function to read data. 17 | * @param i2c_tx: Pointer Function to write data. 18 | * @retval None. 19 | ********************************************************************************************/ 20 | void init_gas_sensor(int(*init)(void), 21 | void(*i2c_rx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 22 | void(*i2c_tx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 23 | int(*read_pin)(void)) 24 | { 25 | open_air_quality5_click(init, i2c_rx, i2c_tx, read_pin); 26 | } 27 | 28 | /******************************************************************************************* 29 | * @brief Read ADC channel of a given gas type. 30 | * @param gas_type: Gas type to be read. 31 | * @retval ADC conversion data. 32 | ********************************************************************************************/ 33 | uint16_t read_gas(uint8_t gas_type) 34 | { 35 | return read_ADC_single_ended(gas_type); 36 | } 37 | 38 | /******************************************************************************************* 39 | * @brief Read the sensor's voltage of a given gas type. 40 | * @param gas_type: Gas type to be read. 41 | * @retval Voltage of the gas. 42 | ********************************************************************************************/ 43 | float read_voltage(uint8_t gas_type) 44 | { 45 | uint16_t data_adc; 46 | float voltage_adc; 47 | 48 | data_adc = read_ADC_single_ended(gas_type); 49 | 50 | voltage_adc = (float)data_adc * (float)LSB_VALUE_2_048; 51 | 52 | return voltage_adc; 53 | } 54 | 55 | /******************************************************************************************* 56 | * @brief Read the sensor's resistance of a given gas type. 57 | * @param gas_type: Gas type to be read. 58 | * @retval Resistance of the gas sensor. 59 | ********************************************************************************************/ 60 | float read_resistance(uint8_t gas_type) 61 | { 62 | float voltage_adc; 63 | float resistance; 64 | 65 | voltage_adc = read_voltage(gas_type); 66 | 67 | switch (gas_type) 68 | { 69 | case CH_NO2: 70 | { 71 | resistance = (float)(voltage_adc * RL_NO2 / (3.3 - voltage_adc)); 72 | } 73 | break; 74 | case CH_NH3: 75 | { 76 | resistance = (float)(voltage_adc * RL_NH3 / (3.3 - voltage_adc)); 77 | } 78 | break; 79 | case CH_CO: 80 | { 81 | resistance = (float)(voltage_adc * RL_CO / (3.3 - voltage_adc)); 82 | } 83 | break; 84 | default: 85 | break; 86 | } 87 | 88 | return resistance; 89 | } 90 | 91 | /******************************************************************************************* 92 | * @brief Read the concentration (ppm) of a given gas type. 93 | * @param gas_type: Gas type to be read. 94 | * @retval Concentration of the gas (ppm). 95 | ********************************************************************************************/ 96 | float read_concentration(uint8_t gas_type) 97 | { 98 | float resistance; 99 | float concentration; 100 | 101 | resistance = read_resistance(gas_type); 102 | 103 | // Concentration is got from a trendline that you can see in the excel file 104 | switch (gas_type) 105 | { 106 | case CH_NO2: 107 | { 108 | concentration = (float)(0.1621*powf(resistance / user_r0_no2, (float)0.9816)); 109 | } 110 | break; 111 | case CH_NH3: 112 | { 113 | concentration = (float)(0.5898*powf(resistance / user_r0_nh3, (float)-1.888)); 114 | } 115 | break; 116 | case CH_CO: 117 | { 118 | concentration = (float)(4.8201*powf(resistance / user_r0_co, (float)-1.156)); 119 | } 120 | break; 121 | default: 122 | break; 123 | } 124 | 125 | return concentration; 126 | } 127 | -------------------------------------------------------------------------------- /AIRQUALITY5/air_quality_5.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | /* Includes ------------------------------------------------------------------*/ 4 | #include 5 | #include 6 | 7 | /* Private define ------------------------------------------------------------*/ 8 | // Channel where sensors are connected to 9 | #define CH_NO2 0 10 | #define CH_NH3 1 11 | #define CH_CO 2 12 | 13 | // Load resistance 14 | #define RL_NO2 15000 15 | #define RL_NH3 1000000 16 | #define RL_CO 1000000 17 | 18 | // Sensing resistance in clean air (you have to determine these values in an area considered as clean air) 19 | #define R0_NO2 14400 20 | #define R0_NH3 440000 21 | #define R0_CO 620000 22 | 23 | // Less significative bit value with PGA at 2.048 V 24 | #define LSB_VALUE_2_048 0.001 25 | 26 | 27 | 28 | /********* Function prototypes **********/ 29 | 30 | /******************************************************************************************* 31 | * @brief Initialize ADC of Air quality 5. 32 | * @param init: Pointer to function taht initilizes the I2C hardware 33 | * @param i2c_rx: Pointer Function to read data. 34 | * @param i2c_tx: Pointer Function to write data. 35 | * @retval None. 36 | ********************************************************************************************/ 37 | void init_gas_sensor(int(*init)(void), 38 | void(*i2c_rx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 39 | void(*i2c_tx)(uint8_t address, uint8_t* data_to_send, uint16_t length), 40 | int(*read_pin)(void)); 41 | 42 | /******************************************************************************************* 43 | * @brief Read ADC channel of a given gas type. 44 | * @param gas_type: Gas type to be read. 45 | * @retval ADC conversion data. 46 | ********************************************************************************************/ 47 | uint16_t read_gas(uint8_t gas_type); 48 | 49 | /******************************************************************************************* 50 | * @brief Read the sensor's voltage of a given gas type. 51 | * @param gas_type: Gas type to be read. 52 | * @retval Voltage of the gas. 53 | ********************************************************************************************/ 54 | float read_voltage(uint8_t gas_type); 55 | 56 | /******************************************************************************************* 57 | * @brief Read the sensor's resistance of a given gas type. 58 | * @param gas_type: Gas type to be read. 59 | * @retval Resistance of the gas sensor. 60 | ********************************************************************************************/ 61 | float read_resistance(uint8_t gas_type); 62 | 63 | /******************************************************************************************* 64 | * @brief Read the concentration (ppm) of a given gas type. 65 | * @param gas_type: Gas type to be read. 66 | * @retval Concentration of the gas (ppm). 67 | ********************************************************************************************/ 68 | float read_concentration(uint8_t gas_type); 69 | 70 | -------------------------------------------------------------------------------- /BAROMETER/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/BAROMETER/.deps/.dirstamp -------------------------------------------------------------------------------- /BAROMETER/.deps/barometer.Po: -------------------------------------------------------------------------------- 1 | ../../../click/BAROMETER//barometer.o: \ 2 | ../../../click/BAROMETER//barometer.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../../../click/BAROMETER//barometer.h \ 5 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 14 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 16 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 34 | 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 36 | 37 | ../../../click/BAROMETER//barometer.h: 38 | 39 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 40 | 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 42 | 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 44 | 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 46 | 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 48 | 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 50 | 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 52 | 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 56 | 57 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 58 | 59 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 60 | 61 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 62 | 63 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 64 | 65 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 84 | 85 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 86 | 87 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 88 | 89 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 96 | -------------------------------------------------------------------------------- /BAROMETER/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/BAROMETER/.dirstamp -------------------------------------------------------------------------------- /BAROMETER/barometer.c: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file barometer.c 8 | * @brief code for managing the ST LPS25HB sensor. The LPS25HB sensor 9 | * (https://www.st.com/resource/en/datasheet/lps25hb.pdf) provides both 10 | * Barometer and Temperature readings. 11 | * 12 | * @author James Flynn 13 | * 14 | * @date 28-Feb-2019 15 | */ 16 | 17 | #include "barometer.h" 18 | 19 | /*! -------------------------------------------------------------------------------- 20 | * @brief Open a barometer object to work with. This function malloc's heap so it 21 | * must be paired with close_barometer to avoid memory leaks. 22 | * 23 | * @param rb Pointer to the function to called to read a byte from the device. 24 | * Expecting to read a Register Address over I2C 25 | * @param wb Pointer to the function to called to write a byte to the device. 26 | * Expecting to write a single byte to a register Address over I2C 27 | * @returns A pointer to a BAROMETER type (see barometer.h) 28 | */ 29 | BAROMETER* open_barometer(uint8_t (*rb)(uint8_t a), void (*wb)(uint8_t a, uint8_t v)) 30 | { 31 | BAROMETER* __pbar = (BAROMETER*) malloc(sizeof(BAROMETER)); 32 | if( __pbar == NULL ) 33 | return NULL; 34 | 35 | __pbar->rd_byte = rb; 36 | __pbar->wr_byte = wb; 37 | 38 | uint8_t addr = 0x20; 39 | uint8_t reg = __pbar->rd_byte(0x20) | 0xb0; //turn device on & configure 40 | wb( addr, reg ); 41 | 42 | return __pbar; 43 | } 44 | 45 | /*! -------------------------------------------------------------------------------- 46 | * @brief __temp is a function that is used internally when reading the 47 | * temperature values. 48 | * 49 | * @param __pbar a pointer to a BAROMETER struction so the I2C read/write routines 50 | * can be accessed. 51 | * @returns returns the temperature in Celsius. If an error occurs, a value representing 52 | * zero degrees kelvin (-273.15) is returned because it is impossible to achieve 53 | */ 54 | float __temp(BAROMETER* __pbar) 55 | { 56 | float t = ZERO_KELVIN; // degrees Celsius, physically impossible-to-reach temperature of zero kelvin 57 | 58 | if( __pbar->rd_byte(0x27) & 0x01 ){ 59 | uint8_t l = __pbar->rd_byte(0x2b); 60 | uint8_t h = __pbar->rd_byte(0x2c); 61 | t = ((h << 8 | l )<<((sizeof(int)-2)*8)) >> ((sizeof(int)-2)*8); 62 | t = 42.5 + (t/480.0); 63 | } 64 | return t; 65 | } 66 | 67 | /*! -------------------------------------------------------------------------------- 68 | * @brief close_barometer pairs with the open_barometer function. It free's malloc'ed 69 | * memory. 70 | * 71 | * @param b a pointer to a BAROMETER struction 72 | * @returns none. 73 | */ 74 | void close_barometer(BAROMETER* b) { free(b); } 75 | 76 | /*! -------------------------------------------------------------------------------- 77 | * @brief barometer_who_am_i returns the LPS25HB identification 78 | * 79 | * @param __pbar a pointer to a BAROMETER struction 80 | * @returns the SLPS25HB identification value 81 | */ 82 | int barometer_who_am_i(BAROMETER* __pbar) { return __pbar->rd_byte(0x0f); } 83 | 84 | /*! -------------------------------------------------------------------------------- 85 | * @brief barometer_get_tempC returns the LPS25HB temperature reading 86 | * 87 | * @param __pbar a pointer to a BAROMETER struction 88 | * @returns none. 89 | */ 90 | float barometer_get_tempC(BAROMETER* __pbar) { return __temp(__pbar); } 91 | 92 | /*! -------------------------------------------------------------------------------- 93 | * @brief barometer_get_tempF returns the LPS25HB temperature reading in fahrenheit 94 | * 95 | * @param __pbar a pointer to a BAROMETER struction 96 | * @returns float. 97 | */ 98 | float barometer_get_tempF(BAROMETER* __pbar) { return (__temp(__pbar) * (float)1.8+32); } //convert to fahrenheit 99 | 100 | /*! -------------------------------------------------------------------------------- 101 | * @brief barometer_get_pressure returns the LPS25HB atomspheric pressure reading 102 | * 103 | * @param __pbar a pointer to a BAROMETER struction 104 | * @returns float. 105 | */ 106 | float barometer_get_pressure(BAROMETER* __pbar) //in mbar 107 | { 108 | float press = -1; 109 | if( __pbar->rd_byte(0x27) & 0x02 ){ 110 | uint8_t xl = __pbar->rd_byte(0x28); 111 | uint8_t l = __pbar->rd_byte(0x29); 112 | uint8_t h = __pbar->rd_byte(0x2a); 113 | int counts = ((h << 16 | l<<8 | xl)<<((sizeof(int)-3)*8)) >> ((sizeof(int)-3)*8); 114 | press = (float)counts / 4096.0; 115 | } 116 | return press; 117 | } 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /BAROMETER/barometer.h: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file barometer.h 8 | * @brief standard 'C' header for ST LPS25HB sensor. 9 | * 10 | * @author James Flynn 11 | * 12 | * @date 28-Feb-2019 13 | */ 14 | 15 | #ifndef __BAROMETER_H__ 16 | #define __BAROMETER_H__ 17 | 18 | #include 19 | #include 20 | 21 | #define LPS25HB_SAD (0x5d) 22 | #define LPS25HB_WHO_AM_I 0xbd 23 | 24 | #define ZERO_KELVIN -273.15 25 | 26 | typedef struct barometer_t { 27 | uint8_t (*rd_byte)(uint8_t raddr); 28 | void (*wr_byte)(uint8_t raddr, uint8_t val); 29 | } BAROMETER; 30 | 31 | #ifdef __cplusplus 32 | extern "C" { 33 | #endif 34 | 35 | BAROMETER* open_barometer(uint8_t (*rb)(uint8_t a), void (*wb)(uint8_t a, uint8_t v)); 36 | float __temp(BAROMETER* __pbar); 37 | void close_barometer(BAROMETER* b); 38 | int barometer_who_am_i(BAROMETER* __pbar); 39 | float barometer_get_tempC(BAROMETER* __pbar); 40 | float barometer_get_tempF(BAROMETER* __pbar); 41 | float barometer_get_pressure(BAROMETER* __pbar); 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | 47 | #endif // __BAROMETER_H__ 48 | 49 | 50 | -------------------------------------------------------------------------------- /BAROMETER/barometer.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file barometer.hpp 8 | * @brief Class for managing a ST LPS25HB sensor. 9 | * the class simply pulls the 'C' functions into a comprehensive call so the 10 | * LPS25HB can be treated as a single object. 11 | 12 | * @author James Flynn 13 | * 14 | * @date 28-Feb-2019 15 | */ 16 | 17 | #ifndef __BAROMETER_HPP__ 18 | #define __BAROMETER_HPP__ 19 | 20 | #include "barometer.h" 21 | 22 | class Barometer : public i2c_interface { 23 | private: 24 | friend class i2c_interface; 25 | BAROMETER* _bptr; 26 | 27 | static uint8_t lps25hb_read_byte(uint8_t reg_addr) { 28 | return (get_i2c_handle())->read_i2c(LPS25HB_SAD, reg_addr); 29 | } 30 | 31 | static void lps25hb_write_byte(uint8_t reg_addr, uint8_t value) { 32 | uint8_t buffer_sent[2] = {reg_addr, value}; 33 | (get_i2c_handle())->write_i2c(LPS25HB_SAD, buffer_sent, 2); 34 | } 35 | 36 | public: 37 | Barometer(void) { _bptr = open_barometer(&lps25hb_read_byte, &lps25hb_write_byte); } 38 | ~Barometer(void) { close_barometer(_bptr); } 39 | 40 | int who_am_i(void) { return barometer_who_am_i(_bptr); } 41 | float get_pressure(void) { return barometer_get_pressure(_bptr); } 42 | float get_tempC(void) { return barometer_get_tempC(_bptr); } 43 | float get_tempF(void) { return barometer_get_tempF(_bptr); } 44 | }; 45 | 46 | #endif // __BAROMETER_HPP__ 47 | 48 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | CMAKE_MINIMUM_REQUIRED(VERSION 3.10) 3 | 4 | project( libclick C ) 5 | 6 | azsphere_configure_tools(TOOLS_REVISION "20.04") 7 | azsphere_configure_api(TARGET_API_SET "7") 8 | 9 | set( clickmodules_inc "LIGHTRANGER/core/inc" "LIGHTRANGER/platform/inc" "AIRQUALITY5" "BAROMETER" ) 10 | set( clickmodules_inc ${clickmodules_inc} "FLAME" "HEARTRATE4" "LCDMINI" "LSM6DSL" "OLED-B" "RELAY" "TEMP_HUM" ) 11 | 12 | set( clickmodules_src "AIRQUALITY5/ads1015.c" "AIRQUALITY5/air_quality_5.c" ) 13 | set( clickmodules_src ${clickmodules_src} "BAROMETER/barometer.c" ) 14 | set( clickmodules_src ${clickmodules_src} "FLAME/flame.c" ) 15 | set( clickmodules_src ${clickmodules_src} "HEARTRATE4/algorithm_by_RF.c" "HEARTRATE4/max30102.c" ) 16 | set( clickmodules_src ${clickmodules_src} "LCDMINI/lcdmini.c" ) 17 | set( clickmodules_src ${clickmodules_src} "LSM6DSL/LSM6DSL_ACC_GYRO_Driver.c" "LSM6DSL/lsm6dsl.c" "LSM6DSL/LSM6DSLSensor.c" ) 18 | set( clickmodules_src ${clickmodules_src} "OLED-B/Avnet_GFX.c" "OLED-B/glcdfont.c" "OLED-B/oledb_ssd1306.c" ) 19 | set( clickmodules_src ${clickmodules_src} "RELAY/relay.c" ) 20 | set( clickmodules_src ${clickmodules_src} "TEMP_HUM/hts221.c" ) 21 | set( clickmodules_src ${clickmodules_src} "LIGHTRANGER/platform/src/vl53l0x_platform.c" ) 22 | set( clickmodules_src ${clickmodules_src} "LIGHTRANGER/core/src/vl53l0x_api.c" "LIGHTRANGER/core/src/vl53l0x_api_calibration.c" ) 23 | set( clickmodules_src ${clickmodules_src} "LIGHTRANGER/core/src/vl53l0x_api_core.c" "LIGHTRANGER/core/src/vl53l0x_api_ranging.c" ) 24 | set( clickmodules_src ${clickmodules_src} "LIGHTRANGER/core/src/vl53l0x_api_strings.c" ) 25 | 26 | include_directories( ${clickmodules_inc} ) 27 | 28 | add_library( click STATIC ${clickmodules_src} ) 29 | 30 | target_compile_options(click PRIVATE -w) 31 | -------------------------------------------------------------------------------- /CMakeSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "environments": [ 3 | { 4 | "environment": "AzureSphere" 5 | } 6 | ], 7 | "configurations": [ 8 | { 9 | "name": "ARM-Debug", 10 | "generator": "Ninja", 11 | "configurationType": "Debug", 12 | "inheritEnvironments": [ 13 | "AzureSphere" 14 | ], 15 | "buildRoot": "${projectDir}\\out\\${name}", 16 | "installRoot": "${projectDir}\\install\\${name}", 17 | "cmakeToolchain": "${env.AzureSphereDefaultSDKDir}CMakeFiles\\AzureSphereToolchain.cmake", 18 | "buildCommandArgs": "-v", 19 | "ctestCommandArgs": "", 20 | "variables": [ 21 | { 22 | "name": "AZURE_SPHERE_TARGET_API_SET", 23 | "value": "latest-lts" 24 | } 25 | ] 26 | }, 27 | { 28 | "name": "ARM-Release", 29 | "generator": "Ninja", 30 | "configurationType": "Release", 31 | "inheritEnvironments": [ 32 | "AzureSphere" 33 | ], 34 | "buildRoot": "${projectDir}\\out\\${name}", 35 | "installRoot": "${projectDir}\\install\\${name}", 36 | "cmakeToolchain": "${env.AzureSphereDefaultSDKDir}CMakeFiles\\AzureSphereToolchain.cmake", 37 | "buildCommandArgs": "-v", 38 | "ctestCommandArgs": "", 39 | "variables": [ 40 | { 41 | "name": "AZURE_SPHERE_TARGET_API_SET", 42 | "value": "latest-lts" 43 | } 44 | ] 45 | } 46 | ] 47 | } 48 | -------------------------------------------------------------------------------- /FLAME/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/FLAME/.deps/.dirstamp -------------------------------------------------------------------------------- /FLAME/.deps/flame.Po: -------------------------------------------------------------------------------- 1 | ../../../click/FLAME/flame.o: ../../../click/FLAME/flame.c \ 2 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 3 | ../../../click/FLAME/flame.h \ 4 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 5 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 13 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 16 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 33 | 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 35 | 36 | ../../../click/FLAME/flame.h: 37 | 38 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 39 | 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 41 | 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 43 | 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 45 | 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 47 | 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 49 | 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 51 | 52 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 53 | 54 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 55 | 56 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 57 | 58 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 59 | 60 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 61 | 62 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 63 | 64 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 65 | 66 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 67 | 68 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 69 | 70 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 71 | 72 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 73 | 74 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 75 | 76 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 77 | 78 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 79 | 80 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 81 | 82 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 83 | 84 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 85 | 86 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 87 | 88 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 89 | 90 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 91 | 92 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 93 | 94 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 95 | -------------------------------------------------------------------------------- /FLAME/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/FLAME/.dirstamp -------------------------------------------------------------------------------- /FLAME/flame-click-manual-v100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/FLAME/flame-click-manual-v100.pdf -------------------------------------------------------------------------------- /FLAME/flame.c: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | #include "flame.h" 7 | 8 | /** 9 | * @file flame.c 10 | * @brief 'C' code for MicroE Flame Click module. 11 | * 12 | * @author James Flynn 13 | * 14 | * @date 28-Feb-2019 15 | */ 16 | 17 | 18 | FLAME* open_flamedetect( float (*st)(void), int (*intSt)(void), void (*i)(void) ) 19 | { 20 | FLAME* ptr = (FLAME*)malloc(sizeof(FLAME)); 21 | 22 | if( ptr ) { 23 | ptr->stat =st; //> status callback function 24 | ptr->intStat =intSt; //> interrupt status callback function 25 | ptr->init =i; //> initialization function 26 | ptr->cb =NULL; //> callback function for when a change in interrupt status occurs 27 | ptr->flameState =0; //> internal status of flame detection 28 | ptr->intLineState=0; //> current state of the interrupt line 29 | } 30 | ptr->init(); 31 | return ptr; 32 | } 33 | 34 | void close_flamedetect( FLAME *ptr ) 35 | { 36 | free(ptr); 37 | } 38 | 39 | float flame_status( FLAME* ptr) 40 | { 41 | return ptr->stat(); 42 | } 43 | 44 | 45 | int flame_intstatus( FLAME* ptr) 46 | { 47 | int current_state = ptr->intStat(); 48 | if( ptr->intLineState != current_state && ptr->cb != NULL ) 49 | ptr->cb(current_state); 50 | ptr->intLineState = current_state; 51 | return current_state; 52 | } 53 | 54 | void* flame_setcallback( FLAME* ptr, void (*cb)(int) ) 55 | { 56 | void* tptr = ptr->cb; 57 | ptr->cb = cb; 58 | return tptr; 59 | } 60 | 61 | 62 | -------------------------------------------------------------------------------- /FLAME/flame.h: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file barometer.h 8 | * @brief standard 'C' header for ST LPS25HB sensor. 9 | * 10 | * @author James Flynn 11 | * 12 | * @date 28-Feb-2019 13 | */ 14 | 15 | #ifndef __FLAME_H__ 16 | #define __FLAME_H__ 17 | 18 | #include 19 | #include 20 | 21 | #define FLAME_SAD 0x5d 22 | 23 | typedef struct flame_t { 24 | float (*stat)(void); 25 | int (*intStat)(void); 26 | void (*init)(void); 27 | void (*cb)(int); 28 | int flameState; 29 | int intLineState; 30 | } FLAME; 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | 36 | FLAME* open_flamedetect( float (*stat)(void), int (*intStat)(void), void (*init)(void) ); 37 | void close_flamedetect( FLAME *ptr ); 38 | float flame_status( FLAME* ptr); 39 | int flame_intstatus( FLAME* ptr); 40 | void* flame_setcallback( FLAME* ptr, void (*cb)(int) ); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif // __FLAME_H__ 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /FLAME/flame.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file flame.hpp 8 | * @brief Class for handling the FlameClick 9 | 10 | * @author James Flynn 11 | * 12 | * @date 28-Feb-2019 13 | */ 14 | 15 | #ifndef __FLAMECLICK_HPP__ 16 | #define __FLAMECLICK_HPP__ 17 | 18 | #include "flame.h" 19 | 20 | class Flame { 21 | private: 22 | gpio_handle_t flamePin; 23 | gpio_handle_t intPin; 24 | FLAME* fptr; 25 | 26 | void init(void) { 27 | gpio_init(GPIO_PIN_XYZ, &flamePin); 28 | gpio_init(GPIO_PIN_XYZ, &intPin); 29 | } 30 | 31 | int intStatus(void) { 32 | int val; 33 | gpio_read(intPin,&val); 34 | return val; 35 | } 36 | 37 | int status(void) { 38 | int val; 39 | gpio_read(flamePin,&val); 40 | return val; 41 | } 42 | 43 | public: 44 | Flame(void) : (flamePin(0), intPin(0), flameState(false), intCB(NULL) 45 | { 46 | fptr = open_flamedetect( status, intStatus, init); 47 | } 48 | 49 | ~Flame(void) { 50 | gpio_deinit(&flamePin); 51 | gpio_deinit(&intPin); 52 | close_flamedetect(fptr); 53 | } 54 | 55 | bool status(void) { return flame_status(fptr); } 56 | 57 | bool intStatus(void) { return flame_intstatus(fptr); } 58 | 59 | void setIntCallback(void (*i)(int *v)) { flame_setcallback( fptr, v); } 60 | 61 | }; 62 | 63 | #endif // __FLAMECLICK_HPP__ 64 | 65 | -------------------------------------------------------------------------------- /HEARTRATE4/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/HEARTRATE4/.deps/.dirstamp -------------------------------------------------------------------------------- /HEARTRATE4/.deps/algorithm_by_RF.Po: -------------------------------------------------------------------------------- 1 | ../../../click/HEARTRATE4/algorithm_by_RF.o: \ 2 | ../../../click/HEARTRATE4/algorithm_by_RF.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../../../click/HEARTRATE4/algorithm_by_RF.h \ 5 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 11 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 16 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h \ 31 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/math.h \ 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/math-vector.h \ 36 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/libm-simd-decl-stubs.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/huge_val.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/huge_valf.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/huge_vall.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/inf.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/nan.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/mathdef.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/mathcalls.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/mathinline.h 45 | 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 47 | 48 | ../../../click/HEARTRATE4/algorithm_by_RF.h: 49 | 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 51 | 52 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 53 | 54 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 55 | 56 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 57 | 58 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 59 | 60 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 61 | 62 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 63 | 64 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 65 | 66 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 67 | 68 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 69 | 70 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 71 | 72 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 73 | 74 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 75 | 76 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 77 | 78 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 79 | 80 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 81 | 82 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 83 | 84 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 85 | 86 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 87 | 88 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 89 | 90 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 91 | 92 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 93 | 94 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 95 | 96 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 97 | 98 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 99 | 100 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 101 | 102 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 103 | 104 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 105 | 106 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 107 | 108 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/math.h: 109 | 110 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/math-vector.h: 111 | 112 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/libm-simd-decl-stubs.h: 113 | 114 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/huge_val.h: 115 | 116 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/huge_valf.h: 117 | 118 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/huge_vall.h: 119 | 120 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/inf.h: 121 | 122 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/nan.h: 123 | 124 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/mathdef.h: 125 | 126 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/mathcalls.h: 127 | 128 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/mathinline.h: 129 | -------------------------------------------------------------------------------- /HEARTRATE4/.deps/max30102.Po: -------------------------------------------------------------------------------- 1 | ../../../click/HEARTRATE4/max30102.o: \ 2 | ../../../click/HEARTRATE4/max30102.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../../../click/HEARTRATE4/max30102.h \ 5 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 13 | ../../../click/HEARTRATE4/algorithm_by_RF.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 15 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 16 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h \ 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/hwlib/hwlib.h 36 | 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 38 | 39 | ../../../click/HEARTRATE4/max30102.h: 40 | 41 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 42 | 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 44 | 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 46 | 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 48 | 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 50 | 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 52 | 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 56 | 57 | ../../../click/HEARTRATE4/algorithm_by_RF.h: 58 | 59 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 60 | 61 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 62 | 63 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 64 | 65 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 84 | 85 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 86 | 87 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 88 | 89 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/hwlib/hwlib.h: 102 | -------------------------------------------------------------------------------- /HEARTRATE4/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/HEARTRATE4/.dirstamp -------------------------------------------------------------------------------- /HEARTRATE4/algorithm_by_RF.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Created by Robert Fraczkiewicz, 01/2018 3 | * New signal processing methodology for obtaining heart rate and SpO2 data 4 | * from the MAX30102 sensor manufactured by MAXIM Integrated Products, Inc. 5 | */ 6 | /******************************************************************************* 7 | * Copyright (C) 2017 Robert Fraczkiewicz, All Rights Reserved. 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a 10 | * copy of this software and associated documentation files (the "Software"), 11 | * to deal in the Software without restriction, including without limitation 12 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 13 | * and/or sell copies of the Software, and to permit persons to whom the 14 | * Software is furnished to do so, subject to the following conditions: 15 | * 16 | * The above copyright notice and this permission notice shall be included 17 | * in all copies or substantial portions of the Software. 18 | * 19 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 20 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 22 | * IN NO EVENT SHALL ROBERT FRACZKIEWICZ BE LIABLE FOR ANY CLAIM, DAMAGES 23 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 24 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 25 | * OTHER DEALINGS IN THE SOFTWARE. 26 | * 27 | * The mere transfer of this software does not imply any licenses 28 | * of trade secrets, proprietary technology, copyrights, patents, 29 | * trademarks, maskwork rights, or any other form of intellectual 30 | * property whatsoever. Robert Fraczkiewicz retains all 31 | * ownership rights. 32 | ******************************************************************************* 33 | */ 34 | #include 35 | #include 36 | 37 | #ifndef ALGORITHM_BY_RF_H_ 38 | #define ALGORITHM_BY_RF_H_ 39 | 40 | /* 41 | * Settable parameters 42 | * Leave these alone if your circuit and hardware setup match the defaults 43 | * described in this code's Instructable. Typically, different sampling rate 44 | * and/or sample length would require these paramteres to be adjusted. 45 | */ 46 | #define ST 4 // Sampling time in s. WARNING: if you change ST, then you MUST recalcuate the sum_X2 parameter below! 47 | #define FS 25 // Sampling frequency in Hz. WARNING: if you change FS, then you MUST recalcuate the sum_X2 parameter below! 48 | 49 | // Sum of squares of ST*FS numbers from -mean_X (see below) to +mean_X incremented be one. For example, given ST=4 and FS=25, 50 | // the sum consists of 100 terms: (-49.5)^2 + (-48.5)^2 + (-47.5)^2 + ... + (47.5)^2 + (48.5)^2 + (49.5)^2 51 | // The sum is symmetrc, so you can evaluate it by multiplying its positive half by 2. It is precalcuated here for enhanced 52 | // performance. 53 | //const float sum_X2 = 83325; // WARNING: you MUST recalculate this sum if you changed either ST or FS above! 54 | 55 | #define MAX_HR 125 // Maximal heart rate. To eliminate erroneous signals, calculated HR should never be greater than this number. 56 | #define MIN_HR 40 // Minimal heart rate. To eliminate erroneous signals, calculated HR should never be lower than this number. 57 | 58 | // Typical heart rate. Set it to the upper value of the expected heart rate range in a given application. Obviously, it must be 59 | // in between MIN_HR and MAX_HR. For example, if HR in an overnight measurement varies between 46 and 65, but 90% of the time 60 | // stays between 50 and 60, then set it to 60. 61 | // WARNING: This is a CRUCIAL parameter! Proper HR evaluation depends on it. 62 | #define TYPICAL_HR 60 63 | 64 | // Minimal ratio of two autocorrelation sequence elements: one at a considered lag to the one at lag 0. 65 | // Good quality signals must have such ratio greater than this minimum. 66 | //const float min_autocorrelation_ratio = 0.5; 67 | 68 | // Pearson correlation between red and IR signals. 69 | // Good quality signals must have their correlation coefficient greater than this minimum. 70 | //const float min_pearson_correlation = 0.8; 71 | 72 | /* 73 | * Derived parameters 74 | * Do not touch these! 75 | * 76 | */ 77 | #define BUFFER_SIZE FS*ST // Number of smaples in a single batch 78 | #define FS60 FS*60 // Conversion factor for heart rate from bps to bpm 79 | #define LOWEST_PERIOD FS60/MAX_HR // Minimal distance between peaks 80 | #define HIGHEST_PERIOD FS60/MIN_HR // Maximal distance between peaks 81 | #define INIT_INTERVAL FS60/TYPICAL_HR // Seed value for heart rate determination routine 82 | 83 | #ifdef __cplusplus 84 | extern "C" { 85 | #endif 86 | 87 | void rf_heart_rate_and_oxygen_saturation(uint32_t *pun_ir_buffer, int32_t n_ir_buffer_length, uint32_t *pun_red_buffer, float *pn_spo2, int8_t *pch_spo2_valid, int32_t *pn_heart_rate, 88 | int8_t *pch_hr_valid, float *ratio, float *correl); 89 | float rf_linear_regression_beta(float *pn_x, float xmean, float sum_x2); 90 | float rf_autocorrelation(float *pn_x, int32_t n_size, int32_t n_lag); 91 | float rf_rms(float *pn_x, int32_t n_size, float *sumsq); 92 | float rf_Pcorrelation(float *pn_x, float *pn_y, int32_t n_size); 93 | void rf_signal_periodicity(float *pn_x, int32_t n_size, int32_t *p_last_periodicity, int32_t n_min_distance, int32_t n_max_distance, float min_aut_ratio, float aut_lag0, float *ratio); 94 | 95 | #ifdef __cplusplus 96 | } 97 | #endif 98 | 99 | #endif /* ALGORITHM_BY_RF_H_ */ 100 | 101 | -------------------------------------------------------------------------------- /HEARTRATE4/heart-rate-4-click-schematic-v100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/HEARTRATE4/heart-rate-4-click-schematic-v100.pdf -------------------------------------------------------------------------------- /HEARTRATE4/max30102.c: -------------------------------------------------------------------------------- 1 | /** \file max30102.cpp ****************************************************** 2 | * 3 | * Project: MAXREFDES117# 4 | * Filename: max30102.cpp 5 | * Description: This module is an embedded controller driver for the MAX30102 6 | * 7 | * Revision History: 8 | *\n 1-18-2016 Rev 01.00 GL Initial release. 9 | *\n 12-22-2017 Rev 02.00 Significantlly modified by Robert Fraczkiewicz 10 | * 11 | * -------------------------------------------------------------------- 12 | * 13 | * This code follows the following naming conventions: 14 | * 15 | * char ch_pmod_value 16 | * char (array) s_pmod_s_string[16] 17 | * float f_pmod_value 18 | * int32_t n_pmod_value 19 | * int32_t (array) an_pmod_value[16] 20 | * int16_t w_pmod_value 21 | * int16_t (array) aw_pmod_value[16] 22 | * uint16_t uw_pmod_value 23 | * uint16_t (array) auw_pmod_value[16] 24 | * uint8_t uch_pmod_value 25 | * uint8_t (array) auch_pmod_buffer[16] 26 | * uint32_t un_pmod_value 27 | * int32_t * pn_pmod_value 28 | * 29 | * ------------------------------------------------------------------------- */ 30 | /******************************************************************************* 31 | * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. 32 | * 33 | * Permission is hereby granted, free of charge, to any person obtaining a 34 | * copy of this software and associated documentation files (the "Software"), 35 | * to deal in the Software without restriction, including without limitation 36 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 37 | * and/or sell copies of the Software, and to permit persons to whom the 38 | * Software is furnished to do so, subject to the following conditions: 39 | * 40 | * The above copyright notice and this permission notice shall be included 41 | * in all copies or substantial portions of the Software. 42 | * 43 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 44 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 45 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 46 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES 47 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 48 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 49 | * OTHER DEALINGS IN THE SOFTWARE. 50 | * 51 | * Except as contained in this notice, the name of Maxim Integrated 52 | * Products, Inc. shall not be used except as stated in the Maxim Integrated 53 | * Products, Inc. Branding Policy. 54 | * 55 | * The mere transfer of this software does not imply any licenses 56 | * of trade secrets, proprietary technology, copyrights, patents, 57 | * trademarks, maskwork rights, or any other form of intellectual 58 | * property whatsoever. Maxim Integrated Products, Inc. retains all 59 | * ownership rights. 60 | ******************************************************************************* 61 | */ 62 | #include "max30102.h" 63 | #include "algorithm_by_RF.h" 64 | 65 | //extern i2c_handle_t i2c_handle; 66 | static int (*_i2c_read)( uint8_t addr, uint16_t count, uint8_t* ptr ); 67 | static void (*_i2c_write)( uint8_t addr, uint16_t count, uint8_t* ptr ); 68 | 69 | 70 | /** 71 | * \brief Write a value to a MAX30102 register 72 | * \par Details 73 | * This function writes a value to a MAX30102 register 74 | * 75 | * \param[in] uch_addr - register address 76 | * \param[in] uch_data - register data 77 | * 78 | * \retval 1 on success 79 | */ 80 | int maxim_max30102_write_reg(uint8_t uch_addr, uint8_t uch_data) 81 | { 82 | _i2c_write(uch_addr, 1, &uch_data); 83 | // uint8_t buff[2]; 84 | // buff[0] = uch_addr; 85 | // buff[1] = uch_data; 86 | // i2c_write(i2c_handle, MAX30101_SAD, buff, 2, I2C_STOP); 87 | return 1; 88 | } 89 | 90 | /** 91 | * \brief Read a MAX30102 register 92 | * \par Details 93 | * This function reads a MAX30102 register 94 | * 95 | * \param[in] uch_addr - register address 96 | * \param[out] puch_data - pointer that stores the register data 97 | * 98 | * \retval 1 on success 99 | */ 100 | int maxim_max30102_read_reg(uint8_t uch_addr, uint8_t *puch_data) 101 | { 102 | _i2c_read(uch_addr, 1, puch_data); 103 | // i2c_write(i2c_handle, MAX30101_SAD, &uch_addr, 1, I2C_NO_STOP); 104 | // i2c_read(i2c_handle, MAX30101_SAD, puch_data, 1); 105 | return 1; 106 | } 107 | 108 | void maxim_max30102_i2c_setup( int (*rd)( uint8_t addr, uint16_t count, uint8_t* ptr ), void (*wr)( uint8_t addr, uint16_t count, uint8_t* ptr )) 109 | { 110 | _i2c_read = rd; 111 | _i2c_write= wr; 112 | } 113 | 114 | 115 | /** 116 | * \brief Initialize the MAX30102 117 | * \par Details 118 | * This function initializes the MAX30102 119 | * 120 | * \param None 121 | * 122 | * \retval 1 on success 123 | */ 124 | int maxim_max30102_init() 125 | { 126 | if(!maxim_max30102_write_reg(REG_INTR_ENABLE_1,0b11010000)) // INTR setting 127 | return 0; 128 | if(!maxim_max30102_write_reg(REG_INTR_ENABLE_2,0x00)) 129 | return 0; 130 | if(!maxim_max30102_write_reg(REG_FIFO_WR_PTR,0x00)) //FIFO_WR_PTR[4:0] 131 | return 0; 132 | if(!maxim_max30102_write_reg(REG_OVF_COUNTER,0x00)) //OVF_COUNTER[4:0] 133 | return 0; 134 | if(!maxim_max30102_write_reg(REG_FIFO_RD_PTR,0x00)) //FIFO_RD_PTR[4:0] 135 | return 0; 136 | if(!maxim_max30102_write_reg(REG_FIFO_CONFIG,0x4f)) //sample avg = 4, fifo rollover=0, fifo almost full = 17 137 | return 0; 138 | if(!maxim_max30102_write_reg(REG_MODE_CONFIG,0x03)) //0x02 for Red only, 0x03 for SpO2 mode 0x07 multimode LED 139 | return 0; 140 | if(!maxim_max30102_write_reg(REG_SPO2_CONFIG,0x27)) // SPO2_ADC range = 4096nA, SPO2 sample rate (100 Hz), LED pulseWidth (411uS) 141 | return 0; 142 | 143 | if(!maxim_max30102_write_reg(REG_LED1_PA,0x24)) //Choose value for ~ 7mA for LED1 144 | return 0; 145 | if(!maxim_max30102_write_reg(REG_LED2_PA,0x24)) // Choose value for ~ 7mA for LED2 146 | return 0; 147 | if(!maxim_max30102_write_reg(REG_PILOT_PA,0x7f)) // Choose value for ~ 25mA for Pilot LED 148 | return 0; 149 | return 1; 150 | } 151 | 152 | /** 153 | * \brief Read a set of samples from the MAX30102 FIFO register 154 | * \par Details 155 | * This function reads a set of samples from the MAX30102 FIFO register 156 | * 157 | * \param[out] *pun_red_led - pointer that stores the red LED reading data 158 | * \param[out] *pun_ir_led - pointer that stores the IR LED reading data 159 | * 160 | * \retval 1 on success 161 | */ 162 | int maxim_max30102_read_fifo(uint32_t *pun_red_led, uint32_t *pun_ir_led) 163 | { 164 | uint32_t un_temp; 165 | uint8_t uch_temp; 166 | uint8_t tmp[6]; 167 | uint8_t addr = REG_FIFO_DATA; 168 | 169 | *pun_ir_led=0; 170 | *pun_red_led=0; 171 | maxim_max30102_read_reg(REG_INTR_STATUS_1, &uch_temp); 172 | maxim_max30102_read_reg(REG_INTR_STATUS_2, &uch_temp); 173 | 174 | _i2c_read(addr, 6, tmp); 175 | // i2c_write(i2c_handle, MAX30101_SAD, &addr, 1, I2C_NO_STOP); 176 | // i2c_read(i2c_handle, MAX30101_SAD, tmp, 6); 177 | 178 | un_temp=tmp[0]; 179 | 180 | un_temp<<=16; 181 | *pun_red_led+=un_temp; 182 | un_temp=tmp[1]; 183 | un_temp<<=8; 184 | *pun_red_led+=un_temp; 185 | un_temp=tmp[2]; 186 | *pun_red_led+=un_temp; 187 | un_temp=tmp[3]; 188 | un_temp<<=16; 189 | *pun_ir_led+=un_temp; 190 | un_temp=tmp[4]; 191 | un_temp<<=8; 192 | *pun_ir_led+=un_temp; 193 | un_temp=tmp[5]; 194 | *pun_ir_led+=un_temp; 195 | 196 | *pun_red_led&=0x03FFFF; //Mask MSB [23:18] 197 | *pun_ir_led&=0x03FFFF; //Mask MSB [23:18] 198 | return 1; 199 | } 200 | 201 | /** 202 | * \brief Reset the MAX30102 203 | * \par Details 204 | * This function resets the MAX30102 205 | * 206 | * \param None 207 | * 208 | * \retval 1 on success 209 | */ 210 | int maxim_max30102_reset() 211 | { 212 | if(!maxim_max30102_write_reg(REG_MODE_CONFIG,0x40)) 213 | return 0; 214 | else 215 | return 1; 216 | } 217 | 218 | uint8_t max30102_get_part_id() 219 | { 220 | uint8_t tread; 221 | maxim_max30102_read_reg(0xff, &tread); 222 | return tread; 223 | } 224 | 225 | uint8_t max30102_get_revision() 226 | { 227 | uint8_t tread; 228 | maxim_max30102_read_reg(0xfe, &tread); 229 | return tread; 230 | } 231 | 232 | void max301024_shut_down(int yes) 233 | { 234 | uint8_t temp; 235 | maxim_max30102_read_reg(REG_MODE_CONFIG, &temp); 236 | if (yes) 237 | temp |= (1 << 7); 238 | else 239 | temp &= ~(1 << 7); 240 | maxim_max30102_write_reg(REG_MODE_CONFIG,temp); 241 | } 242 | 243 | int max30102_data_available() 244 | { 245 | uint8_t reg; 246 | 247 | maxim_max30102_read_reg(REG_INTR_STATUS_1, ®); 248 | // if (reg & 0b10000000) 249 | // Log_Debug("data_available=%02X!\n", reg); 250 | return (reg & 0b10000000); 251 | } 252 | 253 | int max30102_finger_detected() 254 | { 255 | uint8_t reg; 256 | 257 | 258 | if (!maxim_max30102_write_reg(REG_PROX_INT_THRESH, 0xff)) 259 | return 0; 260 | if (!maxim_max30102_write_reg(REG_INTR_ENABLE_1, 0b00010000)) // INTR setting 261 | return 0; 262 | 263 | maxim_max30102_read_reg(REG_INTR_STATUS_1, ®); 264 | // if (reg & 0b00010000) 265 | // Log_Debug("finger detect=%02X!\n", reg); 266 | 267 | if (!maxim_max30102_write_reg(REG_INTR_ENABLE_1, 0b11000000)) // INTR setting 268 | return 0; 269 | return (reg & 0b00010000); 270 | } 271 | -------------------------------------------------------------------------------- /HEARTRATE4/max30102.h: -------------------------------------------------------------------------------- 1 | /** \file max30102.h ****************************************************** 2 | * 3 | * Project: MAXREFDES117# 4 | * Filename: max30102.h 5 | * Description: This module is an embedded controller driver header file for MAX30102 6 | * 7 | * Revision History: 8 | *\n 1-18-2016 Rev 01.00 GL Initial release. 9 | *\n 12-22-2017 Rev 02.00 Significantlly modified by Robert Fraczkiewicz 10 | *\n to use Wire library instead of MAXIM's SoftI2C 11 | * 12 | * -------------------------------------------------------------------- 13 | * 14 | * This code follows the following naming conventions: 15 | * 16 | * char ch_pmod_value 17 | * char (array) s_pmod_s_string[16] 18 | * float f_pmod_value 19 | * int32_t n_pmod_value 20 | * int32_t (array) an_pmod_value[16] 21 | * int16_t w_pmod_value 22 | * int16_t (array) aw_pmod_value[16] 23 | * uint16_t uw_pmod_value 24 | * uint16_t (array) auw_pmod_value[16] 25 | * uint8_t uch_pmod_value 26 | * uint8_t (array) auch_pmod_buffer[16] 27 | * uint32_t un_pmod_value 28 | * int32_t * pn_pmod_value 29 | * 30 | * ------------------------------------------------------------------------- */ 31 | /******************************************************************************* 32 | * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. 33 | * 34 | * Permission is hereby granted, free of charge, to any person obtaining a 35 | * copy of this software and associated documentation files (the "Software"), 36 | * to deal in the Software without restriction, including without limitation 37 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 38 | * and/or sell copies of the Software, and to permit persons to whom the 39 | * Software is furnished to do so, subject to the following conditions: 40 | * 41 | * The above copyright notice and this permission notice shall be included 42 | * in all copies or substantial portions of the Software. 43 | * 44 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 45 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 46 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 47 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES 48 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 49 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 50 | * OTHER DEALINGS IN THE SOFTWARE. 51 | * 52 | * Except as contained in this notice, the name of Maxim Integrated 53 | * Products, Inc. shall not be used except as stated in the Maxim Integrated 54 | * Products, Inc. Branding Policy. 55 | * 56 | * The mere transfer of this software does not imply any licenses 57 | * of trade secrets, proprietary technology, copyrights, patents, 58 | * trademarks, maskwork rights, or any other form of intellectual 59 | * property whatsoever. Maxim Integrated Products, Inc. retains all 60 | * ownership rights. 61 | ******************************************************************************* 62 | */ 63 | #include 64 | 65 | #ifndef MAX30102_H_ 66 | #define MAX30102_H_ 67 | 68 | #define MAX30101_SAD 0x57 69 | #define I2C_WRITE_ADDR 0x57 // 7-bit version of the above 70 | #define I2C_READ_ADDR 0x57 // 7-bit version of the above 71 | 72 | //register addresses 73 | #define REG_INTR_STATUS_1 0x00 74 | #define REG_INTR_STATUS_2 0x01 75 | #define REG_INTR_ENABLE_1 0x02 76 | #define REG_INTR_ENABLE_2 0x03 77 | #define REG_FIFO_WR_PTR 0x04 78 | #define REG_OVF_COUNTER 0x05 79 | #define REG_FIFO_RD_PTR 0x06 80 | #define REG_FIFO_DATA 0x07 81 | #define REG_FIFO_CONFIG 0x08 82 | #define REG_MODE_CONFIG 0x09 83 | #define REG_SPO2_CONFIG 0x0A 84 | #define REG_LED1_PA 0x0C 85 | #define REG_LED2_PA 0x0D 86 | #define REG_PILOT_PA 0x10 87 | #define REG_MULTI_LED_CTRL1 0x11 88 | #define REG_MULTI_LED_CTRL2 0x12 89 | #define REG_TEMP_INTR 0x1F 90 | #define REG_TEMP_FRAC 0x20 91 | #define REG_TEMP_CONFIG 0x21 92 | #define REG_PROX_INT_THRESH 0x30 93 | #define REG_REV_ID 0xFE 94 | #define REG_PART_ID 0xFF 95 | 96 | #ifdef __cplusplus 97 | extern "C" { 98 | #endif 99 | 100 | int maxim_max30102_init(void); 101 | int maxim_max30102_read_fifo(uint32_t *pun_red_led, uint32_t *pun_ir_led); 102 | int maxim_max30102_write_reg(uint8_t uch_addr, uint8_t uch_data); 103 | int maxim_max30102_read_reg(uint8_t uch_addr, uint8_t *puch_data); 104 | int maxim_max30102_reset(void); 105 | uint8_t max30102_get_part_id(void); 106 | uint8_t max30102_get_revision(void); 107 | void max301024_shut_down(int); 108 | void maxim_max30102_i2c_setup( int (*rd)( uint8_t addr, uint16_t count, uint8_t* ptr ), void (*wr)( uint8_t addr, uint16_t count, uint8_t* ptr )); 109 | int max30102_data_available(void); 110 | int max30102_finger_detected(void); 111 | 112 | #ifdef __cplusplus 113 | } 114 | #endif 115 | 116 | #endif /* MAX30102_H_ */ 117 | -------------------------------------------------------------------------------- /LCDMINI/lcd-mini-click-schematic-v101.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LCDMINI/lcd-mini-click-schematic-v101.pdf -------------------------------------------------------------------------------- /LCDMINI/lcdmini.h: -------------------------------------------------------------------------------- 1 | #ifndef __LCDMINI_H__ 2 | #define __LCDMINI_H__ 3 | 4 | #include 5 | #include 6 | 7 | // defines for MCP4161 8 | #define MCP4161_WIPER 0x00 9 | 10 | // defines for MCP23S17; the lcd-mini click uses Bank #0 11 | #define MCP23S17_OLATB 0x15 12 | #define MCP23S17_GPIOB 0x13 13 | #define MCP23S17_IODIRB 0x01 14 | #define MCP23S17_IOCON 0x0A // Shared Register 15 | #define MCP23S17_OPCODE 0x40 // Control Byte: "0100 A2 A1 A0 R/W" -- W=0 16 | 17 | #define LCD_RST 0x04 //corresponds to GPB2 on MCP23S17 18 | #define LCD_ENABLE 0x08 //corresponds to GPB3 on MCP23S17 19 | 20 | // LCD commands 21 | #define LCD_CLEARDISPLAY 0x01 22 | #define LCD_RETURNHOME 0x02 23 | #define LCD_ENTRYMODESET 0x04 24 | #define LCD_DISPLAYCONTROL 0x08 25 | #define LCD_CURSORSHIFT 0x10 26 | #define LCD_FUNCTIONSET 0x20 27 | #define LCD_SETCGRAMADDR 0x40 28 | #define LCD_SETDDRAMADDR 0x80 29 | #define LCD_MOVERIGHT 0x04 30 | #define LCD_DISPLAYMOVE 0x08 31 | #define LCD_CURSORMOVE 0x00 32 | #define LCD_MOVELEFT 0x00 33 | 34 | // LCD Operation controls 35 | #define LCD_ENTRYRIGHT 0x00 36 | #define LCD_ENTRYSHIFTINCREMENT 0x01 37 | #define LCD_ENTRYLEFT 0x02 38 | #define LCD_ENTRYSHIFTDECREMENT 0x00 39 | 40 | // LCD Display controls 41 | #define LCD_BLINKON 0x01 42 | #define LCD_CURSORON 0x02 43 | #define LCD_DISPLAYON 0x04 44 | #define LCD_DISPLAYOFF 0x00 45 | #define LCD_CURSOROFF 0x00 46 | #define LCD_BLINKOFF 0x00 47 | 48 | // LCD Function settings 49 | #define LCD_5x10DOTS 0x04 50 | #define LCD_2LINE 0x08 51 | #define LCD_8BITMODE 0x10 52 | #define LCD_4BITMODE 0x00 53 | #define LCD_1LINE 0x00 54 | #define LCD_5x8DOTS 0x00 55 | 56 | // LCD dimensions for the LCD mini click board 57 | #define LCD_COLUMNS 16 58 | #define LCD_LINES 2 59 | #define LCD_DOTSIZE LCD_5x8DOTS 60 | 61 | #define ON 1 62 | #define OFF 0 63 | #define RIGHT2LEFT 1 64 | #define GO_LEFT 0 65 | #define GO_RIGHT 1 66 | #define LEFT2RIGHT 0 67 | 68 | //#define _delay(x) (usleep(x*1000)) //macro to provide ms pauses 69 | 70 | #ifdef __cplusplus 71 | extern "C" { 72 | #endif 73 | 74 | int open_lcdmini( 75 | void(*init)(void), 76 | void(*cs1)(int), 77 | void(*cs2)(int), 78 | void(*rst)(int), 79 | void(*fpwm)(int), 80 | void(*spi_tx)(uint8_t*, int), 81 | void(*delay_us)(uint16_t)); 82 | void close_lcdmini( void ); 83 | int lcd_setCursor(uint8_t col, uint8_t row); 84 | void lcd_setBacklight(uint16_t inten); 85 | void lcd_display(int on); 86 | void lcd_cursor(int on); 87 | void lcd_blink(int on); 88 | void lcd_clearDisplay(void); 89 | void lcd_home(void); 90 | void lcd_autoscroll(int on); 91 | void lcd_scrollDisplay(int left); 92 | void lcd_textOutputDirection(int goRight) ; 93 | void lcd_setContrast(uint8_t contrast); 94 | void lcd_createChar(uint8_t location, uint8_t charmap[]); 95 | 96 | size_t lcd_printf(const char *fmt, ...); 97 | void lcd_puts(const char *); 98 | void lcd_putchar(uint8_t); 99 | 100 | #ifdef __cplusplus 101 | } 102 | #endif 103 | 104 | #endif //__LCDMINI_H__ 105 | 106 | -------------------------------------------------------------------------------- /LCDMINI/lmb162xfw.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LCDMINI/lmb162xfw.pdf -------------------------------------------------------------------------------- /LCDMINI/mcp23017-datasheet-21952b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LCDMINI/mcp23017-datasheet-21952b.pdf -------------------------------------------------------------------------------- /LCDMINI/mcp414x-datasheet-22059b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LCDMINI/mcp414x-datasheet-22059b.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 James Flynn 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | PORTIONS OF THE CODE INCLUDE: 24 | 25 | /******************************************************************************* 26 | Copyright © 2016, STMicroelectronics International N.V. 27 | All rights reserved. 28 | 29 | Redistribution and use in source and binary forms, with or without 30 | modification, are permitted provided that the following conditions are met: 31 | * Redistributions of source code must retain the above copyright 32 | notice, this list of conditions and the following disclaimer. 33 | * Redistributions in binary form must reproduce the above copyright 34 | notice, this list of conditions and the following disclaimer in the 35 | documentation and/or other materials provided with the distribution. 36 | * Neither the name of STMicroelectronics nor the 37 | names of its contributors may be used to endorse or promote products 38 | derived from this software without specific prior written permission. 39 | ******************************************************************************/ 40 | 41 | /******************************************************************************* 42 | * Copyright (C) 2017 Robert Fraczkiewicz, All Rights Reserved. 43 | * 44 | * Permission is hereby granted, free of charge, to any person obtaining a 45 | * copy of this software and associated documentation files (the "Software"), 46 | * to deal in the Software without restriction, including without limitation 47 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 48 | * and/or sell copies of the Software, and to permit persons to whom the 49 | * Software is furnished to do so, subject to the following conditions: 50 | * 51 | * The above copyright notice and this permission notice shall be included 52 | * in all copies or substantial portions of the Software. 53 | * 54 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 55 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 56 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 57 | * IN NO EVENT SHALL ROBERT FRACZKIEWICZ BE LIABLE FOR ANY CLAIM, DAMAGES 58 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 59 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 60 | * OTHER DEALINGS IN THE SOFTWARE. 61 | * 62 | * The mere transfer of this software does not imply any licenses 63 | * of trade secrets, proprietary technology, copyrights, patents, 64 | * trademarks, maskwork rights, or any other form of intellectual 65 | * property whatsoever. Robert Fraczkiewicz retains all 66 | * ownership rights. 67 | ******************************************************************************* 68 | 69 | /******************************************************************************* 70 | * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. 71 | * 72 | * Permission is hereby granted, free of charge, to any person obtaining a 73 | * copy of this software and associated documentation files (the "Software"), 74 | * to deal in the Software without restriction, including without limitation 75 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 76 | * and/or sell copies of the Software, and to permit persons to whom the 77 | * Software is furnished to do so, subject to the following conditions: 78 | * 79 | * The above copyright notice and this permission notice shall be included 80 | * in all copies or substantial portions of the Software. 81 | * 82 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 83 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 84 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 85 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES 86 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 87 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 88 | * OTHER DEALINGS IN THE SOFTWARE. 89 | * 90 | * Except as contained in this notice, the name of Maxim Integrated 91 | * Products, Inc. shall not be used except as stated in the Maxim Integrated 92 | * Products, Inc. Branding Policy. 93 | * 94 | * The mere transfer of this software does not imply any licenses 95 | * of trade secrets, proprietary technology, copyrights, patents, 96 | * trademarks, maskwork rights, or any other form of intellectual 97 | * property whatsoever. Maxim Integrated Products, Inc. retains all 98 | * ownership rights. 99 | ******************************************************************************* 100 | * 101 | -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_api.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_api_calibration.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_api_calibration.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_api_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_api_core.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_api_ranging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_api_ranging.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_api_strings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_api_strings.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_def.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_def.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_device.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_interrupt_threshold_settings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_interrupt_threshold_settings.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/inc/vl53l0x_tuning.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/inc/vl53l0x_tuning.h -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/.deps/.dirstamp -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/.deps/libvl53l0x_a-vl53l0x_api_calibration.Po: -------------------------------------------------------------------------------- 1 | ../VL53L0X/core/src/libvl53l0x_a-vl53l0x_api_calibration.o: \ 2 | ../VL53L0X/core/src/vl53l0x_api_calibration.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../VL53L0X/core/inc/vl53l0x_api.h \ 5 | ../VL53L0X/core/inc/vl53l0x_api_strings.h \ 6 | ../VL53L0X/core/inc/vl53l0x_def.h ../VL53L0X/core/inc/vl53l0x_device.h \ 7 | ../VL53L0X/platform/inc/vl53l0x_types.h \ 8 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 16 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 17 | ../VL53L0X/platform/inc/vl53l0x_platform.h \ 18 | ../VL53L0X/core/inc/vl53l0x_def.h \ 19 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 26 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 35 | ../VL53L0X/core/inc/vl53l0x_api_core.h \ 36 | ../VL53L0X/core/inc/vl53l0x_api_calibration.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 52 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 56 | 57 | ../VL53L0X/core/inc/vl53l0x_api.h: 58 | 59 | ../VL53L0X/core/inc/vl53l0x_api_strings.h: 60 | 61 | ../VL53L0X/core/inc/vl53l0x_def.h: 62 | 63 | ../VL53L0X/core/inc/vl53l0x_device.h: 64 | 65 | ../VL53L0X/platform/inc/vl53l0x_types.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 84 | 85 | ../VL53L0X/platform/inc/vl53l0x_platform.h: 86 | 87 | ../VL53L0X/core/inc/vl53l0x_def.h: 88 | 89 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 120 | 121 | ../VL53L0X/core/inc/vl53l0x_api_core.h: 122 | 123 | ../VL53L0X/core/inc/vl53l0x_api_calibration.h: 124 | 125 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 126 | 127 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 128 | 129 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 130 | 131 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 132 | 133 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 134 | 135 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 136 | 137 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 138 | 139 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 140 | 141 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 142 | 143 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 144 | 145 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 146 | 147 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 148 | 149 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 150 | 151 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 152 | 153 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 154 | 155 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 156 | 157 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 158 | -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/.deps/libvl53l0x_a-vl53l0x_api_core.Po: -------------------------------------------------------------------------------- 1 | ../VL53L0X/core/src/libvl53l0x_a-vl53l0x_api_core.o: \ 2 | ../VL53L0X/core/src/vl53l0x_api_core.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../VL53L0X/core/inc/vl53l0x_api.h \ 5 | ../VL53L0X/core/inc/vl53l0x_api_strings.h \ 6 | ../VL53L0X/core/inc/vl53l0x_def.h ../VL53L0X/core/inc/vl53l0x_device.h \ 7 | ../VL53L0X/platform/inc/vl53l0x_types.h \ 8 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 16 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 17 | ../VL53L0X/platform/inc/vl53l0x_platform.h \ 18 | ../VL53L0X/core/inc/vl53l0x_def.h \ 19 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 26 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 35 | ../VL53L0X/core/inc/vl53l0x_api_core.h \ 36 | ../VL53L0X/core/inc/vl53l0x_api_calibration.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 52 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 56 | 57 | ../VL53L0X/core/inc/vl53l0x_api.h: 58 | 59 | ../VL53L0X/core/inc/vl53l0x_api_strings.h: 60 | 61 | ../VL53L0X/core/inc/vl53l0x_def.h: 62 | 63 | ../VL53L0X/core/inc/vl53l0x_device.h: 64 | 65 | ../VL53L0X/platform/inc/vl53l0x_types.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 84 | 85 | ../VL53L0X/platform/inc/vl53l0x_platform.h: 86 | 87 | ../VL53L0X/core/inc/vl53l0x_def.h: 88 | 89 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 120 | 121 | ../VL53L0X/core/inc/vl53l0x_api_core.h: 122 | 123 | ../VL53L0X/core/inc/vl53l0x_api_calibration.h: 124 | 125 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 126 | 127 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 128 | 129 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 130 | 131 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 132 | 133 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 134 | 135 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 136 | 137 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 138 | 139 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 140 | 141 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 142 | 143 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 144 | 145 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 146 | 147 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 148 | 149 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 150 | 151 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 152 | 153 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 154 | 155 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 156 | 157 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 158 | -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/.deps/libvl53l0x_a-vl53l0x_api_ranging.Po: -------------------------------------------------------------------------------- 1 | ../VL53L0X/core/src/libvl53l0x_a-vl53l0x_api_ranging.o: \ 2 | ../VL53L0X/core/src/vl53l0x_api_ranging.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../VL53L0X/core/inc/vl53l0x_api.h \ 5 | ../VL53L0X/core/inc/vl53l0x_api_strings.h \ 6 | ../VL53L0X/core/inc/vl53l0x_def.h ../VL53L0X/core/inc/vl53l0x_device.h \ 7 | ../VL53L0X/platform/inc/vl53l0x_types.h \ 8 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 16 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 17 | ../VL53L0X/platform/inc/vl53l0x_platform.h \ 18 | ../VL53L0X/core/inc/vl53l0x_def.h \ 19 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 26 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 35 | ../VL53L0X/core/inc/vl53l0x_api_core.h \ 36 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 52 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 53 | 54 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 55 | 56 | ../VL53L0X/core/inc/vl53l0x_api.h: 57 | 58 | ../VL53L0X/core/inc/vl53l0x_api_strings.h: 59 | 60 | ../VL53L0X/core/inc/vl53l0x_def.h: 61 | 62 | ../VL53L0X/core/inc/vl53l0x_device.h: 63 | 64 | ../VL53L0X/platform/inc/vl53l0x_types.h: 65 | 66 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 67 | 68 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 69 | 70 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 71 | 72 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 73 | 74 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 75 | 76 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 77 | 78 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 79 | 80 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 81 | 82 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 83 | 84 | ../VL53L0X/platform/inc/vl53l0x_platform.h: 85 | 86 | ../VL53L0X/core/inc/vl53l0x_def.h: 87 | 88 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h: 89 | 90 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 91 | 92 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 93 | 94 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 95 | 96 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 97 | 98 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 99 | 100 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 101 | 102 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 103 | 104 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 105 | 106 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 107 | 108 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 109 | 110 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 111 | 112 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 113 | 114 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 115 | 116 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 117 | 118 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 119 | 120 | ../VL53L0X/core/inc/vl53l0x_api_core.h: 121 | 122 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 123 | 124 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 125 | 126 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 127 | 128 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 129 | 130 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 131 | 132 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 133 | 134 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 135 | 136 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 137 | 138 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 139 | 140 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 141 | 142 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 143 | 144 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 145 | 146 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 147 | 148 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 149 | 150 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 151 | 152 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 153 | 154 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 155 | -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/.deps/libvl53l0x_a-vl53l0x_api_strings.Po: -------------------------------------------------------------------------------- 1 | ../VL53L0X/core/src/libvl53l0x_a-vl53l0x_api_strings.o: \ 2 | ../VL53L0X/core/src/vl53l0x_api_strings.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../VL53L0X/core/inc/vl53l0x_api.h \ 5 | ../VL53L0X/core/inc/vl53l0x_api_strings.h \ 6 | ../VL53L0X/core/inc/vl53l0x_def.h ../VL53L0X/core/inc/vl53l0x_device.h \ 7 | ../VL53L0X/platform/inc/vl53l0x_types.h \ 8 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 16 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 17 | ../VL53L0X/platform/inc/vl53l0x_platform.h \ 18 | ../VL53L0X/core/inc/vl53l0x_def.h \ 19 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 26 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 35 | ../VL53L0X/core/inc/vl53l0x_api_core.h \ 36 | ../VL53L0X/core/inc/vl53l0x_api_strings.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 52 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 56 | 57 | ../VL53L0X/core/inc/vl53l0x_api.h: 58 | 59 | ../VL53L0X/core/inc/vl53l0x_api_strings.h: 60 | 61 | ../VL53L0X/core/inc/vl53l0x_def.h: 62 | 63 | ../VL53L0X/core/inc/vl53l0x_device.h: 64 | 65 | ../VL53L0X/platform/inc/vl53l0x_types.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 84 | 85 | ../VL53L0X/platform/inc/vl53l0x_platform.h: 86 | 87 | ../VL53L0X/core/inc/vl53l0x_def.h: 88 | 89 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 120 | 121 | ../VL53L0X/core/inc/vl53l0x_api_core.h: 122 | 123 | ../VL53L0X/core/inc/vl53l0x_api_strings.h: 124 | 125 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 126 | 127 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 128 | 129 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 130 | 131 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 132 | 133 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 134 | 135 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 136 | 137 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 138 | 139 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 140 | 141 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 142 | 143 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 144 | 145 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 146 | 147 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 148 | 149 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 150 | 151 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 152 | 153 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 154 | 155 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 156 | 157 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 158 | -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/.dirstamp -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/vl53l0x_api.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/vl53l0x_api.c -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/vl53l0x_api_calibration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/vl53l0x_api_calibration.c -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/vl53l0x_api_core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/vl53l0x_api_core.c -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/vl53l0x_api_ranging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/vl53l0x_api_ranging.c -------------------------------------------------------------------------------- /LIGHTRANGER/core/src/vl53l0x_api_strings.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/core/src/vl53l0x_api_strings.c -------------------------------------------------------------------------------- /LIGHTRANGER/light-ranger-2-click-schematic-v100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/light-ranger-2-click-schematic-v100.pdf -------------------------------------------------------------------------------- /LIGHTRANGER/platform/inc/vl53l0x_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/platform/inc/vl53l0x_platform.h -------------------------------------------------------------------------------- /LIGHTRANGER/platform/inc/vl53l0x_platform_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/platform/inc/vl53l0x_platform_log.h -------------------------------------------------------------------------------- /LIGHTRANGER/platform/inc/vl53l0x_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/platform/inc/vl53l0x_types.h -------------------------------------------------------------------------------- /LIGHTRANGER/platform/src/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/platform/src/.deps/.dirstamp -------------------------------------------------------------------------------- /LIGHTRANGER/platform/src/.deps/libvl53l0x_a-vl53l0x_platform.Po: -------------------------------------------------------------------------------- 1 | ../VL53L0X/platform/src/libvl53l0x_a-vl53l0x_platform.o: \ 2 | ../VL53L0X/platform/src/vl53l0x_platform.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 5 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 10 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 16 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h \ 20 | ../VL53L0X/platform/inc/vl53l0x_i2c_platform.h \ 21 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 24 | ../VL53L0X/core/inc/vl53l0x_def.h ../VL53L0X/core/inc/vl53l0x_device.h \ 25 | ../VL53L0X/platform/inc/vl53l0x_types.h \ 26 | ../VL53L0X/platform/inc/vl53l0x_platform.h \ 27 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 36 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h 50 | 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 52 | 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 56 | 57 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 58 | 59 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 60 | 61 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 62 | 63 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 64 | 65 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 84 | 85 | ../VL53L0X/platform/inc/vl53l0x_i2c_platform.h: 86 | 87 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 88 | 89 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 92 | 93 | ../VL53L0X/core/inc/vl53l0x_def.h: 94 | 95 | ../VL53L0X/core/inc/vl53l0x_device.h: 96 | 97 | ../VL53L0X/platform/inc/vl53l0x_types.h: 98 | 99 | ../VL53L0X/platform/inc/vl53l0x_platform.h: 100 | 101 | ../VL53L0X/platform/inc/vl53l0x_platform_log.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 120 | 121 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 122 | 123 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 124 | 125 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 126 | 127 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 128 | 129 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 130 | 131 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 132 | 133 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 134 | 135 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 136 | 137 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 138 | 139 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 140 | 141 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 142 | 143 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 144 | 145 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 146 | -------------------------------------------------------------------------------- /LIGHTRANGER/platform/src/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LIGHTRANGER/platform/src/.dirstamp -------------------------------------------------------------------------------- /LIGHTRANGER/platform/src/vl53l0x_platform.c: -------------------------------------------------------------------------------- 1 | 2 | #include // sprintf(), vsnprintf(), printf() 3 | 4 | #include "vl53l0x_i2c_platform.h" 5 | #include "vl53l0x_def.h" 6 | 7 | #include 8 | #include 9 | #include 10 | 11 | -------------------------------------------------------------------------------- /LSM6DSL/LSM6DSL.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LSM6DSL/LSM6DSL.pdf -------------------------------------------------------------------------------- /LSM6DSL/lsm6dsl-click-schematic-v100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/LSM6DSL/lsm6dsl-click-schematic-v100.pdf -------------------------------------------------------------------------------- /OLED-B/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/OLED-B/.deps/.dirstamp -------------------------------------------------------------------------------- /OLED-B/.deps/Avnet_GFX.Po: -------------------------------------------------------------------------------- 1 | ../../../click/OLED-B/Avnet_GFX.o: ../../../click/OLED-B/Avnet_GFX.c \ 2 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 4 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 5 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 9 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 15 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 16 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h \ 19 | ../../../click/OLED-B/Avnet_GFX.h \ 20 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 36 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 45 | ../../../click/OLED-B/oledb_ssd1306.h ../../../click/OLED-B/glcdfont.c 46 | 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 48 | 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 50 | 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 52 | 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 56 | 57 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 58 | 59 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 60 | 61 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 62 | 63 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 64 | 65 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 80 | 81 | ../../../click/OLED-B/Avnet_GFX.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 84 | 85 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 86 | 87 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 88 | 89 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 120 | 121 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 122 | 123 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 124 | 125 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 126 | 127 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 128 | 129 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 130 | 131 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 132 | 133 | ../../../click/OLED-B/oledb_ssd1306.h: 134 | 135 | ../../../click/OLED-B/glcdfont.c: 136 | -------------------------------------------------------------------------------- /OLED-B/.deps/oledb_ssd1306.Po: -------------------------------------------------------------------------------- 1 | ../../../click/OLED-B/oledb_ssd1306.o: \ 2 | ../../../click/OLED-B/oledb_ssd1306.c \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 4 | ../../../click/OLED-B/Avnet_GFX.h \ 5 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 13 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 14 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 16 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 17 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 36 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h \ 38 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h \ 39 | ../../../click/OLED-B/oledb_ssd1306.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/unistd.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/posix_opt.h \ 42 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/environments.h \ 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/confname.h \ 44 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/getopt.h \ 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h \ 46 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h \ 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h \ 48 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h \ 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h \ 50 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h \ 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h 52 | 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 54 | 55 | ../../../click/OLED-B/Avnet_GFX.h: 56 | 57 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 58 | 59 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 60 | 61 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 62 | 63 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 64 | 65 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 70 | 71 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 84 | 85 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 86 | 87 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 88 | 89 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 120 | 121 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 122 | 123 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdarg.h: 124 | 125 | ../../../click/OLED-B/oledb_ssd1306.h: 126 | 127 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/unistd.h: 128 | 129 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/posix_opt.h: 130 | 131 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/environments.h: 132 | 133 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/confname.h: 134 | 135 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/getopt.h: 136 | 137 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdio.h: 138 | 139 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/libio.h: 140 | 141 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/_G_config.h: 142 | 143 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/wchar.h: 144 | 145 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio_lim.h: 146 | 147 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sys_errlist.h: 148 | 149 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdio.h: 150 | -------------------------------------------------------------------------------- /OLED-B/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/OLED-B/.dirstamp -------------------------------------------------------------------------------- /OLED-B/Avnet_GFX.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _AVNET_GFX_H 3 | #define _AVNET_GFX_H 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | #include "oledb_ssd1306.h" 11 | 12 | #ifndef _swap 13 | #define _swap(a, b) (((a) ^= (b)), ((b) ^= (a)), ((a) ^= (b))) 14 | #endif 15 | 16 | #define PIXOFF 0 17 | #define PIXON 1 18 | #define PIXINVERSE 2 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | void AvnetGFX_init(OLEDB_SSD1306* ptr, int16_t w, int16_t h); 25 | void AvnetGFX_writePixel(int16_t x, int16_t y, uint16_t color) ; 26 | void AvnetGFX_fillScreen(uint16_t color) ; 27 | void AvnetGFX_writeLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) ; 28 | void AvnetGFX_writeFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color) ; 29 | void AvnetGFX_writeFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color) ; 30 | void AvnetGFX_drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) ; 31 | 32 | void AvnetGFX_drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) ; 33 | void AvnetGFX_drawRoundRect(int16_t x, int16_t y, int16_t w, int16_t h, int16_t r, uint16_t color) ; 34 | void AvnetGFX_fillRoundRect(int16_t x, int16_t y, int16_t w, int16_t h, int16_t r, uint16_t color) ; 35 | void AvnetGFX_fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) ; 36 | 37 | void AvnetGFX_drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color) ; 38 | void AvnetGFX_drawCircleHelper( int16_t x0, int16_t y0, int16_t r, uint8_t cornername, uint16_t color) ; 39 | void AvnetGFX_fillCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color) ; 40 | void AvnetGFX_fillCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t corners, int16_t delta, uint16_t color) ; 41 | 42 | void AvnetGFX_drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color) ; 43 | void AvnetGFX_fillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color) ; 44 | 45 | void AvnetGFX_drawBitmap(int16_t x, int16_t y, uint8_t *bitmap, int16_t w, int16_t h, uint16_t color) ; 46 | 47 | void AvnetGFX_drawChar(int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t bg, uint8_t size) ; 48 | size_t AvnetGFX_write(uint8_t c) ; 49 | size_t AvnetGFX_printText(const char *fmt, ...); 50 | 51 | void AvnetGFX_setCursor(int16_t x, int16_t y) ; 52 | int16_t AvnetGFX_getCursorX(void) ; 53 | int16_t AvnetGFX_getCursorY(void) ; 54 | 55 | void AvnetGFX_setTextSize(uint8_t s) ; 56 | void AvnetGFX_setTextColor(uint16_t c, uint16_t b) ; 57 | void AvnetGFX_setTextWrap(int w) ; 58 | void AvnetGFX_charBounds(char c, int16_t *x, int16_t *y, int16_t *minx, int16_t *miny, int16_t *maxx, int16_t *maxy) ; 59 | void AvnetGFX_getTextBounds(char *str, int16_t x, int16_t y, int16_t *x1, int16_t *y1, uint16_t *w, uint16_t *h) ; 60 | 61 | int16_t AvnetGFX_width(void) ; 62 | int16_t AvnetGFX_height(void) ; 63 | 64 | void AvnetGFX_setRotation(uint8_t x) ; 65 | uint8_t AvnetGFX_getRotation(void) ; 66 | 67 | #ifdef __cplusplus 68 | } 69 | #endif 70 | 71 | #endif // _AVNET_GFX_H 72 | 73 | -------------------------------------------------------------------------------- /OLED-B/oledb.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file oledb_ssd1306.hpp 8 | * @brief Class for managing a MicroE OLEDB Click board 9 | * the class simply pulls the 'C' functions to create a single object. 10 | 11 | * @author James Flynn 12 | * 13 | * @date 28-Feb-2019 14 | */ 15 | 16 | #ifndef __OLEDB_HPP__ 17 | #define __OLEDB_HPP__ 18 | 19 | #include 20 | #include 21 | 22 | #include "spi.hpp" 23 | #include "oledb_ssd1306.h" 24 | #include "Avnet_GFX.h" 25 | 26 | extern "C" { 27 | #include 28 | } 29 | 30 | #define _delay(x) (usleep(x*1000)) 31 | 32 | class OLEDB { 33 | private: 34 | OLEDB_SSD1306* _fd; 35 | static SPI* _spi; 36 | static gpio_handle_t dcPin; 37 | static gpio_handle_t rstPin; 38 | 39 | static int spiwrite( uint16_t cmd, uint8_t *b, int siz ); 40 | static void hw_init(void); 41 | static int hw_reset(void); 42 | 43 | public: 44 | 45 | OLEDB(void); 46 | ~OLEDB(void); 47 | 48 | OLEDB_SSD1306* OLED_handle(void) {return _fd; } 49 | void clearDisplay(void) { oledb_clrDispBuff(_fd); } 50 | int getPixel(OLEDB_SSD1306*p, int16_t x, int16_t y) { return oledb_getPixel(p, x, y); } 51 | void display(OLEDB_SSD1306* p, int reverse) { oledb_display(p, reverse); } 52 | void invertDisplay(OLEDB_SSD1306*p, int i) { oledb_invertDisplay(p, i); } 53 | void dim(OLEDB_SSD1306*p, int dim) { oledb_dim(p, dim); } 54 | void startscrollright(OLEDB_SSD1306*p, uint8_t start, uint8_t stop) 55 | { oledb_startscrollright(p, start, stop); } 56 | void startscrollleft(OLEDB_SSD1306*p, uint8_t start, uint8_t stop) 57 | { oledb_startscrollleft(p, start, stop); } 58 | void startscrolldiagright(OLEDB_SSD1306*p, uint8_t start, uint8_t stop) 59 | { oledb_startscrolldiagright(p, start, stop); } 60 | void startscrolldiagleft(OLEDB_SSD1306*p, uint8_t start, uint8_t stop) 61 | { oledb_startscrolldiagleft(p, start, stop); } 62 | void stopscroll(OLEDB_SSD1306*p) { oledb_stopscroll(p); } 63 | 64 | void writePixel(int16_t x, int16_t y, uint16_t color) { AvnetGFX_writePixel(x, y, color); } 65 | void fillScreen(uint16_t color) { AvnetGFX_fillScreen(color); } 66 | void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) 67 | { AvnetGFX_drawLine(x0, y0, x1, y1, color); } 68 | 69 | void drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) 70 | { AvnetGFX_drawRect(x, y, w, h, color); } 71 | void fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) 72 | { AvnetGFX_fillRect(x, y, w, h, color); } 73 | 74 | void drawRoundRect(int16_t x, int16_t y, int16_t w, int16_t h, int16_t r, uint16_t color) 75 | { AvnetGFX_drawRoundRect(x, y, w, h, r, color); } 76 | void fillRoundRect(int16_t x, int16_t y, int16_t w, int16_t h, int16_t r, uint16_t color) 77 | { AvnetGFX_fillRoundRect(x, y, w, h, r, color); } 78 | 79 | void drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color) { AvnetGFX_drawCircle(x0, y0, r, color); } 80 | void fillCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color) { AvnetGFX_fillCircle(x0, y0, r, color); } 81 | 82 | void drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color) 83 | { AvnetGFX_drawTriangle(x0, y0, x1, y1, x2, y2, color); } 84 | void fillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color) 85 | { AvnetGFX_fillTriangle(x0, y0, x1, y1, x2, y2, color); } 86 | void drawBitmap(int16_t x, int16_t y, uint8_t *bitmap, int16_t w, int16_t h, uint16_t color) 87 | { AvnetGFX_drawBitmap(x, y, bitmap, w, h, color); } 88 | 89 | size_t printText(const char *fmt, ...) { 90 | char buff[255]; 91 | va_list ap; 92 | va_start(ap, fmt); 93 | vsprintf (buff,fmt, ap); 94 | for( size_t i=0; i 10 | #include 11 | 12 | #define TRUE 1 ///< for general usage 13 | #define FALSE 0 ///< for general usage 14 | 15 | #define SSD1306_LCDWIDTH 96 ///< MicroE OLED-B display width in pixels 16 | #define SSD1306_LCDHEIGHT 39 ///< MicroE OLED-B display height in pixels 17 | 18 | #define BLACK 0 ///< Draw 'off' pixel 19 | #define WHITE 1 ///< Draw 'on' pixel 20 | #define INVERSE 2 ///< Invert pixel 21 | 22 | #define SSD1306_MEMORYMODE 0x20 ///< See datasheet 23 | #define SSD1306_COLUMNADDR 0x21 ///< See datasheet 24 | #define SSD1306_PAGEADDR 0x22 ///< See datasheet 25 | #define SSD1306_SETCONTRAST 0x81 ///< See datasheet 26 | #define SSD1306_CHARGEPUMP 0x8D ///< See datasheet 27 | #define SSD1306_SEGREMAP 0xA0 ///< See datasheet 28 | #define SSD1306_DISPLAYALLON_RESUME 0xA4 ///< See datasheet 29 | #define SSD1306_DISPLAYALLON 0xA5 ///< See datasheet 30 | #define SSD1306_NORMALDISPLAY 0xA6 ///< See datasheet 31 | #define SSD1306_INVERTDISPLAY 0xA7 ///< See datasheet 32 | #define SSD1306_SETMULTIPLEX 0xA8 ///< See datasheet 33 | #define SSD1306_DISPLAYOFF 0xAE ///< See datasheet 34 | #define SSD1306_DISPLAYON 0xAF ///< See datasheet 35 | #define SSD1306_COMSCANINC 0xC0 ///< See datasheet 36 | #define SSD1306_COMSCANDEC 0xC8 ///< See datasheet 37 | #define SSD1306_SETDISPLAYOFFSET 0xD3 ///< See datasheet 38 | #define SSD1306_SETDISPLAYCLOCKDIV 0xD5 ///< See datasheet 39 | #define SSD1306_SETPRECHARGE 0xD9 ///< See datasheet 40 | #define SSD1306_SETCOMPINS 0xDA ///< See datasheet 41 | #define SSD1306_SETVCOMDETECT 0xDB ///< See datasheet 42 | 43 | #define SSD1306_SETLOWCOLUMN 0x00 ///< Not currently used 44 | #define SSD1306_SETHIGHCOLUMN 0x10 ///< Not currently used 45 | #define SSD1306_SETSTARTLINE 0x40 ///< See datasheet 46 | 47 | #define SSD1306_EXTERNALVCC 0x01 ///< External display voltage source 48 | #define SSD1306_SWITCHCAPVCC 0x02 ///< Gen. display voltage from 3.3V 49 | 50 | #define SSD1306_RIGHT_HORIZONTAL_SCROLL 0x26 ///< Init rt scroll 51 | #define SSD1306_LEFT_HORIZONTAL_SCROLL 0x27 ///< Init left scroll 52 | #define SSD1306_VERTICAL_AND_RIGHT_HORIZONTAL_SCROLL 0x29 ///< Init diag scroll 53 | #define SSD1306_VERTICAL_AND_LEFT_HORIZONTAL_SCROLL 0x2A ///< Init diag scroll 54 | #define SSD1306_DEACTIVATE_SCROLL 0x2E ///< Stop scroll 55 | #define SSD1306_ACTIVATE_SCROLL 0x2F ///< Start scroll 56 | #define SSD1306_SET_VERTICAL_SCROLL_AREA 0xA3 ///< Set scroll range 57 | 58 | #define SSD1306_COMMAND 0x01 ///init = init; //> initialize relay I/O 10 | ptr->rstate=rstate; //> read/set relay I/O state 11 | ptr->relay1_status = 0; //> status (0/1) of relay 1 12 | ptr->relay2_status = 0; //> status (0/1) of relay 2 13 | } 14 | ptr->init(); 15 | return ptr; 16 | } 17 | 18 | 19 | void close_relay( RELAY *ptr ) 20 | { 21 | free(ptr); 22 | } 23 | 24 | int relaystate( RELAY* ptr, Relay r) 25 | { 26 | int s = -1; 27 | switch( r ) { 28 | case relay1_rd: 29 | s = ptr->relay1_status; 30 | break; 31 | 32 | case relay1_set: 33 | s = ptr->relay1_status = 1; 34 | ptr->rstate(ptr); 35 | break; 36 | 37 | case relay1_clr: 38 | s = ptr->relay1_status = 0; 39 | ptr->rstate(ptr); 40 | break; 41 | 42 | case relay2_rd: 43 | s = ptr->relay2_status; 44 | break; 45 | 46 | case relay2_set: 47 | s = ptr->relay2_status = 1; 48 | ptr->rstate(ptr); 49 | break; 50 | 51 | case relay2_clr: 52 | s = ptr->relay2_status = 0; 53 | ptr->rstate(ptr); 54 | break; 55 | } 56 | 57 | 58 | return s; 59 | } 60 | 61 | 62 | -------------------------------------------------------------------------------- /RELAY/relay.h: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file barometer.h 8 | * @brief standard 'C' header for Mikroe Relay Click. 9 | * 10 | * @author James Flynn 11 | * 12 | * @date 28-Feb-2019 13 | */ 14 | 15 | #ifndef __RELAY_H__ 16 | #define __RELAY_H__ 17 | 18 | #include 19 | #include 20 | 21 | typedef enum Relay { 22 | relay1_rd =0, //> read relay 1 23 | relay2_rd, //> read relay 1 24 | relay1_set, //> set relay 1 state to 1 25 | relay2_set, //> set relay 2 state to 1 26 | relay1_clr, //> clear relay 1 clear to 1 27 | relay2_clr //> clear relay 2 clear to 1 28 | } Relay; 29 | 30 | typedef struct relay_t { 31 | void (*init)(void); //> function to initialize relay I/O 32 | void (*rstate)(struct relay_t *); //> function to set the relay I/O state 33 | int relay1_status; //> reflects the state of relay 1 34 | int relay2_status; //> reflects the state of relay 2 35 | } RELAY; 36 | 37 | #ifdef __cplusplus 38 | extern "C" { 39 | #endif 40 | 41 | RELAY* open_relay( void (*rstate)(RELAY* ptr), void (*init)(void) ); 42 | void close_relay( RELAY *ptr ); 43 | int relaystate( RELAY* ptr, Relay r); 44 | 45 | #ifdef __cplusplus 46 | } 47 | #endif 48 | 49 | #endif // __RELAY_H__ 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /TEMP_HUM/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/TEMP_HUM/.deps/.dirstamp -------------------------------------------------------------------------------- /TEMP_HUM/.deps/hts221.Po: -------------------------------------------------------------------------------- 1 | ../../../click/TEMP_HUM/hts221.o: ../../../click/TEMP_HUM/hts221.c \ 2 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h \ 3 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/unistd.h \ 4 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h \ 5 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h \ 6 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h \ 7 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h \ 8 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h \ 9 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/posix_opt.h \ 10 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/environments.h \ 11 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h \ 12 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h \ 13 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h \ 14 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/confname.h \ 15 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/getopt.h \ 16 | ../../../click/TEMP_HUM/hts221.h \ 17 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h \ 18 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h \ 19 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h \ 20 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h \ 21 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h \ 22 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h \ 23 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h \ 24 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h \ 25 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h \ 26 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h \ 27 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h \ 28 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h \ 29 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h \ 30 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h \ 31 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h \ 32 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h \ 33 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h \ 34 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h \ 35 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h \ 36 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h \ 37 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h \ 38 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h \ 39 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h \ 40 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h \ 41 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h 42 | 43 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdc-predef.h: 44 | 45 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/unistd.h: 46 | 47 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/features.h: 48 | 49 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/cdefs.h: 50 | 51 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wordsize.h: 52 | 53 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs.h: 54 | 55 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/gnu/stubs-soft.h: 56 | 57 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/posix_opt.h: 58 | 59 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/environments.h: 60 | 61 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/types.h: 62 | 63 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/typesizes.h: 64 | 65 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stddef.h: 66 | 67 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/confname.h: 68 | 69 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/getopt.h: 70 | 71 | ../../../click/TEMP_HUM/hts221.h: 72 | 73 | /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.3.0/include/stdint.h: 74 | 75 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdint.h: 76 | 77 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/wchar.h: 78 | 79 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/stdlib.h: 80 | 81 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitflags.h: 82 | 83 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/waitstatus.h: 84 | 85 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/endian.h: 86 | 87 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/endian.h: 88 | 89 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap.h: 90 | 91 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/byteswap-16.h: 92 | 93 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/types.h: 94 | 95 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/time.h: 96 | 97 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/select.h: 98 | 99 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/select.h: 100 | 101 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/sigset.h: 102 | 103 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/time.h: 104 | 105 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/sys/sysmacros.h: 106 | 107 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/pthreadtypes.h: 108 | 109 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/alloca.h: 110 | 111 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-bsearch.h: 112 | 113 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/stdlib-float.h: 114 | 115 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/string.h: 116 | 117 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/xlocale.h: 118 | 119 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string.h: 120 | 121 | /usr/local/oecore-x86_64/sysroots/cortexa7-neon-vfpv4-oe-linux-gnueabi/usr/include/bits/string2.h: 122 | -------------------------------------------------------------------------------- /TEMP_HUM/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/TEMP_HUM/.dirstamp -------------------------------------------------------------------------------- /TEMP_HUM/hts221.h: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file hts221.cpp 8 | * @brief standard 'C' header for ST HTS221 sensor. 9 | * 10 | * @author James Flynn 11 | * 12 | * @date 1-Oct-2018 13 | */ 14 | 15 | #ifndef __HTS221_H__ 16 | #define __HTS221_H__ 17 | 18 | #include 19 | #include 20 | #include 21 | 22 | #define HTS221_SAD 0x5F // slave address 23 | 24 | #define WHO_AM_I 0x0F 25 | #define I_AM_HTS221 0xBC //This read-only register contains the device identifier, set to BCh 26 | 27 | #define AVERAGE_REG 0x10 // To configure humidity/temperature average. 28 | #define AVERAGE_DEFAULT 0x1B 29 | 30 | /* 31 | * [7] PD: power down control 32 | * (0: power-down mode; 1: active mode) 33 | * 34 | * [6:3] Reserved 35 | * 36 | * [2] BDU: block data update 37 | * (0: continuous update; 1: output registers not updated until MSB and LSB reading) 38 | * 39 | * The BDU bit is used to inhibit the output register update between the reading of the upper 40 | * and lower register parts. In default mode (BDU = ?0?), the lower and upper register parts are 41 | * updated continuously. If it is not certain whether the read will be faster than output data rate, 42 | * it is recommended to set the BDU bit to ?1?. In this way, after the reading of the lower (upper) 43 | * register part, the content of that output register is not updated until the upper (lower) part is 44 | * read also. 45 | * 46 | * [1:0] ODR1, ODR0: output data rate selection (see table 17) 47 | */ 48 | 49 | #define CTRL_REG1 0x20 50 | #define POWER_UP 0x80 51 | #define BDU_SET 0x4 52 | #define ODR0_SET 0x1 // setting sensor reading period 1Hz 53 | 54 | #define CTRL_REG2 0x21 55 | #define CTRL_REG3 0x22 56 | #define REG_DEFAULT 0x00 57 | 58 | #define STATUS_REG 0x27 59 | #define TEMPERATURE_READY 0x1 60 | #define HUMIDITY_READY 0x2 61 | 62 | #define HUMIDITY_L_REG 0x28 63 | #define HUMIDITY_H_REG 0x29 64 | #define TEMP_L_REG 0x2A 65 | #define TEMP_H_REG 0x2B 66 | 67 | /* 68 | * calibration registry should be read for temperature and humidity calculation. 69 | * Before the first calculation of temperature and humidity, 70 | * the master reads out the calibration coefficients. 71 | * will do at init phase 72 | */ 73 | #define CALIB_START 0x30 74 | #define CALIB_END 0x3F 75 | /* 76 | #define CALIB_T0_DEGC_X8 0x32 77 | #define CALIB_T1_DEGC_X8 0x33 78 | #define CALIB_T1_T0_MSB 0x35 79 | #define CALIB_T0_OUT_L 0x3C 80 | #define CALIB_T0_OUT_H 0x3D 81 | #define CALIB_T1_OUT_L 0x3E 82 | #define CALIB_T1_OUT_H 0x3F 83 | */ 84 | 85 | typedef struct hts221_t { 86 | int active; 87 | int bduActive; 88 | 89 | //calibration data is saved in the following variables... 90 | unsigned char _h0_rH, _h1_rH; 91 | unsigned int _T0_degC, _T1_degC; 92 | unsigned int _H0_T0, _H1_T0; 93 | unsigned int _T0_OUT, _T1_OUT; 94 | 95 | uint8_t (*rd_byte)(uint8_t a); 96 | void (*wr_byte)(uint8_t a, uint8_t v); 97 | } HTS221; 98 | 99 | #ifdef __cplusplus 100 | extern "C" { 101 | #endif 102 | 103 | HTS221* open_hts221(uint8_t (*rb)(uint8_t a), void (*wb)(uint8_t a, uint8_t v)); 104 | void close_hts221(HTS221* p); 105 | int hts221_who_am_i(HTS221* ptr); 106 | void hts221_activate(HTS221* ptr); 107 | void hts221_deactivate(HTS221* ptr); 108 | int hts221_bduActivate(HTS221* ptr); 109 | int hts221_active(HTS221* ptr); 110 | int hts221_bduDeactivate(HTS221* ptr); 111 | int hts221_bduState(HTS221* ptr); 112 | double hts221_readHumidity(HTS221* ptr); 113 | double hts221_readTemperature(HTS221* ptr); 114 | 115 | #ifdef __cplusplus 116 | } 117 | #endif 118 | 119 | #endif // __HTS221_H__ 120 | 121 | -------------------------------------------------------------------------------- /TEMP_HUM/hts221.hpp: -------------------------------------------------------------------------------- 1 | /** 2 | * copyright (c) 2018, James Flynn 3 | * SPDX-License-Identifier: MIT 4 | */ 5 | 6 | /** 7 | * @file hts221.cpp 8 | * @brief class definition for the ST HTS221 sensor, 9 | * 10 | * @author James Flynn 11 | * 12 | * @date 1-Oct-2018 13 | */ 14 | 15 | #ifndef __HTS221_HPP__ 16 | #define __HTS221_HPP__ 17 | 18 | #include "hts221.h" 19 | 20 | class Hts221 : public i2c_interface 21 | { 22 | private: 23 | friend class i2c_interface; 24 | HTS221* _ptr; 25 | static uint8_t hts221_read_byte(uint8_t reg_addr) { 26 | return (get_i2c_handle())->read_i2c(HTS221_SAD, reg_addr); 27 | } 28 | 29 | static void hts221_write_byte(uint8_t reg_addr, uint8_t value) { 30 | uint8_t buffer_sent[2] = {reg_addr, value}; 31 | (get_i2c_handle())->write_i2c(HTS221_SAD, buffer_sent, 2); 32 | } 33 | 34 | public: 35 | void Activate(void) { hts221_activate(_ptr); } 36 | void Deactivate(void) { hts221_deactivate(_ptr); } 37 | 38 | bool bduActivate(void) { return hts221_bduActivate(_ptr); } 39 | bool bduDeactivate(void){ return hts221_bduDeactivate(_ptr); } 40 | 41 | double readHumidity(void) { return hts221_readHumidity(_ptr); } 42 | double readTemperature(void) { return hts221_readTemperature(_ptr); } 43 | 44 | int active(void) { return hts221_active(_ptr); } 45 | int bduState(void) { return hts221_bduState(_ptr); } 46 | 47 | int who_am_i(void) { return hts221_who_am_i(_ptr); } 48 | 49 | Hts221() { 50 | _ptr = open_hts221(hts221_read_byte, hts221_write_byte); 51 | } 52 | 53 | ~Hts221() { 54 | close_hts221(_ptr); 55 | } 56 | }; 57 | 58 | #endif // __HTS221_HPP__ 59 | 60 | -------------------------------------------------------------------------------- /UART_I2CSPI/SC16IS740-750-760.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/UART_I2CSPI/SC16IS740-750-760.pdf -------------------------------------------------------------------------------- /UART_I2CSPI/SC16IS740._c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | static uint8_t (*_rdReg)(uint8_t reg_addr); 5 | static void (*_wrReg)(uint8_t reg_addr, uint8_t val); 6 | 7 | open_sc16is740( uint8_t protocol, uint8_t addr, uint32_t baud, uint8_t (*rdreg)(uint8_t), void (*init)(void), void (*wrreg)(uint8_t,uint8_t) ) 8 | { 9 | protocol = prtcl; 10 | device_address_sspin = addr_sspin; 11 | init(); //call users initialization function to setup any necessary pins 12 | 13 | _rdReg = rdreg; 14 | _wrReg= wrreg; 15 | 16 | ResetDevice(); 17 | FIFOEnable(1); 18 | SetBaud(baud); 19 | SetLine(SC16IS740_CS8,0,0); //default is 8-bits, no parity, 1 stop 20 | } 21 | 22 | void sc16is740_reset(void) 23 | { 24 | uint8_t reg = _rdReg(SC16IS740_REG_IOCONTROL) | 0x08; 25 | _wrReg(SC16IS740_REG_IOCONTROL, reg); 26 | } 27 | 28 | void sc16is740_baud(uint32_t baudrate_divisor) 29 | { 30 | uint8_t temp_lcr = _rdReg(SC16IS740_REG_LCR); 31 | 32 | _wrReg(SC16IS740_REG_LCR,(temp_lcr|0x80)); //enable br generator latch 33 | _wrReg(SC16IS740_REG_DLL,(uint8_t)divisor_divisor); 34 | _wrReg(SC16IS740_REG_DLH,(uint8_t)(divisor_divisor>>8)); 35 | _wrReg(SC16IS740_REG_LCR,temp_lcr); //start br generator 36 | } 37 | 38 | void sc16is740_format(uint8_t data_length, uint8_t parity_select, uint8_t stop_length ) 39 | { 40 | uint8_t temp_lcr = _rdReg(SC16IS740_REG_LCR) & 0xC0; //Clear the lower six bit of LCR (LCR[0] to LCR[5] 41 | temp_lcr |= (data_length | parity | stop_length); 42 | _wrReg(SC16IS740_REG_LCR,temp_lcr); 43 | } 44 | 45 | 46 | void sc16is740_enable_output(uint8_t tx_enable) 47 | { 48 | uint8_t temp_efcr; 49 | temp_efcr = _rdReg(SC16IS740_REG_EFCR); 50 | if ( tx_enable == 0) 51 | temp_efcr |= 0x04; 52 | else 53 | temp_efcr &= 0xFB; 54 | _wrReg(SC16IS740_REG_EFCR,temp_efcr); 55 | } 56 | 57 | void InterruptControl(uint8_t int_ena) 58 | { 59 | _wrReg(SC16IS740_REG_IER, int_ena); 60 | } 61 | 62 | uint8_t InterruptPendingTest(void) 63 | { 64 | return (_rdReg(SC16IS740_REG_IIR) & 0x01); 65 | } 66 | 67 | void sc16is740_isr_attach( void (*f)(uint8_t s) ) //> Attach a user ISR, provides IIR status at time of interrupt 68 | { 69 | usr_isr = f; 70 | } 71 | 72 | void __isr(void) 73 | { 74 | uint8_t irq_src = _rdReg(SC16IS740_REG_IIR) >> 1; 75 | irq_src &= 0x3F; 76 | if( usr_isr ) 77 | usr_isr(irq_src); 78 | else 79 | switch (irq_src) { 80 | case 0x06: //Receiver Line Status Error 81 | case 0x0c: //Receiver time-out interrupt 82 | case 0x04: //RHR interrupt 83 | case 0x02: //THR interrupt 84 | case 0x00: //modem interrupt; 85 | case 0x30: //input pin change of state 86 | case 0x10: //XOFF 87 | case 0x20: //CTS,RTS 88 | default: 89 | break; 90 | } 91 | } 92 | 93 | // 94 | // FIFO control... 95 | // 96 | 97 | void FIFOReset(uint8_t rx_fifo) 98 | { 99 | uint8_t temp_fcr = _rdReg(SC16IS740_REG_FCR); 100 | temp_fcr |= (rx_fifo==0)? 0x04:0x02; 101 | _wrReg(SC16IS740_REG_FCR,temp_fcr); 102 | } 103 | 104 | void FIFOEnable(uint8_t fifo_enable) 105 | { 106 | uint8_t temp_fcr=_rdReg(SC16IS740_REG_FCR); 107 | 108 | if (fifo_enable == 0) 109 | temp_fcr &= 0xFE; 110 | else 111 | temp_fcr |= 0x01; 112 | _wrReg(SC16IS740_REG_FCR,temp_fcr); 113 | } 114 | 115 | uint8_t FIFO_readable(void) 116 | { 117 | return _rdReg(SC16IS740_REG_RXLVL); 118 | } 119 | 120 | uint8_t FIFO_writable(void) 121 | { 122 | return _rdReg(SC16IS740_REG_TXLVL); 123 | } 124 | 125 | int sc16is740_getc(void) 126 | { 127 | volatile uint8_t val = -1; 128 | if (FIFO_readable() != 0) 129 | val = _rdReg(SC16IS740_REG_RHR); 130 | return val; 131 | } 132 | 133 | size_t sc16is740_putc(uint8_t val) 134 | { 135 | uint8_t tmp_lsr; 136 | do { 137 | tmp_lsr = _rdReg(SC16IS740_REG_LSR); 138 | } 139 | while ((tmp_lsr&0x20) ==0); 140 | _wrReg(SC16IS740_REG_THR,val); 141 | } 142 | 143 | size_t sc16is740_puts(const char *s) 144 | { 145 | while( *s != 0x00 ) 146 | sc16is740_putc(*s++); 147 | sc16is740_putc('\r'); 148 | sc16is740_putc('\n'); 149 | } 150 | 151 | size_t sc16is740_printf( const char fmt, ... ) 152 | { 153 | char buff[255]; 154 | va_list ap; 155 | va_start(ap, fmt); 156 | vsprintf (buff,fmt, ap); 157 | for( size_t i=0; i Attach a user ISR, provides IIR status at time of interrupt 83 | void sc16is740_set_flow_control (int yes); // Set the RTS/CTS flow control 84 | int sc16is740_writable(void) 85 | int sc16is740_readable(void) 86 | 87 | int sc16is740_read (uint8_t *buffer, int length); // Begin asynchronous reading using 8bit buffer. More... 88 | int sc16is740_getc(void) 89 | int sc16is740_write (const uint8_t *buffer, int length); // Begin asynchronous write using 8bit buffer. More... 90 | size_t sc16is740_putc(uint8_t val) 91 | size_t sc16is740_puts(const char *s) 92 | size_t sc16is740_printf(const char *fmt,... ) 93 | void sc16is740_flush() 94 | 95 | 96 | 97 | // Private functions 98 | void SetPinInterrupt(uint8_t io_int_ena) 99 | void InterruptControl(uint8_t int_ena) 100 | uint8_t InterruptPendingTest(void) 101 | void __isr(void) 102 | 103 | void FIFOReset(uint8_t rx_fifo) 104 | void FIFOEnable(uint8_t fifo_enable) 105 | void FIFOSetTriggerLevel(uint8_t rx_fifo, uint8_t length) 106 | 107 | uint8_t FIFO_readable(void) 108 | uint8_t FIFO_writeable(void) 109 | 110 | #endif 111 | 112 | -------------------------------------------------------------------------------- /UART_I2CSPI/uart-i2c-spi-click-schematic-v100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/clickmodules/671dcd9824bfdafd13581d02443cffcbabe93c97/UART_I2CSPI/uart-i2c-spi-click-schematic-v100.pdf -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | cmake \ 2 | -G "Ninja" \ 3 | -DCMAKE_TOOLCHAIN_FILE="/opt/azurespheresdk/CMakeFiles/AzureSphereToolchain.cmake" \ 4 | -DAZURE_SPHERE_TARGET_API_SET="4" \ 5 | --no-warn-unused-cli \ 6 | -DCMAKE_MAKE_PROGRAM="ninja" \ 7 | .. 8 | -------------------------------------------------------------------------------- /clicklib.cmake: -------------------------------------------------------------------------------- 1 | INCLUDE_DIRECTORIES( ${click_path}/LIGHTRANGER/core/inc ) 2 | INCLUDE_DIRECTORIES( ${click_path}/LIGHTRANGER/platform/inc ) 3 | INCLUDE_DIRECTORIES( ${click_path}/AIRQUALITY5 ) 4 | INCLUDE_DIRECTORIES( ${click_path}/BAROMETER ) 5 | INCLUDE_DIRECTORIES( ${click_path}/FLAME ) 6 | INCLUDE_DIRECTORIES( ${click_path}/HEARTRATE4 ) 7 | INCLUDE_DIRECTORIES( ${click_path}/LCDMINI ) 8 | INCLUDE_DIRECTORIES( ${click_path}/LSM6DSL ) 9 | INCLUDE_DIRECTORIES( ${click_path}/OLED-B ) 10 | INCLUDE_DIRECTORIES( ${click_path}/RELAY ) 11 | INCLUDE_DIRECTORIES( ${click_path}/TEMP_HUM ) 12 | 13 | LINK_DIRECTORIES( ${click_path}/build ) 14 | LINK_DIRECTORIES( ${click_path}/out/ARM-Debug ) 15 | LINK_DIRECTORIES( ${click_path}/out/ARM-Release ) 16 | 17 | -------------------------------------------------------------------------------- /launch.vs.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.1", 3 | "defaults": {}, 4 | "configurations": [ 5 | { 6 | "type": "azurespheredbg", 7 | "name": "GDB Debugger (HLCore)", 8 | "project": "CMakeLists.txt", 9 | "inheritEnvironments": [ 10 | "AzureSphere" 11 | ], 12 | "customLauncher": "AzureSphereLaunchOptions", 13 | "workingDirectory": "${workspaceRoot}", 14 | "applicationPath": "${debugInfo.target}", 15 | "imagePath": "${debugInfo.targetImage}", 16 | "targetCore": "HLCore", 17 | "targetApiSet": "${env.AzureSphereTargetApiSet}", 18 | "partnerComponents": [] 19 | } 20 | ] 21 | } --------------------------------------------------------------------------------