- 博客(33)
- 收藏
- 关注
原创 [Keil] Error: L6218E: Undefined symbol __aeabi_assert (referred from refered from xxx.o)
添加 compiler->i/o->STDERR解决。
2025-03-21 14:51:29
184
原创 SEGGER_RTT_Conf.h(279): warning: #47-D: incompatible redefinition of macro “SEGGER_RTT_LOCK“
参考大神的文章()解决问题。
2025-01-23 09:45:52
170
原创 Keil编译程序部分缺失,导致程序部分运行不到
经过测试后,发现只要把ARM compiler 从Use default compiler version6 改成Use default compiler version6 就能解决问题。在使用Keil中,程序编译运行到876行,就跳出,不能运行到877行。但是这可能不是根本的原因。
2024-12-25 11:07:28
206
原创 Keil中,调试cortex ARM程序LDR R0, =SystemInit 卡住错误。
卡在LDR R0, =SystemInit中循环,不能跳到main函数中。经常是使用printf函数,没有调用microlLIB库。勾选use microLIB库,重新编译工作正常。
2024-12-03 13:23:30
560
2
原创 SEGGER_RTT_Conf.h(279): warning: #47-D: incompatible redefinition of macro “SEGGER_RTT_LOCK“
使用Keil 5 编译程序Seger_RTT.c和Seger_RTT_syscalls_GCC.c 出现src\seger_rtt\SEGGER_RTT_Conf.h(279): warning: #47-D: incompatible redefinition of macro "SEGGER_RTT_LOCK" (declared at line 199) 错误。解决办法:把compiler 版本Use default compiler 5 改成Use default complier 6.
2024-11-25 13:43:44
343
原创 core_cm4.h(1250): function ‘NVIC_SystemReset‘ could be declared with attribute ‘noreturn‘ [-Wmissing
把编译器的版本,从 ARM compiler :Use default compiler version 6 降低 Use default compiler version 5 问题解决。可能的原因是:以前写的core_cm4文件,在新的编译器中不兼容。使用Keil 5 编译Atmel sam4s16c 发现出现问题:NVIC_SystemReset' could be declared with attribute 'noreturn'。
2024-11-25 13:38:38
375
原创 <sam4s.h>‘; specified path differs in case from file name on disk [-Wnonportable-include-path]
使用Keil 5版本,程序出现:system_SAM4S.c(26): warning: non-portable path to file '<sam4s.h>';specified path differs in case from file name on disk [-Wnonportable-include-path]错误。解决办法:把User default complier 6 改成 User default compiler 5 解决。
2024-11-25 13:31:35
222
原创 头文件的定义和作用
会包含多个源码文件(.c),当某些公共资源需要在各个源码文件中使用时,为了避免多次编写相同的代码,一般的做法是将这些大家都需要用到的公共资源放入头文件(.h)当中,然后在各个源码文件中直接包含即可。
2024-11-20 09:33:01
389
原创 Keil编译出现core_cmInstr.h(280): error: unknown type name ‘inline 问题
使用keil编译器编译中出现./src/board_define/sam4s/CMSIS/Include\core_cmInstr.h(280): error: unknown type name 'inline' 问题。是C99标准引入的新关键字,用于声明内联函数。如果编译器不支持C99或更新的标准,它将无法识别这个关键字,从而抛出错误。Keil编译器默认的设置是:C90。所以需要更改为C99。
2024-11-18 09:56:47
696
原创 <3>WSL (10) ERROR: CreateProcessParseCommon:763: Failed to translate D:\1Work\xJL\xxxx
在网上遨游学习,发现是因为安装了docker。wsl默认设置 docker-desktop-data。在win10上,学习使用开源实时物联网操作系统RT-thread中,出现。使用 wsl --setdefault docker-desktop 问题解决!
2024-10-30 15:41:08
1375
原创 Microsoft office2016 中 PPT 如何将图文拆分、合并形状、组合?
Microsoft office2016 中 PPT 如何将图文拆分、合并形状、组合?
2024-07-30 15:41:35
344
原创 Keil 移植freeRtos 过程中 freeRtos\portable\GCC\ARM_CM3\portmacro.h(137): error: #18: expected a “)“ 错误解决
在使用Keil 移植freeRtos过程中,出现.\src\freeRtos\portable\GCC\ARM_CM3\portmacro.h(137): error: #18: expected a ")"__asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );->改成 use default compliler version 6 解决。经过反复排查发现原因是选择ARM编译器版本错误。
2024-07-27 21:46:16
490
原创 C语言预处理#define 和## 运算符
参考大神文章学习:C语言学习笔记(19)程序环境和预处理_#define 程序根据不同环境定义-优快云博客C语言预处理#define 和## 运算符_#define objdefine() objtype obj-优快云博客
2024-06-24 17:28:47
178
原创 学习笔记参考
2.【C语言 | 预处理】C语言预处理详解(一) —— #define、#under、#if、#else、#elif、#endif、#include、#error:
2024-05-16 10:48:59
233
原创 Vant3更新Vant4中,Toast API也必须变更。否则将不能正确显示
Vant3更新到Vant4中,Dialog API也进行了调整使用了驼峰命名方式。同样Toast方式也进行了调整。
2024-04-16 11:16:28
446
1
原创 node + express后端 + mysql数据库,postman put模式 404 Not Found错误 解决
使用传送参数:req.body。必须和前端postman发送的请求。2.userApi.js 文件。4.server.js 文件。5.sqlMap.js文件。1.后端文件组织架构。注意:router.
2024-04-06 20:46:17
339
1
原创 学习Vant中,van-dialog不能弹窗问题解决。
van-dialog v-model:show="addressShow" title="添加地址" show-cancel-button>在学习前端Vue中,使用van-dialog发现不能弹窗,源代码如下。title="添加地址" show-cancel-button>虽然在VS编辑器上有红色错误提示。一点点debug发现,问题出在。如全局注册,依然不起作用。参考网上大神的解决方案,
2024-04-06 11:46:40
2002
1
原创 Vue3 Cannot read properties of undefined (reading ‘goodsPicture‘)
学习Vue,遇到Cannot read properties of undefined (reading 'goodsPicture')。经过一步步调试,发现<van-cell v-for="item in list" :key="item" :title="item"显示是<img :src="require('../assets/image/goods/'+item.<h3>商品名:{{ item.goodsName }}</h3>下面是goodsList.vue代码。
2024-03-09 21:27:34
366
1
原创 Vue前端+Vue后端(postman测试)+mysql数据库
参考大神生成shopping项目。安装后:2.Vue3前端Toast主要的原因是vant从3版本更新到4版本。调用代码差异导致。博文所以把更改引用1: import { showToast,closeToast } from 'vant';2 把引用方法给成 showToast,closeToast 成功!
2024-03-08 20:44:11
1483
1
原创 Vue3 引入axios报错 Cannot read properties of undefined (reading ‘post‘)
【代码】Vue3 引入axios报错 Cannot read properties of undefined (reading ‘post‘)
2024-02-05 18:24:46
538
1
原创 Vue3项目启动后显示空白,控制台 vue-router.mjs:2959 Uncaught Error: Provide the “history“ option when calling 错误
上述代码,看着都没问题啊?反复网上查找前辈跑过的坑,终于发现问题。Vue2和Vue3代码引用上的不同。初学Vue时,遇到项目启动显示空白页面。Vue2 引用使用router中。Vue3 引用使用router中。
2024-02-05 11:08:20
816
2
原创 vue3:element ui 失败。配置element-plus/lib/theme-chalk/index.css错。Cannot read properties of undefined (re
另外Vue3,已不支持Vue.use(ElementPlus)方式。使用app.use(ElementPlus)方式。否则会报报错:Cannot read properties of undefined (reading ‘use‘)
2024-02-04 20:45:17
821
2
原创 node.js安装,配置npm更改镜像源。以及Vue安装vue2过程
设置默认镜像源:使用 `npm config set registry` 命令将默认镜像源设置为 `https://registry.npmmirror.com/`。淘宝的镜像源:https://registry.npm.taobao.org,可能近期有问题,一直连不上。选择> Default ([Vue 2] babel, eslint)创建vue,安装vue2。选择>Overwrite。安装element-ui。
2024-02-04 13:36:17
1165
1
原创 学习django celery 遇到Received unregistered task of type ‘App07.tasks.hello_world‘. 错误解决过程
shared_task 也可以。celery 和 beat 启动。
2024-01-06 22:15:43
1238
2
原创 django 学习邮箱注册激活。发现127.0.0.1 发送了无效的响应 问题解决。
看到debug信息:[01/Jan/2024 09:16:15] You're accessing the development server over HTTPS, but it only supports HTTP.参考网上大神的方法,如 停止服务WorldWideWebPublishingService等等,不能解决问题。SECRET_KEY 生成token。url设置的https有问题呢?和active.html。
2024-01-01 10:00:28
661
原创 django 多文件上传 ValueError: ClearableFileInput doesn‘t support uploading multiple files. 问题解决。
在学习django框架,多个文件上传时遇到ValueError: ClearableFileInput doesn't support uploading multiple files. 代码如下:urls.pyurlpatterns = [ # path('',views.index,name='index'), # 单个文件上传 path('upload/',views.upload,name='upload'), # 多个文件上传 path('many
2023-12-31 17:35:37
1147
1
原创 django-simple-captcha 图形码验证,captcha点击不能刷新的问题解决
1.setting配置: 安装”captcha“和captcha配置。点击验证码图片,可以刷新验证码。3. 应用App路由配置。的博文终于解决问题。2. 项目路由的配置。4. views 代码。5. html 代码。
2023-12-28 11:49:10
1065
1
原创 python manage.py makemigrations ValueError: source code string cannot contain null bytes
pycharm 2023.2.5版 使用python manage.py inspectdb > App/models.py 生成。编码格式不是UTF-8而是UTF-16。所以产生如标题的错误。
2023-12-06 10:25:54
311
1
原创 pycharm 版本2023.2.5 下django框架下添加异步celery问题总结
4. 启动celery -A celery_demo worker -l info 又出现缺少tzdata,然后产生zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'1.django下celery,django-celery-result, greenlet等不同的版本会冲突。5.启动beat : celery -A celery_demo beat -l info。经过测试下面的版本ok。
2023-11-22 10:53:15
286
原创 django-simple-captcha 图形码验证,图形不能加载原因
django-simple-captcha 图形码验证,图形不能加载原因
2023-11-07 20:08:14
496
原创 django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
在使用pycharm termianl:python manage.py startapp App01 时,产生django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.错误。解决办法:在项目目录day02下的__init__.py中,添加。
2023-10-13 14:02:56
447
原创 虚拟机Vmware 安装openEuler-22.03-LTS版本显示分辨率设置1980x1080方法
我的虚拟机Vmware workstation 16pro 安装openEuler-22.03-LTS版本 但是集成分表率的列表中没有显示分辨率1980x1080。在网上也参考了一些大神们的方法。
2023-09-20 09:55:08
1436
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人