/* The simulated rig's page and drivers (www_dist/sim.pack, built by tools/build_sim_web.sh), embedded in the * program and served at /sim/ (sim-controller/components/sim/sim_rig.c). SIM_PACK is the path, set by CMake. */ #include #ifndef SIM_PACK #error "SIM_PACK must name www_dist/sim.pack" #endif #define STR2(x) #x #define STR(x) STR2(x) __asm__( ".section .rodata\n" ".balign 16\n" ".global _binary_sim_pack_start\n" "_binary_sim_pack_start:\n" ".incbin " STR(SIM_PACK) "\n" ".global _binary_sim_pack_end\n" "_binary_sim_pack_end:\n" ".byte 0\n" ".previous\n");