Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master from devel #148

Merged
merged 243 commits into from
Jun 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
47d0f0c
Add Navigation Tile Screen
jgauchia Aug 25, 2023
3e264fc
Add Waypoint button
jgauchia Aug 25, 2023
4ddf6a5
Add Track Button
jgauchia Aug 25, 2023
27aeb76
Add Waypoint and Track options dialog box
jgauchia Aug 25, 2023
379498f
Add Icons & Events in options dialog box
jgauchia Aug 25, 2023
d87db9c
Fix Options events (autoclose dialog)
jgauchia Aug 25, 2023
cbc6235
Improve area buttons
jgauchia Sep 3, 2023
67c2611
Merge pull request #88 from jgauchia/86-please-improve-the-area-buttons
jgauchia Sep 3, 2023
f68ba87
Add Device Config in settings screen
jgauchia Sep 3, 2023
2204eb1
Add map rotation boolean to store in preferences
jgauchia Sep 3, 2023
d98fc97
Add Map rotation type config
jgauchia Sep 3, 2023
09684e8
Fix switch style
jgauchia Sep 3, 2023
c00641b
Add GPS heading and Compass heading
jgauchia Sep 3, 2023
4144622
Merge pull request #90 from jgauchia/87-disable-compass-or-define-map…
jgauchia Sep 3, 2023
e0052bd
Satellite Tracking labels now in flexgrid
jgauchia Sep 3, 2023
7559a91
Merge pull request #91 from jgauchia/77-improve-satellite-info-screen
jgauchia Sep 3, 2023
30d3a4b
Navigation Screen message (TODO)
jgauchia Sep 3, 2023
fce3624
Add Default zoom settings
jgauchia Sep 3, 2023
ea67664
Hide Spinbox cursor
jgauchia Sep 3, 2023
bf45dcf
Merge pull request #93 from jgauchia/92-default-zoom-level
jgauchia Sep 3, 2023
fca5397
Rename Device Config -> Map Settings
jgauchia Sep 4, 2023
f91ff68
Change GPS update rate
jgauchia Sep 4, 2023
5be4186
Change GPS baud
jgauchia Sep 4, 2023
e80824d
Fix PCAS sentence
jgauchia Sep 4, 2023
d132564
Fix Baud
jgauchia Sep 4, 2023
bb6592a
Force 9600 baud if previously select 38400 baud
jgauchia Sep 4, 2023
7516b0f
First commit , custom lvgl functions
jgauchia Sep 4, 2023
781d90d
Fix lv_tinc_inc for MAKERFABS
jgauchia Sep 4, 2023
4e152fd
Fix sattrack screen
jgauchia Sep 4, 2023
b0e56fd
Enable LVGL logs for MAKERFABS
jgauchia Sep 4, 2023
04b291e
Set to 19200 temporaly
jgauchia Sep 4, 2023
8dfea37
Fix initial Baud to 19200
jgauchia Sep 4, 2023
402491b
Set defalut GPS_BAUDRATE in init_gps
jgauchia Sep 4, 2023
0785c5d
Increase lv_tick_inc for MAKERFABS
jgauchia Sep 4, 2023
c9e22ab
Add 19200 custom PCAS sentence
jgauchia Sep 8, 2023
7d2815c
Custom LVGL function
jgauchia Sep 8, 2023
77a9531
Add show compass in map (map settings)
jgauchia Sep 8, 2023
7fe78a4
Add Show Speed in map ( Map Settings )
jgauchia Sep 8, 2023
1a814ee
Fix Show speed save parameter
jgauchia Sep 8, 2023
fb4c5c5
Add show map scale in map (Map Settings)
jgauchia Sep 8, 2023
c04c524
Update LovyanGFX library
jgauchia Sep 8, 2023
6d9bf90
Update LovyanGFX library
jgauchia Sep 8, 2023
6b01f8c
Add device settings option
jgauchia Sep 8, 2023
dd0a254
Fix Device settings option
jgauchia Sep 8, 2023
acb07b9
Add dropdown values
jgauchia Sep 8, 2023
bc15075
Add Events
jgauchia Sep 8, 2023
73cd2a1
Merge branch 'v.0.1.8_dev' into 94-slow-gps-response
jgauchia Sep 8, 2023
612d2ee
Merge pull request #96 from jgauchia/94-slow-gps-response
jgauchia Sep 8, 2023
ae41fff
Add GPS baudrate config
jgauchia Sep 8, 2023
f7c0f6a
Add GPS Update rate config
jgauchia Sep 8, 2023
d0d2ce9
Disable GPS update rate settings config
jgauchia Sep 8, 2023
3f37259
Fix AT6558D settings
jgauchia Sep 10, 2023
8e6dae0
Fix MakerFabs tick
jgauchia Sep 10, 2023
34ae36a
Update Adafruit BUSIO library
jgauchia Sep 22, 2023
635f2b8
Compass now as a Widget
jgauchia Sep 22, 2023
df796f0
Compass Widget Draggable
jgauchia Oct 13, 2023
f7ab733
Update Adafruit BusIO library
jgauchia Oct 13, 2023
5983ce8
Coordinates now as a Widget
jgauchia Oct 13, 2023
5181221
Altitude now as a Widget
jgauchia Oct 13, 2023
079f587
Speed now as a widget
jgauchia Oct 13, 2023
c78c6aa
Default widgets positions on preferences
jgauchia Oct 13, 2023
7fa208b
Draggable widgets in compass screen
jgauchia Oct 13, 2023
34b20bb
Clean Drag Widget Code
jgauchia Oct 13, 2023
4785457
Limit Widget Drag Area
jgauchia Oct 13, 2023
98d89a4
Fix
jgauchia Oct 29, 2023
d0de6ef
First Commit
jgauchia Oct 29, 2023
cb242dc
Clean code
jgauchia Oct 29, 2023
5217b97
Clean code
jgauchia Oct 29, 2023
b988bc7
Clean code
jgauchia Oct 29, 2023
c8f8c19
Clean code
jgauchia Oct 29, 2023
84e58e9
Clean code
jgauchia Oct 29, 2023
67ce422
Map type settings
jgauchia Oct 29, 2023
8080391
Fix vector map draw
jgauchia Oct 29, 2023
11e2b2c
Fix PSRAM
jgauchia Oct 29, 2023
2733f20
Add zoom to vector map
jgauchia Nov 2, 2023
c6a38a2
Fix zoom issues
jgauchia Nov 2, 2023
4df3411
Update README.md
jgauchia Nov 3, 2023
d69e495
Fix README.md
jgauchia Nov 3, 2023
c85dfc9
Fix README.md
jgauchia Nov 3, 2023
e6104e9
Merge pull request #98 from jgauchia/v_0.1.8_dev_vector_maps
jgauchia Nov 3, 2023
0a949b8
Fix Default settings for vectorized maps
jgauchia Nov 3, 2023
3d35be4
Fix Preferences
jgauchia Nov 3, 2023
04fd9ed
Review map settings
jgauchia Nov 3, 2023
55546fd
Fix Makerfabs lvgl timer
jgauchia Nov 3, 2023
042fa9b
Fix LVGL memory allocation
jgauchia Nov 3, 2023
5b7ea02
Fix ESP32S3 memory allocation
jgauchia Nov 4, 2023
a1d99a4
Test new checkbox definition
jgauchia Nov 5, 2023
775cd4c
LVGL + LovyanGFX optimization
jgauchia Nov 5, 2023
2b70511
Disable options in map screen
jgauchia Nov 5, 2023
01abaa8
Fix load icons in option screen
jgauchia Nov 5, 2023
af4adfc
Fix SPIFFS & DMA
jgauchia Nov 5, 2023
5758a5d
Fix checkboxes
jgauchia Nov 5, 2023
b6096f6
Merge pull request #101 from jgauchia/makerfab-checkbox-settings-free…
jgauchia Nov 5, 2023
c54efd8
Fix LVGL display cb
jgauchia Nov 5, 2023
35170c1
Update some libraries
jgauchia Jan 20, 2024
226cc13
Fix README.md
jgauchia Jan 21, 2024
808cac8
Update vector maps functions
jgauchia Jan 21, 2024
50d0dea
LVGL 9 migration
jgauchia Apr 18, 2024
0f038af
LVGL 9.1 and Code Clean
jgauchia Apr 18, 2024
9f37810
Clean Code
jgauchia Apr 18, 2024
7e06225
Refactored Code
jgauchia Apr 24, 2024
04d2bee
Fix vector map zoom level default
jgauchia May 1, 2024
a3e48c2
Fix
jgauchia May 1, 2024
a188703
Fix tft issues
jgauchia May 7, 2024
6a4b74b
Actualizar lgfx_MAKERF_ESP32S3_conf.hpp
jgauchia May 8, 2024
858fabe
Custom Dark Theme
jgauchia May 14, 2024
879e7eb
Fix Makefab missing libs #116
jgauchia May 14, 2024
bb50a0f
Fix Makefab missing libs #116
jgauchia May 14, 2024
746394b
No Map Image
jgauchia May 14, 2024
925f8c6
Update README.md
jgauchia May 14, 2024
ff50ff0
Merge pull request #117 from jgauchia/v.0.1.8_dev-NO_MAP
jgauchia May 14, 2024
557e278
New dev screenshoots
jgauchia May 14, 2024
ff3648b
New dev screenshoots
jgauchia May 14, 2024
f50b632
Update README.md
jgauchia May 14, 2024
ca0b12e
Merge pull request #118 from jgauchia/v.0.1.8_dev
jgauchia May 14, 2024
de3f8ea
Fix drag/drop widgets freezing #100
jgauchia May 14, 2024
285ec8a
Merge pull request #119 from jgauchia/v.0.1.8_dev-100-dev-dragdrop-wi…
jgauchia May 14, 2024
a274e53
Fix issue #111
jgauchia May 14, 2024
f4e0e10
FIx #111
jgauchia May 14, 2024
5958fbb
Merge pull request #122 from jgauchia/v.0.1.8_dev-111-real-point-nort…
jgauchia May 14, 2024
aca2984
Fix #116 MakerFabs LVGL
jgauchia May 14, 2024
4ff9ae8
Fix #116
jgauchia May 14, 2024
7b4a173
Fix #116
jgauchia May 14, 2024
b0459cd
Actualizar main.cpp
jgauchia May 15, 2024
c5e6d0e
Fix #116
jgauchia May 15, 2024
9e8150c
Merge branch '116-makefab-missing-libs' of https://github.com/jgauchi…
jgauchia May 15, 2024
872d312
Merge pull request #124 from jgauchia/116-makefab-missing-libs
jgauchia May 15, 2024
7e25da2
Fix Touch Calibration set hide buttons #123
jgauchia May 15, 2024
0eb36da
Merge pull request #125 from jgauchia/123-touch-calibration-set-hide-…
jgauchia May 16, 2024
d4412ca
Merge branch 'master' into devel
jgauchia May 16, 2024
ff268ca
Fix #130 Map disappears when modifying the settings
jgauchia May 16, 2024
ce30cea
Merge pull request #132 from jgauchia/130-map-disappears-when-modifyi…
jgauchia May 16, 2024
eb83d04
Custom Board STL files #131
jgauchia May 16, 2024
0b61290
Update README.md
jgauchia May 16, 2024
3d02f76
Merge pull request #133 from jgauchia/131-custom-board-stl-files
jgauchia May 16, 2024
bbc0263
Merge remote-tracking branch 'upstream/master' into devel
hpsaturn May 16, 2024
5834471
Merge pull request #134 from hpsaturn/devel
jgauchia May 16, 2024
e07c0ae
Update README.md
jgauchia May 16, 2024
499939d
Update README.md
jgauchia May 16, 2024
a3771f2
Optimize notifybar events
jgauchia May 17, 2024
653e42f
HMC5883L Library changed
jgauchia May 17, 2024
645ab20
Update README.md
jgauchia May 17, 2024
56b637c
Optimize Compass Screen Events
jgauchia May 17, 2024
e22fb36
Fix build_flags for MAKERFABS
jgauchia May 17, 2024
8876388
Fix build_flags for compass
jgauchia May 17, 2024
b3b853d
Fix LVGL refresh Task (glitches)
jgauchia May 17, 2024
5c4d28e
Preferences migrated to EasyPreferences library and its manifest
hpsaturn May 18, 2024
7fa1fc3
added printSetttings() method with Auto generation of prefs showed
hpsaturn May 18, 2024
cc7755e
removed previous print settings calls
hpsaturn May 18, 2024
fc69668
Merge pull request #135 from hpsaturn/improv_preferences
jgauchia May 18, 2024
2844023
Update README.md
jgauchia May 18, 2024
19d8e18
Merge branch 'devel' of https://github.com/jgauchia/IceNav-v3 into 12…
jgauchia May 18, 2024
e087441
PSRAM double buffer LVGL refresh
jgauchia May 18, 2024
841d40d
Fix MakerFabs Touch Calibration
jgauchia May 18, 2024
d88cb15
Fix notify bar tasks (now in LVGL timer)
jgauchia May 19, 2024
38dfcf3
Temporary recolor buttons not implemented
jgauchia May 19, 2024
3d9bfd8
Optimize button bar events
jgauchia May 19, 2024
d8ae98f
Modify Navigation Screen (upload assets)
jgauchia May 19, 2024
d952921
New asset
jgauchia May 19, 2024
7eac2a2
Optimize Device Settings Events
jgauchia May 19, 2024
597e620
Update README.md
jgauchia May 19, 2024
7997ad1
Update README.md
jgauchia May 19, 2024
0b4e39e
Optimize Map Settings Events
jgauchia May 21, 2024
08e7578
Update README.md
jgauchia May 21, 2024
3348877
Try to fix bugs
jgauchia May 22, 2024
29b2a1a
Render Map Refactor and Fix Bugs
jgauchia May 23, 2024
2f0afcb
Vector Map Refactor
jgauchia May 23, 2024
ddbd5b0
TFT SPI pin definition in hal.hpp
jgauchia May 28, 2024
f7db527
TFT Parallel pin definition in hal.hpp
jgauchia May 28, 2024
8c04487
Display Map Refactor
jgauchia May 28, 2024
5e26422
Fix Vector Zoom Gesture
jgauchia May 28, 2024
e9a5112
Update README.md
jgauchia May 28, 2024
af877aa
Fix Navigation Screen
jgauchia May 28, 2024
0b80937
Fix Navigation Screen
jgauchia May 28, 2024
b84d529
Satellite Track Screen Refactor
jgauchia May 31, 2024
b8f3458
Fix missing file
jgauchia May 31, 2024
aa51812
Merge pull request #140 from jgauchia/127-lvgl-optimization
jgauchia May 31, 2024
7834e92
Change hpsaturn/EasyPreferences lib_dep in Platformio.ini
jgauchia May 31, 2024
3404283
TFT Panels Refactor
jgauchia May 31, 2024
cae0bc7
TFT Panel definitions
jgauchia May 31, 2024
9d19d25
Update README.md
jgauchia May 31, 2024
58bbc93
Add ILI9341 support (without screen changes)
jgauchia Jun 2, 2024
65f4526
Add ESP32S3_N16R8 env
jgauchia Jun 2, 2024
9526bec
Touch Calibration Screen 320x240
jgauchia Jun 2, 2024
bbc6f31
Splash Screen 320x240
jgauchia Jun 2, 2024
ad6cb44
Fix Assets
jgauchia Jun 2, 2024
e04afaa
Notify Bar 320x240
jgauchia Jun 3, 2024
9afc41b
Position Widget 320x240
jgauchia Jun 4, 2024
8628fe2
Compass Widget 320x240
jgauchia Jun 4, 2024
994239d
Button Bar 300x240
jgauchia Jun 4, 2024
aa2bd05
Altitude and Speed Widget 320x240
jgauchia Jun 4, 2024
9188fed
Clean code (indent)
jgauchia Jun 10, 2024
61661d6
Add compile commmands (lunarvim)
jgauchia Jun 10, 2024
76ad0ff
Map screen 320x240
jgauchia Jun 12, 2024
76c8974
Fix ILI9488_SPI panel
jgauchia Jun 12, 2024
a0b7d8e
Map screen Widgets 320x240
jgauchia Jun 14, 2024
483fda8
Reboot Screen 320x240
jgauchia Jun 14, 2024
9576c7c
Settings Screen 320x240
jgauchia Jun 14, 2024
061b61c
Device Settings Screen 320x240
jgauchia Jun 14, 2024
1402420
Map Settings Screen 320x240
jgauchia Jun 14, 2024
a3d38ed
Compass Calibration Screen 320x240
jgauchia Jun 14, 2024
57b57bb
Satellite Info Screen 320x240
jgauchia Jun 14, 2024
8908861
Merge pull request #142 from jgauchia/138-add-support-for-multiple-di…
jgauchia Jun 14, 2024
224a5d0
added flags for CLI and some minors improvements
hpsaturn Jun 14, 2024
ea86399
added basic CLI commands and its network manager (nmcli)
hpsaturn Jun 14, 2024
5bb742d
Update LovyanGFX library
jgauchia Jun 14, 2024
2aee295
Merge branch 'devel' of https://github.com/jgauchia/IceNav-v3 into wc…
hpsaturn Jun 14, 2024
4500c4d
missing commit in the previous merge
hpsaturn Jun 14, 2024
eca5901
added missing CLI enable flag validation
hpsaturn Jun 15, 2024
15dc5d1
screenshot feature, initial version to SD
hpsaturn Jun 15, 2024
ea7bfbf
Merge pull request #143 from hpsaturn/wcli-integration
jgauchia Jun 15, 2024
15475ae
Update README.md
jgauchia Jun 15, 2024
0047efb
Update README.md
jgauchia Jun 15, 2024
5cc116e
Fix Serial monitor (thanks @hpsaturn)
jgauchia Jun 15, 2024
c679018
Change Wifi CLI logo color
jgauchia Jun 15, 2024
1de42a8
Merge pull request #145 from jgauchia/devel
jgauchia Jun 15, 2024
61306a6
Update Adafruit BUSIO Library
jgauchia Jun 15, 2024
f831858
Update Adafruit BUSIO Library
jgauchia Jun 15, 2024
6e20726
Change EARTH radius
jgauchia Jun 15, 2024
862db34
Change custom Fix to TinyGPS++ FixQuality
jgauchia Jun 15, 2024
1fff229
Merge pull request #146 from jgauchia/136-update-libraries
jgauchia Jun 15, 2024
69a04d0
Add Wifi Icon to notify bar (Wifi CLI)
jgauchia Jun 15, 2024
f501604
Add WiFi CLI screenshot
jgauchia Jun 15, 2024
f4fc19f
Update README.md
jgauchia Jun 15, 2024
87faaa0
Change CUSTOMBOARD to ESP32_N16R4 [env]
jgauchia Jun 15, 2024
18679cf
Add ESP32_N16R4 LVGL conf
jgauchia Jun 15, 2024
a54dae3
Update README.md
jgauchia Jun 15, 2024
d8a60f1
Modify build flags
jgauchia Jun 15, 2024
00c22c6
Fix AT6558D GPS build flags
jgauchia Jun 15, 2024
b673d3d
Update README.md
jgauchia Jun 15, 2024
f3726ef
Fix Compass build flags
jgauchia Jun 15, 2024
18b31e3
Update README.md
jgauchia Jun 15, 2024
7d3760f
Fix GPS build flags
jgauchia Jun 15, 2024
8df6ce3
Fix Other build flags
jgauchia Jun 15, 2024
5890dfc
Update README.md
jgauchia Jun 15, 2024
08424db
Update README.md
jgauchia Jun 15, 2024
58f5ce3
Merge pull request #147 from jgauchia/141-add-support-for-multiple-es…
jgauchia Jun 15, 2024
73a3d62
Fix Default widget positions for 320x480 screen
jgauchia Jun 15, 2024
ace28b8
Update README.md
jgauchia Jun 15, 2024
c2b3d2d
added missing header for fix issue #149
hpsaturn Jun 16, 2024
239e39e
Fix PSRAM LVGL Buffer crash CLI
jgauchia Jun 16, 2024
ae59594
Merge pull request #150 from hpsaturn/fix_issue_149
jgauchia Jun 16, 2024
ce46a6e
Fix init CLI for CDC USB
jgauchia Jun 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Other build flags
  • Loading branch information
jgauchia committed Jun 15, 2024

Verified

This commit was signed with the committer’s verified signature.
wemeetagain Cayman
commit 8df6ce37a7ff7c42758071f6842d98a664e90b5e
1,046 changes: 523 additions & 523 deletions compile_commands.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/bme/bme.cpp
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

#include "bme.hpp"

#ifdef ENABLE_BME
#ifdef BME280

Adafruit_BME280 bme = Adafruit_BME280();

4 changes: 3 additions & 1 deletion lib/bme/bme.hpp
Original file line number Diff line number Diff line change
@@ -9,7 +9,9 @@
#ifndef BME_HPP
#define BME_HPP

#ifdef ENABLE_BME
#ifdef BME280

#define ENABLE_TEMP

#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
6 changes: 3 additions & 3 deletions lib/compass/compass.cpp
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ int mapHeading = 0;
Adafruit_HMC5883_Unified compass = Adafruit_HMC5883_Unified(12345);
#endif

#ifdef MPU9250
#ifdef IMU_MPU9250
MPU9250 IMU = MPU9250(Wire, 0x68);
#endif

@@ -54,7 +54,7 @@ void initCompass()
if (!compass.begin())
compass.begin();
#endif
#ifdef MPU9250
#ifdef IMU_MPU9250
int status = IMU.begin();
if (status < 0)
{
@@ -82,7 +82,7 @@ void readCompass(float &x, float &y, float &z)
z = event.magnetic.z;
#endif

#ifdef MPU9250
#ifdef IMU_MPU9250
IMU.readSensor();
x = IMU.getMagX_uT();
y = IMU.getMagY_uT();
2 changes: 1 addition & 1 deletion lib/compass/compass.hpp
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ extern Adafruit_HMC5883_Unified compass;
#define ENABLE_COMPASS
#endif

#ifdef MPU9250
#ifdef IMU_MPU9250
#include <MPU9250.h>
extern MPU9250 IMU;
#define ENABLE_COMPASS
6 changes: 3 additions & 3 deletions lib/gui/src/notifyBar.cpp
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ void updateNotifyBar(lv_event_t *event)

if (obj == gpsTime)
lv_label_set_text_fmt(obj, timeFormat, hour(now()), minute(now()), second(now()));
#ifdef ENABLE_BME
#ifdef ENABLE_TEMP
if (obj == temp)
lv_label_set_text_fmt(obj, "%02d\xC2\xB0", tempValue);
#endif
@@ -114,7 +114,7 @@ void updateNotifyBarTimer(lv_timer_t *t)
else
lv_led_off(gpsFix);

#ifdef ENABLE_BME
#ifdef ENABLE_TEMP
tempValue = (uint8_t)(bme.readTemperature());
if (tempValue != tempOld)
{
@@ -170,7 +170,7 @@ void createNotifyBar()
lv_label_set_text_static(wifi, " ");
lv_obj_add_event_cb(wifi, updateNotifyBar, LV_EVENT_VALUE_CHANGED, NULL);

#ifdef ENABLE_BME
#ifdef ENABLE_TEMP
temp = lv_label_create(notifyBarIcons);
lv_label_set_text_static(temp, "--\xC2\xB0");
lv_obj_add_event_cb(temp, updateNotifyBar, LV_EVENT_VALUE_CHANGED, NULL);
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ build_flags =
-mfix-esp32-psram-cache-issue
-D AT6558D_GPS=1
-D HMC5883L=1
-D ENABLE_BME=1
-D BME280=1
-D ILI9488_XPT2046_SPI=1
-D TFT_BL=33

@@ -85,7 +85,7 @@ build_flags =
-DBOARD_HAS_PSRAM
-DARDUINO_ESP32S3_DEV
-D AT6558D_GPS=1
-D MPU9250=1
-D IMU_MPU9250=1
-D ILI9488_FT5x06_16B=1
-D TFT_BL=45

10 changes: 7 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -24,11 +24,15 @@
#include "storage.hpp"
#include "tft.hpp"

#ifdef ENABLE_COMPASS
#ifdef HMC5883L
#include "compass.hpp"
#endif

#ifdef ENABLE_BME
#ifdef IMU_MPU9250
#include "compass.hpp"
#endif

#ifdef BME280
#include "bme.hpp"
#endif

@@ -49,7 +53,7 @@ void setup()
Wire.begin();
#endif

#ifdef ENABLE_BME
#ifdef BME280
initBME();
#endif