15 lines
292 B
C++
15 lines
292 B
C++
#include "dispatch.h"
|
|
#include "handlers.h"
|
|
|
|
std::string_view firmware_name = "picomap";
|
|
|
|
static constexpr handler_entry handlers[] = {
|
|
{RequestPICOBOOT::ext_id, handle_picoboot},
|
|
{RequestInfo::ext_id, handle_info},
|
|
};
|
|
|
|
int main() {
|
|
dispatch_init();
|
|
dispatch_run(handlers);
|
|
}
|