Commit for SWO for HW validation menu updates
git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@245 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -42,8 +42,10 @@
|
||||
#include "stm32f10x_rcc.h"
|
||||
|
||||
#include "DisplayDevice.h"
|
||||
#include "KeyboardDevice.h"
|
||||
#include "MAX5715.h"
|
||||
#include "nhd0420.h"
|
||||
#include "storm700.h"
|
||||
|
||||
#include "platform.h"
|
||||
#include "internalADC.h"
|
||||
@@ -104,6 +106,9 @@ struct MAX5715* dac = &max5715;
|
||||
struct RepairMenu* rm = &_rm;
|
||||
struct HwValidationMenu* hwValidation = &_hwValidation;
|
||||
|
||||
static struct Storm700 _storm700 = {.initialized = false};
|
||||
struct Storm700* storm700 = &_storm700;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Function declarations
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -194,6 +199,8 @@ static void initTask(void* parameters)
|
||||
|
||||
Logger_construct(mainLog, &uart3->device, 1, 512);
|
||||
|
||||
Storm700_construct(storm700, &keypad->device);
|
||||
|
||||
NHD0420_construct(&nhd0420, &spiDisplay->device);
|
||||
|
||||
Display_construct(display, &nhd0420.displayDevice, 2, 256, 10, 1000, 10000);
|
||||
@@ -249,9 +256,10 @@ static void initTask(void* parameters)
|
||||
// EEPROM TO BE DONE
|
||||
HwValidationMenu_construct(hwValidation, &uart1->device, &hwTestItems, 1, 512);
|
||||
|
||||
// Construct the repair menu
|
||||
repairMenu_construct(rm, display, 2, 512);
|
||||
// Delete this init task
|
||||
|
||||
// Delete this init task
|
||||
vTaskDelete(NULL);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user