首页 > 其他分享 >2020-12-17-xtx的日常开发日记

2020-12-17-xtx的日常开发日记

时间:2023-09-17 19:24:53浏览次数:42  
标签:12 LED 17 .. startup elf xtx XX CMakeFiles

layout: post
title: xtx第15周日常开发日记
categories: 日志
tags: 
    - 日志 
    - 2020日志
BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@bebc52fb1b67a08f8db0026051b9716a88a37900/asset/%E6%97%A5%E5%BF%97/75065066_p0.jpg'
jekyll-theme-WuK:
    musicid: '439138110'

xtx第15周日常开发日记

12.18

记一下java的vm启动参数

-Dfile.encoding=UTF-8
-Xmx3G
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5010

硬核参数

-Dfile.encoding=UTF-8
-d64
-XX:+AggressiveOpts
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:+CMSConcurrentMTEnabled
-XX:ParallelGCThreads=8
-Dsun.rmi.dgc.server.gcInterval=3600000
-XX:+UnlockExperimentalVMOptions
-XX:+ExplicitGCInvokesConcurrent
-XX:MaxGCPauseMillis=50
-XX:+AlwaysPreTouch
-XX:+UseStringDeduplication
-Dfml.ignorePatchDiscrepancies=true
-Dfml.ignoreInvalidMinecraftCertificates=true
-XX:-OmitStackTraceInFastThrow
-XX:+OptimizeStringConcat
-XX:+UseAdaptiveGCBoundary
-XX:NewRatio=3
-Dfml.readTimeout=90
-XX:+UseFastAccessorMethods

当然idea也要改文件编码

12.19

不要把.idea 文件发到github,否则协作者会出问题

如果传了要手动去网上删或者先在本地删了然后提交到github

instanceof 是 Java 的一个二元操作符,类似于 ==,>,< 等操作符。

instanceof 是 Java 的保留关键字。它的作用是测试它左边的对象是否是它右边的类的实例,返回Boolen

Object testObject = new ArrayList();
if(testobject instanceof ArrayList) //true

12.20

查看包路径的方法

image-20201220004035393

在调试器里的f标记的变量是final的意思

要在调试的变量调试器里看看是个什么类型变量,在右键的

改完就可以了

image-20201220014441913

也第一次验证了重新加载类变更的功能

在输出字符串有点用,引用的字符串也可以

但是注意重载需要时间,而且在调试选项里

2021.1.28

c:/progra~2/gnuarm~1/102020~1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: CMakeFiles/LED.elf.dir/Core/Src/sysmem.c.obj: in function `_sbrk':
D:\stm\LED\Core\Src/sysmem.c:55: multiple definition of `_sbrk'; CMakeFiles/LED.elf.dir/Core/Src/syscalls.c.obj:D:\stm\LED\Core\Src/syscalls.c:118: first defined here
c:/progra~2/gnuarm~1/102020~1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: CMakeFiles/LED.elf.dir/startup/startup_stm32f103xb.s.obj:(.isr_vector+0x0): multiple definition of `g_pfnVectors'; CMakeFiles/LED.elf.dir/Core/Startup/startup_stm32f103c8tx.s.obj:(.isr_vector+0x0): first defined here
c:/progra~2/gnuarm~1/102020~1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: CMakeFiles/LED.elf.dir/startup/startup_stm32f103xb.s.obj: in function `Default_Handler':
D:\stm\LED\startup/startup_stm32f103xb.s:112: multiple definition of `Default_Handler'; CMakeFiles/LED.elf.dir/Core/Startup/startup_stm32f103c8tx.s.obj:D:\stm\LED\Core\Startup/startup_stm32f103c8tx.s:112: first defined here
Memory region         Used Size  Region Size  %age Used
             RAM:        2656 B        20 KB     12.97%
           FLASH:        5068 B        64 KB      7.73%
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[3]: *** [CMakeFiles\LED.elf.dir\build.make:402: LED.elf] Error 1
mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:95: CMakeFiles/LED.elf.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:102: CMakeFiles/LED.elf.dir/rule] Error 2
mingw32-make.exe: *** [Makefile:137: LED.elf] Error 2

标签:12,LED,17,..,startup,elf,xtx,XX,CMakeFiles
From: https://www.cnblogs.com/xutongxin/p/17709533.html

相关文章

  • 2020-12-17-xtx第15周工程开发日志
    layout:posttitle:xtx第15周工程开发日志categories:日志tags:-日志-2020日志BGImage:'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed/master/img0/20201220234325.png'jekyll-theme-WuK:musicid:'744590'xtx......
  • 2020-12-17-mc模组开发笔记
    idea乱码在help里进VM参数设置https://www.huaweicloud.com/articles/9096546b90dc8c52d52138d01875b8ed.html->与Lambda表达式tileEntityType->https://www.runoob.com/java/java8-lambda-expressions.html简单说就是return后面一坨给前面,后面一坨可以是函数表达式方块......
  • 2020-12-10-xtx第14周开发日志
    layout:posttitle:xtx第14周开发日志categories:日志tags:-日志-2020日志BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@bebc52fb1b67a08f8db0026051b9716a88a37900/asset/%E6%97%A5%E5%BF%97/75065066_p0.jpg'jekyll-theme-Wu......
  • 2020-12-1-xtx第13周开发日记
    layout:posttitle:xtx第13周开发日志categories:日志tags:-日志-2020日志BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@d65706f589a6ace903309ed982a3058a2b3251e3/asset/%E6%97%A5%E5%BF%97/20201211144323.png'jekyll-theme......
  • 2020-12-1-myy13周日志
    layout:posttitle:myy通讯录日志categories:日志tags:-日志-2020日志jekyll-theme-WuK:background_music:'<iframeframeborder="no"border="0"marginwidth="0"marginheight="0"width=100%height=86sr......
  • 2020-11-27-myy12周日志
    layout:posttitle:myy通讯录日志categories:日志tags:-日志-2020日志jekyll-theme-WuK:background_music:'<iframeframeborder="no"border="0"marginwidth="0"marginheight="0"width=100%height=86sr......
  • 2020-11-23-第12周开发日记
    layout:posttitle:xtx第12周开发日志categories:日志tags:-日志-2020日志BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@a09d6cce1e133e1819736340f4016f10a0226969/asset/background/75006825_p0.jpg'jekyll-theme-WuK:m......
  • 开学测试修改(9.17)
    packagehomework;publicclassWarehouseInformation{privateStringitemno;privateStringitemname;privateStringsuppliername;privateStringwarehousingtime;privateStringshipmenttime;privateStringwarehousenumber;privateStr......
  • 20211312徐元琦学习笔记2
    第9章I/O库函数——教材知识点归纳9.1~9.2系统调用和I/O库函数系统调用:操作系统中,进程以两种不同的方式运行:内核模式(Kmode)和用户模式(Umode)。Umode权限有限,特殊权限的操作需要在Kmode下进行。系统调用(SystemCall)机制允许进程进入Kmode,执行更高权限的操作。系统调用和I/O......
  • CSP 20123 入门组第一轮
    2023CCF非专业级别软件能力认证第一轮,(CSP-J1)入门级C++语言试题考生注意事项:●试题纸共有10页。答题纸共有2页,满分100分。请在答题纸上作答,写在试题纸上的一律无效。●不得使用任何电子设备(如计算器、手机、电子网费等)或查阅任何书籍资料。一、单项选择题(共15题,每......