Skip to content

Commit

Permalink
Complete SPI API, added display ILI9341, added spi bme280, updated i2…
Browse files Browse the repository at this point in the history
…c bme280 (#116)
  • Loading branch information
enelson1001 authored and PerMalmberg committed Nov 30, 2019
1 parent 2c40578 commit 279e992
Show file tree
Hide file tree
Showing 35 changed files with 3,424 additions and 324 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cmake_minimum_required(VERSION 3.10)
set(CMAKE_CXX_STANDARD 17)

# Select the test project to build
set(selected_test_project hello_world)
set(selected_test_project access_point)

# For Linux builds, you may enable address sanitizer
set(SMOOTH_ENABLE_ASAN 0)
Expand Down Expand Up @@ -50,6 +50,8 @@ list(APPEND available_tests
linux_asan_test
linux_unit_tests
hw_wrover_kit_blinky
i2c_bme280_test
spi_4_line_devices_test
)

list(FIND available_tests ${selected_test_project} test_found)
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Below is the list of individuals that have contributed to the project.
|[KerryRJ](https://github.com/KerryRJ)|[PR#71](https://github.com/PerMalmberg/Smooth/pull/71)|
|[jeremyjh](https://github.com/jeremyjh)|[PR#87](https://github.com/PerMalmberg/Smooth/pull/87)|
|[COM8](https://github.com/COM8)|[PR#98](https://github.com/PerMalmberg/Smooth/pull/98)|
|[enelson1001](https://github.com/enelson1001)|
Binary file added Documents/ILI9341.pdf
Binary file not shown.
12 changes: 12 additions & 0 deletions lib/files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ set(smooth_dir ${CMAKE_CURRENT_LIST_DIR}/smooth)
set(smooth_inc_dir ${CMAKE_CURRENT_LIST_DIR}/smooth/include/smooth)

set(SMOOTH_SOURCES
${smooth_dir}/application/display/ILI9341.cpp
${smooth_dir}/application/hash/base64.cpp
${smooth_dir}/application/hash/sha.cpp
${smooth_dir}/application/io/i2c/ADS1115.cpp
${smooth_dir}/application/io/i2c/BME280.cpp
${smooth_dir}/application/io/i2c/MCP23017.cpp
${smooth_dir}/application/io/i2c/MCP23017.cpp
${smooth_dir}/application/io/spi/BME280SPI.cpp
${smooth_dir}/application/io/spi/BME280Core.cpp
${smooth_dir}/application/io/wiegand/Wiegand.cpp
${smooth_dir}/application/network/http/HTTPProtocol.cpp
${smooth_dir}/application/network/http/HTTPServerClient.cpp
Expand Down Expand Up @@ -68,6 +71,8 @@ set(SMOOTH_SOURCES
${smooth_dir}/core/io/i2c/I2CCommandLink.cpp
${smooth_dir}/core/io/i2c/I2CMasterDevice.cpp
${smooth_dir}/core/io/i2c/Master.cpp
${smooth_dir}/core/io/spi/Master.cpp
${smooth_dir}/core/io/spi/SPIDevice.cpp
${smooth_dir}/core/io/Input.cpp
${smooth_dir}/core/io/InterruptInput.cpp
${smooth_dir}/core/io/InterruptInputCB.cpp
Expand All @@ -88,6 +93,10 @@ set(SMOOTH_SOURCES
${smooth_dir}/core/timer/Timer.cpp
${smooth_dir}/core/timer/TimerService.cpp
${smooth_dir}/core/util/string_util.cpp
${smooth_inc_dir}/application/display/ILI9341.h
${smooth_inc_dir}/application/display/ILI9341_init_cmds.h
${smooth_inc_dir}/application/io/spi/BME280SPI.h
${smooth_inc_dir}/application/io/spi/BME280Core.h
${smooth_inc_dir}/application/io/i2c/ADS1115.h
${smooth_inc_dir}/application/io/i2c/MCP23017.h
${smooth_inc_dir}/application/network/http/HTTPProtocol.h
Expand Down Expand Up @@ -154,6 +163,9 @@ set(SMOOTH_SOURCES
${smooth_inc_dir}/core/io/i2c/I2CCommandLink.h
${smooth_inc_dir}/core/io/i2c/I2CMasterDevice.h
${smooth_inc_dir}/core/io/i2c/Master.h
${smooth_inc_dir}/core/io/spi/Master.h
${smooth_inc_dir}/core/io/spi/SPIDevice.h
${smooth_inc_dir}/core/io/spi/SpiDmaFixedBuffer.h
${smooth_inc_dir}/core/io/Input.h
${smooth_inc_dir}/core/io/Input.h
${smooth_inc_dir}/core/io/InterruptInput.h
Expand Down
Loading

0 comments on commit 279e992

Please sign in to comment.