11 changed files with 1963 additions and 138 deletions
-
2.clang-format
-
3.vscode/settings.json
-
9app/MDK-ARM/EventRecorderStub.scvd
-
39app/MDK-ARM/JLinkSettings.ini
-
1885app/MDK-ARM/app.uvguix.h_zha
-
50app/MDK-ARM/app.uvoptx
-
2app/MDK-ARM/app.uvprojx
-
96app/MDK-ARM/startup_stm32f407xx.lst
-
2dep/libiflytop_micro
-
4src/port.h
-
9src/umain.c
@ -0,0 +1,9 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
|
|||
<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd"> |
|||
|
|||
<component name="EventRecorderStub" version="1.0.0"/> <!--name and version of the component--> |
|||
<events> |
|||
</events> |
|||
|
|||
</component_viewer> |
@ -0,0 +1,39 @@ |
|||
[BREAKPOINTS] |
|||
ForceImpTypeAny = 0 |
|||
ShowInfoWin = 1 |
|||
EnableFlashBP = 2 |
|||
BPDuringExecution = 0 |
|||
[CFI] |
|||
CFISize = 0x00 |
|||
CFIAddr = 0x00 |
|||
[CPU] |
|||
MonModeVTableAddr = 0xFFFFFFFF |
|||
MonModeDebug = 0 |
|||
MaxNumAPs = 0 |
|||
LowPowerHandlingMode = 0 |
|||
OverrideMemMap = 0 |
|||
AllowSimulation = 1 |
|||
ScriptFile="" |
|||
[FLASH] |
|||
CacheExcludeSize = 0x00 |
|||
CacheExcludeAddr = 0x00 |
|||
MinNumBytesFlashDL = 0 |
|||
SkipProgOnCRCMatch = 1 |
|||
VerifyDownload = 1 |
|||
AllowCaching = 1 |
|||
EnableFlashDL = 2 |
|||
Override = 0 |
|||
Device="ARM7" |
|||
[GENERAL] |
|||
WorkRAMSize = 0x00 |
|||
WorkRAMAddr = 0x00 |
|||
RAMUsageLimit = 0x00 |
|||
[SWO] |
|||
SWOLogFile="" |
|||
[MEM] |
|||
RdOverrideOrMask = 0x00 |
|||
RdOverrideAndMask = 0xFFFFFFFF |
|||
RdOverrideAddr = 0xFFFFFFFF |
|||
WrOverrideOrMask = 0x00 |
|||
WrOverrideAndMask = 0xFFFFFFFF |
|||
WrOverrideAddr = 0xFFFFFFFF |
1885
app/MDK-ARM/app.uvguix.h_zha
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1 +1 @@ |
|||
Subproject commit c1e8178179fee28fe320025f09ecd0b81a19d4d3 |
|||
Subproject commit 5ec980e5bf5fe73bfdd7c5d7f1072ceeeb8982b0 |
@ -0,0 +1,4 @@ |
|||
#include <stdint.h> |
|||
#include <stdio.h> |
|||
|
|||
void port_do_debug_light_state(); |
@ -1,10 +1,17 @@ |
|||
#include <stdbool.h> |
|||
#include <stdio.h> |
|||
|
|||
#include "libiflytop_micro\stm32\basic\basic.h" |
|||
#include "port.h" |
|||
#include "project_board.h" |
|||
|
|||
#define TAG "UMAIN" |
|||
#define TAG "main" |
|||
int umain(int argc, char const *argv[]) { |
|||
sys_loggger_enable(true); |
|||
|
|||
ZLOGI(TAG, "VERSION:%s", VERSION); |
|||
while (true) { |
|||
port_do_debug_light_state(); |
|||
} |
|||
return 0; |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue