Skip to content

Commit

Permalink
Merge branch 'dev-0.10' into dev-0.11
Browse files Browse the repository at this point in the history
# Conflicts:
#	version.py
  • Loading branch information
ntarabrina committed Jan 26, 2023
2 parents 9cbcc0d + 09f4cba commit 56ce505
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 7 additions & 5 deletions urpc/builder/debugger/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,17 @@ def build_cmake_lists(self) -> str:
else()
# Detect QT version
find_package(Qt4 QUIET)
find_package(Qt5Widgets QUIET)
if(${{Qt4_FOUND}})
message("Qt4 will be used")
set (USE_QT5 FALSE)
elseif(${{Qt5Widgets_FOUND}})
message("Qt5 will be used")
set (USE_QT5 TRUE)
else()
message(FATAL_ERROR "No Qt4/Qt5 found")
find_package(Qt5Widgets QUIET)
if(${{Qt5Widgets_FOUND}})
message("Qt5 will be used")
set (USE_QT5 TRUE)
else()
message(FATAL_ERROR "No Qt4/Qt5 found")
endif()
endif()
endif()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
#include "niietcm4_rcc.h"
#include "tty.h"

// FreeRTOS files
#include "FreeRTOS.h"
#include "task.h"

#ifdef DEBUG
#include <stdio.h> // For printf(...)

#define LIFEBUOY_PORT NT_GPIOF
#define LIFEBUOY_PIN GPIO_Pin_7

// FreeRTOS files
#include "FreeRTOS.h"
#include "task.h"

static inline void Lifebuoy(void);
#endif // DEBUG

Expand Down

0 comments on commit 56ce505

Please sign in to comment.