工作资料
单核
这个作者很懒,什么都没留下…
展开
-
KH3项目通用include
#include <stdio.h>#include <kernel/include/os.h>#include <common/include/lib_def.h>#include <common/include/rtos_utils.h>#include <common/include/toolchains.h>#include <common/include/rtos_prio.h>#include "rtos_b原创 2020-10-29 20:49:06 · 106 阅读 · 0 评论 -
H1编译问题
问题描述.\Objects\W18_2_FW.axf: error: L6050U: The code size of this image (201252 bytes) exceeds the maximum allowed for this version of the linker.解决办法激活keil原创 2020-07-08 00:07:04 · 218 阅读 · 0 评论 -
crc16算法
/****************************************************************************** * Name: CRC-16/XMODEM x16+x12+x5+1 * Poly: 0x1021 * Init: 0x0000 * Refin: False * Refout: False ...原创 2020-05-02 15:34:27 · 271 阅读 · 0 评论 -
crc标准算法
#include <stdlib.h>#include <stdio.h>#include "crc.h"#if 0unsigned int GetTickCount(void){ struct timeval tv; if (gettimeofday(&tv, NULL)!=0) return 0; return...原创 2020-05-02 15:23:14 · 494 阅读 · 0 评论 -
LPC55S69代码优化
## 经过组内的讨论,和其他组同事的介绍,gcc的优化等级可以作如下修改。### IDE优化选项#### 选择O1优化编译。### 编译项#### -ffunction-sections### 连接项#### -Wl,--gc-sections## 下面是具体的编译项-D__REDLIB__ -DCPU_LPC55S69JBD100 -DCPU_LPC55S69JB...原创 2020-04-20 23:56:54 · 455 阅读 · 2 评论 -
通用LOG封装
#ifndef _LOG_H#define _LOG_H#if defined __cplusplusextern “C” {#endif#include “stm32l0xx_hal.h”#include <stdlib.h>#include <stdint.h>#include <string.h>#include “stdio.h”//...原创 2020-04-12 18:04:11 · 449 阅读 · 0 评论 -
头文件对于API的cpp声明
#if defined(__cplusplus)extern "C" {#endifvoid hello_word_unit_test();#if defined(__cplusplus)}#endif原创 2020-03-25 06:56:08 · 195 阅读 · 0 评论 -
MCUXpresso 取消自动ld
把link配置页面右上方的勾反选,可以取消自动生成ld文件,改为使用外部配置的分散加载文件原创 2020-03-21 09:18:07 · 178 阅读 · 0 评论 -
printf颜色说明
格式如下: printf("\033[字背景颜色;字体颜色m 字符串 \033[0m" );例子:printf("\033[1m\033[45;33m HELLO_WORLD \033[0m\n");颜色代码: QUOTE: 字背景颜色范围: 40–49 ...原创 2020-03-16 16:17:53 · 480 阅读 · 0 评论 -
FM17550资料
在qq百度云原创 2020-03-12 21:37:20 · 2252 阅读 · 2 评论