Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Erik Moqvist
    @eerimoq
    I'm just guessing of how to use the pwm module
    I've never used it myself
    Fenix22
    @Fenix22
    ahaha
    i also tried this solution
    in the past
    it work if i do
    pwm_init(20, duty0, 1, io_info);
    duty0 = {0}
    Erik Moqvist
    @eerimoq
    ahh true that will make the signal low
    Fenix22
    @Fenix22
    I thought it was illegal
    u.u
    when update the rtos library?
    now there is 1.5 version
    and it support a function called pwm_start
    that theorically must be called on pwm's setting modification
    Erik Moqvist
    @eerimoq
    Whenever I have time for it or if someone else does it in a pull request =)
    Fenix22
    @Fenix22
    ahahaa sorry me
    Erik Moqvist
    @eerimoq
    :P
    Fenix22
    @Fenix22
    it's difficult?
    Erik Moqvist
    @eerimoq
    It's not planned atm
    well, depends on what has been changed since the version that is used now
    Fenix22
    @Fenix22
    eheh clear..
    Erik Moqvist
    @eerimoq
    Also, I had to make a very ugly hack
    Fenix22
    @Fenix22
    ??
    ah ok
    Erik Moqvist
    @eerimoq
    There were two tasks in the SDK with very small stack
    One of my interrupt handlers overflowed these tasks stack, and the program crashed
    the source code for those tasks are not open, so I cannot change the stack size easily
    Fenix22
    @Fenix22
    memory problem of coding problem?
    ah okok
    If you test all possibility?
    8000
    Erik Moqvist
    @eerimoq
    so I manually desassembled the object code and modified a few bytes to increase the stack =)
    Fenix22
    @Fenix22
    7000
    ecc...
    oh god..
    you are crazy..
    Erik Moqvist
    @eerimoq
    =)
    so, it might be a little tricky to include the new version
    Fenix22
    @Fenix22
    I thought it was your code (the size of stack)
    Erik Moqvist
    @eerimoq
    nono
    the problem was is espressif object code
    or well, I could reduce the interrupt stack usage, but that was hard
    Fenix22
    @Fenix22
    eh...
    Erik Moqvist
    @eerimoq
    I don't like this hack, and hopefully it's not needed with new ESP SDK release
    Fenix22
    @Fenix22
    anyway i think that my logic8 is not calibrated or something similar
    Erik Moqvist
    @eerimoq
    When including the new SDK it should be as a submodule instead part of the simba repository
    ??
    Fenix22
    @Fenix22
    The SDK contains the FreeRtos you say, right?
    Simba not for default