Lucas De Marchi
191ec10554
AP_HAL_Linux: remove unused write method
10 years ago
Gustavo Jose de Sousa
124b750c10
AP_HAL_Linux: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
John Williams
57d2fc1dd5
HAL_Linux: RCInput support for Zynq
10 years ago
Andrew Tridgell
94e14f5dcb
HAL_Linux: split off RCOutput class to be specific to PXF and ERLE
...
this fixes the Replay tool
11 years ago
Andrew Tridgell
6cc304e486
HAL_Linux: RCOutput should default to 50Hz on all boards
11 years ago
Andrew Tridgell
9d948d5a26
HAL_Linux: fixed name space collision in RCOutput
11 years ago
bugobliterator
003806fcc1
HAL_Linux: pwmpru,HAL_Linux_RCOut code doesn't wait for magic flag to send data
...
change pwmpru code to remove frequent wrong PWM outputs
Replace pru firmware with new modified pru firmware
11 years ago
bugobliterator
8cf628e780
HAL_Linux_RCoutput:Add handler to catch SIGBUS error
11 years ago
bugobliterator
25e670d0cc
HAL_LINUX_RCOutput: Change to reading hilo_read instead of periodhi
...
use uint instead of int
11 years ago
Andrew Tridgell
fc8068adfe
HAL_Linux: use board subtypes
11 years ago
bugobliterator
5bcdb039e2
HAL_Linux: Make asynchronous PRU write and reduce the size of data exchange
...
Change to sending Total Period and hi Period, rather than Hi and Lo Period
Change PRU firmware accordingly
11 years ago
Siddharth Bharat Purohit
65fef59dfa
HAL_Linux: change initial PWM values to 490Hz, 1000us
11 years ago
Siddharth Bharat Purohit
0422695e5e
HAL_Linux: Correct error inside read method in RCOutput
11 years ago
bugobliterator
63560e8122
HAL_Linux: change to directly accessing shared_mem of pru in RCOutput
11 years ago
Siddharth Bharat Purohit
9999e77a74
HAL_Linux: add close(_fd) to some functions in RCOutput
11 years ago
bugobliterator
18d7438240
HAL_Linux: increase size of sysfs_path variables inside LinuxRCOutput's methods
...
to avoid stack smashing error
11 years ago
bugobliterator
79fb10d9e8
HAL_Linux: correct AP_HAL_Linux::RCOutput::enable_ch method
...
change the mode of file open which was set as RDONLY mistakenly
11 years ago
bugobliterator
34ba77e048
HAL_Linux: Correct faulty RCOutput driver
...
solve compiler not looking ahead of RCOutput class for read and write methods
11 years ago
bugobliterator
26cd4ad237
HAL_Linux: Correct indentation
11 years ago
Siddharth Bharat Purohit
69a4b7d632
HAL_Linux: Correct Indentation issue
11 years ago
bugobliterator
a7de5e3d0f
HAL_Linux: Add initial RCOutput driver
...
The functions in RCOutput.cpp are defined to access PWM over PRU sysfs
device from userspace using open, read, write and close methods.
11 years ago
Andrew Tridgell
74ee70d463
HAL_Linux: updates for ERLE board type
11 years ago
Andrew Tridgell
87cc95dd7f
AP_HAL: removed unused enable_mask and disable_mask functions
11 years ago
Andrew Tridgell
a8946a5f31
HAL_Linux: fixed build
11 years ago
Andrew Tridgell
4ba044c441
AP_HAL_Linux: initial Linux AP_HAL
12 years ago