1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 06:23:07 +01:00

add new obp60 board definitions

This commit is contained in:
norbert-walter
2024-03-22 23:46:57 +01:00
parent da3fdaad3d
commit 136dd1fa30
8 changed files with 176 additions and 4 deletions

View File

@@ -33,7 +33,7 @@
#define OBP_SPI_BUSY 42
#define OBP_SPI_CLK 38
#define OBP_SPI_DIN 48
#define SHOW_TIME 6000 // Show time for logo and WiFi QR code
#define SHOW_TIME 6000 // Show time in [ms] for logo and WiFi QR code
#define FULL_REFRESH_TIME 600 // Refresh cycle time in [s][600...3600] for full display update (very important healcy function)
#define MAX_PAGE_NUMBER 10 // Max number of pages for show data
#define FONT1 "Ubuntu_Bold8pt7b"

View File

@@ -579,6 +579,6 @@ void sensorTask(void *param){
void createSensorTask(SharedData *shared){
xTaskCreate(sensorTask,"readSensors",8000,shared,3,NULL);
xTaskCreate(sensorTask,"readSensors",10000,shared,3,NULL);
}
#endif

View File

@@ -21,6 +21,6 @@
// OBP60 Task
void OBP60Task(GwApi *param);
DECLARE_USERTASK_PARAM(OBP60Task, 8000) // Need 8k RAM as stack size
DECLARE_USERTASK_PARAM(OBP60Task, 10000) // Need 8k RAM as stack size
DECLARE_CAPABILITY(obp60,true);
#endif

View File

@@ -5,7 +5,10 @@
default_envs = obp60_s3
[env:obp60_s3]
platform = espressif32@6.3.2
board = obp60_s3
#board = obp60_s3_n8 #8MB flash, no PSRAM
board = obp60_s3_n16 #16MB flash, no PSRAM, zero series
#board = obp60_s3_n8r8 #8MB flash, 8MB PSRAM
#board = obp60_s3_n16r8 #16MB flash, 8MB PSRAM, production series
board_build.variants_dir = variants
framework = arduino
lib_deps =