Skip to content

Commit

Permalink
🏗️ (qspi): Update spike
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Sep 24, 2021
1 parent fe611a9 commit 03585ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion spikes/lk_qspi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ target_sources(spike_lk_qspi
)

target_link_libraries(spike_lk_qspi
lib_LekaFirmware
CoreQSPI
)

target_link_custom_leka_targets(spike_lk_qspi)
10 changes: 3 additions & 7 deletions spikes/lk_qspi/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

#include "drivers/BufferedSerial.h"
#include "rtos/ThisThread.h"
#include "rtos/Thread.h"

#include "CoreQSPI.h"
#include "HelloWorld.h"
#include "LekaFirmware.h"
#include "LogKit.h"

using namespace leka;
Expand All @@ -20,12 +19,9 @@ auto main() -> int

auto start = rtos::Kernel::Clock::now();

log_info("Hello, World!\n\n");
log_info("Hello, World!\n");

rtos::Thread qspi_thread;
Firmware qspi;

qspi_thread.start({&qspi, &Firmware::start});
auto coreqspi = CoreQSPI {};

rtos::ThisThread::sleep_for(2s);

Expand Down

0 comments on commit 03585ba

Please sign in to comment.