|
From: | Gerard Toonstra |
Subject: | Re: [Paparazzi-devel] lisa m and ppm input |
Date: | Fri, 5 Oct 2012 10:48:16 -0300 |
Hi Gerard,thanks a lot!In master we completely switched from the proprietary/restricted lib from STM to libopencm3, it's organized a bit differently there..I integrated it into the v4.1 preparation branch (see other email).Also it would be appreciated if you make pull requests for the main paparazzi repository (unless it is something specific for TU Delft only).Cheers, FelixOn Fri, Oct 5, 2012 at 9:19 AM, Gerard Toonstra <address@hidden> wrote:
I've put together some code with the improvements that you suggested. I made it such that it's configurable in the airframe file on either
servo pin 6 or uart1.
I'm also pretty new to git, so hope I did this correctly. A pull request was made to tudelft4.0, where I get my changes from. However, I noticed
in master that the vector table is no longer there.
Rgds,
G>On Fri, Oct 5, 2012 at 2:53 AM, Cédric Marzer (MRSA) <address@hidden> wrote:
Well I think it won’t be necessary. I tried Esden’s commit to use uart1 rx pin and it seems to work very well.
https://github.com/psinha/paparazzi/commit/8b00c2d498d62c43e706705d745bf64825efc134
I would suggest that it should be modified on the next stable release but I am no git expert...so it might be better if someone else makes what is necessary.
Cédric
De : paparazzi-devel-bounces+cedric.marzer=address@hidden [mailto:paparazzi-devel-bounces+cedric.marzer=address@hidden] De la part de Sergey Krukowski
Envoyé : jeudi 4 octobre 2012 16:20
If you would be satisfied with a PPM input on a JTAG connector, you can replace the following strings:
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1;
GPIO_Init(GPIOA, &GPIO_InitStructure);
by the following strings:
GPIO_PinRemapConfig(GPIO_PartialRemap1_TIM2, ENABLE);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3;
GPIO_Init(GPIOB, &GPIO_InitStructure);
in ppm_arch_init function in ppm_arch.c file. Then you will have the ppm input on JTAG_TDO pin.
Regards,
Sergey
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |