platform: restructure (NuttX) architecture-specific code

updated: tone_alarm, px4io_serial, px4_micro_hal
This commit is contained in:
Beat Küng
2019-08-30 07:59:44 +02:00
parent 2fa3ee9336
commit ab43a83bed
111 changed files with 1640 additions and 404 deletions
+2 -2
View File
@@ -39,14 +39,14 @@
#include "px4io_driver.h"
#include "px4io_serial.h"
#include <px4io_serial/arch_px4io_serial.h>
static PX4IO_serial *g_interface;
device::Device
*PX4IO_serial_interface()
{
return new PX4IO_INTERFACE_CLASS();
return new ArchPX4IOSerial();
}
PX4IO_serial::PX4IO_serial() :