Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Nov 3, 2020
1 parent 94da9e5 commit ac5cf19
Show file tree
Hide file tree
Showing 16 changed files with 53,825 additions and 53,615 deletions.
158 changes: 131 additions & 27 deletions modular-psu-firmware.eez-project
Original file line number Diff line number Diff line change
Expand Up @@ -2356,6 +2356,14 @@
"name": "channel_calibration_is_power_channel",
"type": "boolean",
"defaultValue": "1"
},
{
"name": "has_custom_bitmap",
"type": "boolean",
"defaultValue": "0"
},
{
"name": "custom_bitmap"
}
],
"actions": [
Expand Down Expand Up @@ -3067,54 +3075,91 @@
"style": {
"inheritFrom": "default"
},
"data": "is_reset_by_iwdg",
"data": "has_custom_bitmap",
"left": 0,
"top": 26,
"top": 0,
"width": 480,
"height": 40,
"height": 120,
"widgets": [
{
"type": "Text",
"type": "Container",
"style": {
"inheritFrom": "default_M"
"inheritFrom": "default"
},
"left": 0,
"top": 0,
"width": 480,
"height": 40,
"text": "Welcome to EEZ BB3"
"height": 120,
"widgets": [
{
"type": "Select",
"style": {
"inheritFrom": "default"
},
"data": "is_reset_by_iwdg",
"left": 0,
"top": 14,
"width": 480,
"height": 40,
"widgets": [
{
"type": "Text",
"style": {
"inheritFrom": "default_M"
},
"left": 0,
"top": 0,
"width": 480,
"height": 40,
"text": "Welcome to EEZ BB3"
},
{
"type": "Text",
"style": {
"inheritFrom": "default_M_warning"
},
"left": 0,
"top": 0,
"width": 480,
"height": 40,
"text": "Welcome to EEZ BB3"
}
]
},
{
"type": "Bitmap",
"style": {
"inheritFrom": "default"
},
"left": 0,
"top": 54,
"width": 480,
"height": 64,
"bitmap": "logo"
}
]
},
{
"type": "Text",
"type": "Bitmap",
"style": {
"inheritFrom": "default_M_warning"
"inheritFrom": "default"
},
"data": "custom_bitmap",
"left": 0,
"top": 0,
"width": 480,
"height": 40,
"text": "Welcome to EEZ BB3"
"height": 120,
"bitmap": ""
}
]
},
{
"type": "Bitmap",
"style": {
"inheritFrom": "default"
},
"left": 0,
"top": 66,
"width": 480,
"height": 48,
"bitmap": "logo"
},
{
"type": "Text",
"style": {
"inheritFrom": "default_S_left"
},
"left": 135,
"top": 121,
"top": 125,
"width": 64,
"height": 25,
"text": "Master:"
Expand All @@ -3126,7 +3171,7 @@
},
"data": "master_info",
"left": 203,
"top": 121,
"top": 125,
"width": 123,
"height": 25,
"displayOption": 0
Expand All @@ -3138,7 +3183,7 @@
},
"data": "master_test_result",
"left": 326,
"top": 121,
"top": 125,
"width": 78,
"height": 25,
"widgets": [
Expand Down Expand Up @@ -3217,7 +3262,7 @@
},
"data": "slots",
"left": 135,
"top": 146,
"top": 150,
"width": 269,
"height": 75,
"itemWidget": {
Expand Down Expand Up @@ -3345,10 +3390,69 @@
},
"data": "firmware_info",
"left": 0,
"top": 232,
"top": 236,
"width": 480,
"height": 30,
"displayOption": 0
},
{
"type": "Select",
"style": {
"inheritFrom": "default"
},
"data": "has_custom_bitmap",
"left": 0,
"top": 268,
"width": 480,
"height": 4,
"widgets": [
{
"type": "Rectangle",
"style": {
"inheritFrom": "default"
},
"left": 0,
"top": 0,
"width": 480,
"height": 4,
"invertColors": true
},
{
"type": "Select",
"style": {
"inheritFrom": "default"
},
"data": "is_reset_by_iwdg",
"left": 0,
"top": 0,
"width": 480,
"height": 4,
"widgets": [
{
"type": "Rectangle",
"style": {
"inheritFrom": "default"
},
"left": 0,
"top": 0,
"width": 480,
"height": 4,
"invertColors": true
},
{
"type": "Rectangle",
"style": {
"inheritFrom": "default",
"color": "status_warning"
},
"left": 0,
"top": 0,
"width": 480,
"height": 4
}
]
}
]
}
],
"left": 0,
Expand Down
2 changes: 2 additions & 0 deletions src/eez/firmware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ bool g_shutdown;
void boot() {
assert((uint32_t)(MEMORY_END - MEMORY_BEGIN) <= MEMORY_SIZE);

psu::serial::initScpi();

psu::event_queue::init();

#if defined(EEZ_PLATFORM_STM32)
Expand Down
Loading

0 comments on commit ac5cf19

Please sign in to comment.