GithubHelp home page GithubHelp logo

Comments (9)

armink avatar armink commented on June 18, 2024

如果你写 flash 时候中断是开的,肯定有这个可能

from easyflash.

heluozhijian avatar heluozhijian commented on June 18, 2024

嗯,实际应用的时候一般都有中断,这里的信号量估计得用开关中断,或者进入临界区来保护

from easyflash.

armink avatar armink commented on June 18, 2024

为什么呢?你要在中断里使用 EasyFlash ?

from easyflash.

heluozhijian avatar heluozhijian commented on June 18, 2024

那倒不是,我的意思在普通的任务中使用EasyFlash,那么EasyFlash在写入数据的时候,会不会被串口接收中断、脉冲捕获中断之类的干扰了?不是在中断服务函数里使用EasyFlash。

from easyflash.

heluozhijian avatar heluozhijian commented on June 18, 2024

lock和unlock之间的代码会被别的中断打断吗

from easyflash.

armink avatar armink commented on June 18, 2024

lock 目的就是为了锁住上下文,如果你中断中不使用 EasyFlash 那就没事的

from easyflash.

heluozhijian avatar heluozhijian commented on June 18, 2024

好的,谢谢你的回复和工作成果。准备在GD32+FreeRTOS项目中使用EasyFlash。

from easyflash.

armink avatar armink commented on June 18, 2024

可以试试 RT-Thread + EasyFlash ,有现成的 demo https://github.com/armink/EasyFlash/tree/master/demo/env/stm32f4xx,还有软件包: https://packages.rt-thread.org/detail.html?package=EasyFlash

from easyflash.

heluozhijian avatar heluozhijian commented on June 18, 2024

好的

from easyflash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.