Search found 30 matches

by miki
Sun Feb 26, 2017 3:33 pm
Forum: Cores
Topic: List of cores currently available
Replies: 47
Views: 5726

Re: List of cores currently available

I couldn't agree more. I like use the same very easy set up environment for compiling in few clicks with Arduino IDE. I recently tried to do some hacks in betaflight code and try to setup eclipse to build it in windows. OMG sometimes I felt like shooting myself in the head so many settings tweaks ,a...
by miki
Thu Feb 09, 2017 12:11 pm
Forum: Code snipplets
Topic: USART(Serial) interrupt
Replies: 15
Views: 2417

Re: USART(Serial) interrupt

In the end I commented original usart2 and 3 functions in usart_f1.c ,and used my own serial interrupt handlers in main program. Now they are included in multiprotocol.And working excellent. If you want to see more ,is here. The serial handlers are in multiprotocol.ino/telemetry.ino https://github.c...
by miki
Tue Dec 13, 2016 9:34 am
Forum: Code snipplets
Topic: Ext interrupt pulse measurement
Replies: 12
Views: 612

Re: Ext interrupt pulse measurement

I made a similar code for a PPM signal decoder with 0.5us resolution .It works like a charm.
by miki
Tue Aug 30, 2016 4:40 pm
Forum: Code snipplets
Topic: USART(Serial) interrupt
Replies: 15
Views: 2417

Re: USART(Serial) interrupt

From maple library maker 4 yers ago just in case. mbolivar "In general, IRQ handlers need C linkage. Within a C++ file, this means you either put them within an extern "C" block, or you declare them extern "C" with extern "C" void __irq_whatever(void) { ... } Withi...
by miki
Fri Jun 24, 2016 1:52 pm
Forum: General discussion
Topic: Arduino(libmaple) on 16 Mhz
Replies: 2
Views: 186

Re: Arduino(libmaple) on 16 Mhz

No problem Ray as long as you point me in the right direction.
Thanks!.
by miki
Fri Jun 24, 2016 12:13 pm
Forum: General discussion
Topic: Arduino(libmaple) on 16 Mhz
Replies: 2
Views: 186

Arduino(libmaple) on 16 Mhz

I want to build a custom board with STM32F10x and I want to use 16Mhz X-tal in place of 8Mhz(I don't have one).
So what I need to change(code) in order to make work in arduino with libmaple?
by miki
Sat Jun 04, 2016 12:56 am
Forum: Code snipplets
Topic: USART(Serial) interrupt
Replies: 15
Views: 2417

Re: USART(Serial) interrupt

Thanks!
for your effort.
I solved the problem It was so simple.
And it think the some modification can be made permanent in maple core for all versions.
Now I can play whatever I want in my sketch.I already test it and working ok.
by miki
Fri Jun 03, 2016 8:04 pm
Forum: Code snipplets
Topic: USART(Serial) interrupt
Replies: 15
Views: 2417

Re: USART(Serial) interrupt

I tries to use maple own handler . declaring extern in usartf1.c file ,....and calling it in my sketch but I received error "expected identifier or '(' before string constant extern "c" void. ...." extern "C" void __irq_usart3(void); I tried also to move the same line i...
by miki
Thu Jun 02, 2016 9:04 pm
Forum: Code snipplets
Topic: USART(Serial) interrupt
Replies: 15
Views: 2417

Re: USART(Serial) interrupt

Respectfully, I need to insert something similar on my sketch.I need my handle override default handler from maple. uint16_t x; uint16_t index; #define BUFFER_SIZE void USART_3 interrupt handler() {//????? if((USART3_BASE->SR &0x0F)==0) // Check overrun, noise error,framing ,parity error { if(in...
by miki
Thu Jun 02, 2016 7:53 pm
Forum: Code snipplets
Topic: USART(Serial) interrupt
Replies: 15
Views: 2417

Re: USART(Serial) interrupt

I want to bypass maple handler and use mine inside the arduino sketch to have better control and more checks I don'T know how to proceed.I can replace __irq_usart3() in usart_f1.c but it seems too complicated and too personalized with declaring specific variables used only inside my sketch.I need to...

Go to advanced search