aboutsummaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2021-11-20 13:08:59 -0700
committerJosh Rahm <joshuarahm@gmail.com>2021-11-20 13:08:59 -0700
commitea2ac3d6d651ab58aec2fb320f0d015bdd4826d9 (patch)
tree6b2b71826bbd4438cfacf2d55a06b040aa8ba3ff /main/main.c
downloadesp32-ws2812b-ea2ac3d6d651ab58aec2fb320f0d015bdd4826d9.tar.gz
esp32-ws2812b-ea2ac3d6d651ab58aec2fb320f0d015bdd4826d9.tar.bz2
esp32-ws2812b-ea2ac3d6d651ab58aec2fb320f0d015bdd4826d9.zip
First commit.
Very basic, "Hello, World" infrastructure. For the most part, I did not copy this from an existing example, rather, took inspiration from an existing example. I want to avoid cargo-culting as much as possible.
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
new file mode 100644
index 0000000..9c53c3f
--- /dev/null
+++ b/main/main.c
@@ -0,0 +1,10 @@
+#include "sdkconfig.h"
+#include "freertos/FreeRTOS.h"
+#include "freertos/task.h"
+#include "esp_system.h"
+#include "esp_spi_flash.h"
+
+void app_main(void)
+{
+ printf("Hello, World!\n");
+}