This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new b057a93b0 tinyusb/msc_fat_view: Fix update handler
b057a93b0 is described below

commit b057a93b0f1c264569b211330442661a0c751efa
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Tue Jun 18 21:44:38 2024 +0200

    tinyusb/msc_fat_view: Fix update handler
    
    When update handler for writing images to flash
    was moved to separate file pkg.yml was changed
    to have update_handler.c included conditionally
    but syscfg definition was not commited
    
    This fixes the problem and updates can be
    used again
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/usb/tinyusb/msc_fat_view/syscfg.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hw/usb/tinyusb/msc_fat_view/syscfg.yml 
b/hw/usb/tinyusb/msc_fat_view/syscfg.yml
index a3c773d7a..447feecf3 100644
--- a/hw/usb/tinyusb/msc_fat_view/syscfg.yml
+++ b/hw/usb/tinyusb/msc_fat_view/syscfg.yml
@@ -97,6 +97,10 @@ syscfg.defs:
         description: >
             If set to 1, adds 'Drop image here' file.
         value: 0
+    MSC_FAT_VIEW_UPDATE_HANDLER:
+        description: >
+            If set to 1, image can be dropped to upgrade firmware.
+        value: 0
     MSC_FAT_VIEW_SYSTEM_VOLUME_INFORMATION:
         description: >
             If set to 1, adds 'System Volume Information' file.

Reply via email to