openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602 and LN882H
https://openbekeniot.github.io/webapp/devicesList.html
1.48k stars 276 forks source link

Build OTA version #706

Open forty76 opened 1 year ago

forty76 commented 1 year ago

I have BL602. I can compile and flash full firmware.

How can I compile OTA version ? I want produce OTA.bin.xz.ota

openshwprojects commented 1 year ago

Hello, take a look here: https://github.com/openshwprojects/OpenBK7231T_App/blob/main/.github/workflows/workflow.yaml and here: https://github.com/openshwprojects/OpenBK7231T_App/blob/main/Makefile

image

The make bins was missing from genromap, so I readded it: https://github.com/openshwprojects/OpenBL602/commit/ce598fbb39563d35e44f93caf710c8f90294957f

forty76 commented 1 year ago

I have this error make: *** [/home/forty76/BL602/OpenBL602-master_openshwprojects/OpenBL602/make_scripts_riscv/project.mk:448: /home/forty76/BL602/OpenBL602-master_openshwprojects/OpenBL602/customer_app/bl602_sharedApp/build_out/bl602_sharedApp.elf] Errore 1

openshwprojects commented 1 year ago

There is no information what's wrong. Maybe it would be easier if you just forked the repo on your github and use there automatic builds? You can get binary files on your fork easily...