Skip to content

Commit

Permalink
Add TargetCapabilities
Browse files Browse the repository at this point in the history
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
  • Loading branch information
josesimoes committed Feb 7, 2020
1 parent e96f3e5 commit 396bf9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions targets/CMSIS-OS/ChibiOS/MXCHIP_AZ3166/target_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <nanoHAL_v2.h>
#include "target_board.h"
#include "target_common.h"
#include <platform_target_capabilities.h>

HAL_SYSTEM_CONFIG HalSystemConfig =
{
Expand All @@ -22,3 +23,9 @@ HAL_SYSTEM_CONFIG HalSystemConfig =
};

HAL_TARGET_CONFIGURATION g_TargetConfiguration;

// this target use DFU for updates
uint32_t GetTargetCapabilities()
{
return TargetCapabilities_DfuUpdate;
};

0 comments on commit 396bf9e

Please sign in to comment.