Fix logging matrix firmware build failures
This commit is contained in:
1 parent
6fabd5a155
commit
2cb31ce04f
8 files changed
+48
-23
No files matched your search
@@ -14,6 +14,10 @@ fail() {
|
||||
|
||||
for utility in profile_switch_t096_sx1262 xiao_s3_partition_migrator \
|
||||
heltec_v4_partition_migrator_test_hold xiao_s3_partition_legacy_seed \
|
||||
esp32_4mb_partition_migrator_lora \
|
||||
heltec_v4_partition_migrator_lora_repeater \
|
||||
heltec_v4_partition_migrator_lora_repeater_lora_ota_no_external_sensors \
|
||||
Xiao_S3_WIO_partition_expander \
|
||||
Heltec_v3_repeater_observer_mqtt_sim; do
|
||||
is_redundant_bulk_build_target "$utility" \
|
||||
|| fail "release matrix includes development utility $utility"
|
||||
|
||||
@@ -66,6 +66,12 @@ def esp_fixture(path, modern=False, fragmented=False):
|
||||
|
||||
|
||||
class FirmwareRamTest(unittest.TestCase):
|
||||
def test_sh1107_framebuffer_is_budgeted(self):
|
||||
policy = ram.requirements("NRF52_PLATFORM", {
|
||||
"DISPLAY_CLASS": "SH1107Display",
|
||||
}, "muzi_base_uno_superIO_companion_radio_ble")
|
||||
self.assertEqual(policy["components"]["display_pixels_and_driver"], 4096)
|
||||
|
||||
def test_heap_tables_and_ota_remain_in_runtime_budget(self):
|
||||
policy = ram.requirements("ESP32_PLATFORM", {
|
||||
"ENABLE_OTA": 1, "OTA_HEAP_CONTEXT": 1,
|
||||
|
||||
Reference in new issue
Block a user