Show newer

@themactep @lupyuen
I just thought it was funny how this person is trying to opensource-shame this guy.
Perhaps there exists a pooled-order/PCB batching group like OSHPark that enables one to keep the design data proprietary. I don't have all the answers. I do know that the right answer includes: it's on the creator to decide their goals for their project. Grow huge, stay small.

Reference Manual mentions "GPIO_INT_CLR" but the address is undefined in the doc ... Methinks a chunk of addresses are missing from the doc 🤔

github.com/bouffalolab/bl_docs

Show thread

@lupyuen
Need to learn more on lora though for final decision.

Also in your example each process has separate stack while globals are in shared adress space. Interesting os. Feels similar to what i was doing for ericsson.

@PawelK Thanks :-) I'm planning to use this for IoT Education ... Teaching folks how to create a RISC-V LoRa Sensor that's battery powered...

lupyuen.github.io/articles/lor

lupyuen.github.io/articles/wis

@PawelK Yeah the code looks a bit suspicious ... Generally I would never save a pointer to a stack object. But this code has been in Apache Mynewt OS for a long time 🤔

@lupyuen
Are those two platforms using two different operating systems? Generally depends whether irq handler lives in same adress space as setup code. General guideline for portable code should be using either static data accessible from irq code or dynamically allocated data passable between two adress spaces.

Exception happened because we passed a pointer to a stack object ... Which gets used by the Interrupt Handler 😲 ... This works OK in the original Mynewt code, but not for BL602

gist.github.com/lupyuen/1539f9

Show thread

@PawelK Hi call me Lup (rhymes with "Up"), I'm just a geek in Singapore. Here's the story of my life 😉 ...

lupyuen.github.io/

I'm tied up with projects right now ... Sorry I won't be able to help you much

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.