integrated usb stack

This commit is contained in:
Bernd Herzog 2023-03-30 11:46:36 +02:00
parent 8dd68a0811
commit a6eb430830
6 changed files with 128 additions and 10 deletions

View file

@ -26,7 +26,17 @@
namespace ui {
SdOverUsbView::SdOverUsbView(NavigationView& nav) : nav_ (nav) {
baseband::run_image(portapack::spi_flash::image_tag_usb_sd);
sdcDisconnect(&SDCD1);
sdcStop(&SDCD1);
portapack::shutdown();
m4_init(portapack::spi_flash::image_tag_usb_sd, portapack::memory::map::m4_code, true);
//m4_init(portapack::spi_flash::image_tag_hackrf, portapack::memory::map::m4_code_hackrf, true);
m0_halt(); /* will not return*/
//baseband::run_image();
add_children({
&labels,
&button_close