/* The gzipped web UI (www_dist/www.pack, built by tools/build_web.sh), embedded in the program: the same * symbols the firmware's web.c reads on the board. WWW_PACK is the file's path, set by CMake. */ #include #ifndef WWW_PACK #error "WWW_PACK must name www_dist/www.pack" #endif #define STR2(x) #x #define STR(x) STR2(x) __asm__( ".section .rodata\n" ".balign 16\n" ".global _binary_www_pack_start\n" "_binary_www_pack_start:\n" ".incbin " STR(WWW_PACK) "\n" ".global _binary_www_pack_end\n" "_binary_www_pack_end:\n" ".byte 0\n" ".previous\n");