Initial commit for nanopsx

This commit is contained in:
2025-11-23 22:08:58 +01:00
commit 3f95ce8cff
1649 changed files with 523711 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef __BSP_I2C_H__
#define __BSP_I2C_H__
#include "driver/i2c_master.h"
#include "driver/gpio.h"
#define EXAMPLE_PIN_I2C_SDA GPIO_NUM_18
#define EXAMPLE_PIN_I2C_SCL GPIO_NUM_19
#define I2C_PORT_NUM 0
#ifdef __cplusplus
extern "C" {
#endif
i2c_master_bus_handle_t bsp_i2c_init(void);
#ifdef __cplusplus
}
#endif
#endif //__BSP_I2C_H__