Libraries¶
Sming comes with a number of ported libraries that cover many areas of embedded programming but for sure not all.
To reduce the size of the framework, some libraries are not included directly and must be retrieved if you wish to access any sample applications there.
For example, the Basic_UPnP sample application is contained in the UPnP library, which can be retrieved like this:
cd $SMING_HOME
make fetch UPnP
You should then get UPnP: found in ‘Libraries/UPnP’, so now we can build the sample:
cd Libraries/UPnP/samples/Basic_UPnP
make
Note
If your project references any libraries they will automatically be pulled in during the build.
These are all the libraries included with Sming:
- AM2321 Temperature/Humidity Sensor
- APA102 LED
- Adafruit BME280 Humidity/Pressure/Temperature sensor
- Adafruit GFX
- Adafruit ILI9341 Display
- Adafruit NeoPixel Library
- Adafruit PCD8544 Display
- Adafruit SSD1306 Display
- Adafruit ST7735 Display
- Adafruit Unified Sensor Driver
- Adafruit VL53L0X Library
- ArduCAM Library
- arduinoFFT
- ArduinoJson Version 5
- ArduinoJson Version 6
- Arduino TensorFlow Lite
- BH1750FVI Light Sensor
- BME280 Barometric Pressure Sensor
- BMP180 Pressure/Temperature Sensor
- Bounce library for Arduino
- CS5460 energy meter IC
- Capacitive Sensor Library
- DFPlayer - A Mini MP3 Player For Arduino
- DHT ESP Temperature/Humidity Sensors
- DIscovery And Launch (DIAL)
- DS18S20 Temperature Sensor
- Arduino DS3232RTC Library v1.0
- GoogleCast
- HMC5883L Compass
- HardwareSPI
- Hue Emulator
- I2C Device Class
- IRremoteESP8266 Library
- Nextion Serial Displays
- Liquid Crystal
- MCP23008 Port Expander
- MCP23017 I2C Port Expander
- MCP23S17 SPI Port Expander
- MCP_CAN Library for Arduino
- mDNS: Multicast Domain Name System
- MFRC522 RFID Module
- MMA-7455 Accelerometer
- Mirf for NRF24L01
- ModbusMaster RTU Library
- Multipart Parser
- OneWire for Arduino
- Over-the-Air Firmware Upgrade
- OTA Firmware Upgrade via MQTT
- rc-switch
- Arduino driver for nRF24L01 2.4GHz Wireless Transceiver
- RapidXML
- Embedded RingBufCPP
- RingTone
- SD Card
- SI7020/SI7021 Environmental Sensors
- SSDP
- Servo RC PWM Control
- Signal Generator
- SmingTest
- Solar Calculator
- SparkFun APDS9960 RGB and Gesture Sensor Arduino Library
- ILI9163C TFT Display
- TFT_S1D13781
- TM1637 LED Driver
- Timezone
- Tone Generator
- UPnP Schema
- UPnP
- Ultrasonic
- VT100 Emulator
- WS2812 Neopixel
- WebCam
- Yeelight
- Flatbuffers
- libsodium
- modbusino RTU Library (modbus slave)
- Nano Protocol-Buffer
- Si4432 RF Transceiver