Daniel Agar
01b3e6fd25
NuttX upgrade cmake wrapper ( #7873 )
...
* NuttX cmake
* px4_macros:Pass the stringified predicate as second arg to static assert
CC_ASSERT mapes to the c++ static_assert or provides the same
funtionality for c via the other macros. The c++ static assert
takes 2 argumants the prdicate and a message. This fixes the
lacking second argument.
* Updated nuttx and apps submodule to upstream nuttx 7.21+==master
This is the latest uptake of upstream nuttx and apps.
* ROMFS generate with xxd instead of objcopy
* delete nuttx-patches
* NuttX update submodules to latest px4_nuttx-master
* fix nuttx apps and board dependency
* docker_run update to latest container 2017-08-29
* cmake ROMFS portable sed usage
* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
04a61d47cb
aerofc-v1 nsh:Optimize memset for speed
2017-09-29 10:13:51 -04:00
David Sidrane
8a8448ee82
aerofc-v1:nsh Refresh config
2017-09-29 10:13:51 -04:00
David Sidrane
a7269fb5a3
aerofc-v1:Schedule work queue with higher priority as on master
...
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane
e3c57ea656
aerofc-v1 nsh: Upstream NuttX removed setenv.sh
2017-09-29 10:13:51 -04:00
David Sidrane
076a8713f8
aerofc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
ad4ec948a2
aerofc-v1 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
2017-09-29 10:13:51 -04:00
David Sidrane
5f3c31e6c5
aerofc-v1 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
2017-09-29 10:13:51 -04:00
David Sidrane
74cb3d6a66
aerofc-v1 nsh Refreshed nuttx config for 7.19+
2017-09-29 10:13:51 -04:00
David Sidrane
2cbd411a53
nuttx-configs:Removed errant comments referencing px4fmu-v1
2017-09-10 13:37:23 -04:00
Beat Küng
83643a719a
nuttx config: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
This is needed when logger is logging to file and ulog streaming gets
activated.
2017-08-16 16:46:56 +02:00
José Roberto de Souza
18626661b6
aerofc: Enable I2C bus 2
...
Now that UART3 is no longer in use we can use this I2C bus.
2017-08-02 11:49:10 +02:00
José Roberto de Souza
79b84a08f5
nuttx-configs: aerofc: Remove GPIO_I2C*_S**_GPIO
...
Nothing use this define right now so lets remove it.
Several other boards also have this defines that can also
be removed.
2017-08-02 11:49:10 +02:00
José Roberto de Souza
ce180af4ca
aerofc: Move GPS to UART7
...
The UART3 also have the I2C bus 2 functions so moving GPS to UART7 to
have one additional I2C.
To keep GPS working is also necessary update the FPGA RTL to version
0xC1 or higher.
2017-08-02 11:49:10 +02:00
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
2017-07-07 17:06:48 +02:00
Lucas De Marchi
260b8ea940
aerofc: remove USB
...
There's no USB, don't bring it in.
2017-04-06 12:18:30 +02:00
Lucas De Marchi
5744a0bcec
aerofc: update NuttX config
2017-04-06 12:18:30 +02:00
José Roberto de Souza
f61b830ae9
nuttx-configs: aerofc: Enable CONFIG_STM32_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW
...
Now AeroFC is making use of both flash memory banks so it need this
workaround.
2017-03-11 10:30:04 +01:00
Beat Küng
3cdec49a09
aerofc-v1 NuttX defconfig: lower CONFIG_DEV_PIPE_SIZE to 70
...
This saves almost 2kb of RAM when using the mavlink shell. 70 matches the
size of the mavlink message. Since the pipe is blocking, a process writing
a lot of data will just wait, data will not be dropped.
The mavlink shell is the only process creating a pipe.
2017-03-10 11:29:09 +01:00
Beat Küng
1d93b1bce3
nuttx configs: increase CONFIG_NFILE_DESCRIPTORS from 51 to 53
...
this is needed due to the additional topics logged with the logger
2017-03-04 22:47:54 +08:00
David Sidrane
2fe0f76e27
aerofc-v1 Increased IRQ Stack Size
2017-01-27 15:01:52 +01:00
David Sidrane
a89a51cb9b
aerofc-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
José Roberto de Souza
523688e43c
aerofc: Reboot after crash
2017-01-24 00:06:12 +01:00
David Sidrane
4320492377
Add the ability to use probes
2017-01-23 22:10:38 +01:00
David Sidrane
127a639cd6
Updated to upstream NuttX config
2017-01-23 22:10:38 +01:00
José Roberto de Souza
4142f1c9d5
aerofc: Disable BBSRAM and SAVE_CRASHDUMP support
...
This board don't have a SDCard to save crash dumps and it was causing
the board to get stuck into '[boot] There were %d reboots with Hard
fault that were not committed to disk - System halted', until user
connect to the serial console and clear the fault.
2017-01-23 22:10:38 +01:00
José Roberto de Souza
6bcf9266dc
aerofc: Correctly enable UART driver for UART5(Telemetry port)
...
UART4 and UART5 are not USART instances.
2017-01-20 08:49:17 +01:00
David Sidrane
a2adf94d13
Changes to aerofc-v1 for upstream Nuttx and hardfault logging
2016-12-21 08:34:21 +01:00
Lucas De Marchi
03be988ebe
aerofc: fix defining PX4FMU_V4 macro
...
We were defining both macros. Fix it by using changing to AEROFC_V1.
Also remove a leftover from board rename.
2016-12-20 08:51:14 +01:00
Lucas De Marchi
eaa2cf7d99
aerofc: fix LED names
...
There are no blue/red LEDs and these names just causes confusion with
the "always-on LEDs".
2016-12-20 08:51:14 +01:00
José Roberto de Souza
8fb15f1de8
aerofc: Enable I2C1 for external compass
...
For now it is only checking if there is a external HMC5883, if
necessary more compass should be added and probe.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
6af31a109f
aerofc: start mavlink on ttyS4
2016-11-28 09:21:12 +01:00
Lucas De Marchi
3b3d4f385c
aerofc: fix UART port assignments
2016-11-28 09:21:12 +01:00
José Roberto de Souza
effdb37a2b
aerofc: Fix UARTs configuration
...
Correct set pin mux and removed unused interfaces.
2016-11-28 09:21:12 +01:00
José Roberto de Souza
ef7c3b2174
aerofc: Fix SPI configuration
...
SPI bus 1 is the bus connected to MPU6500, so remove SPI bus 3 and 4.
Also remove everything else related to SPI that this board doesn't have.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
cf07fa3a1c
aerofc: streamline nuttx configuration
...
Remove what's not used like SPI and UART ports, ADC, etc. Add UART5 and
I2C1 that are going to be used.
This also received contribution from
José Roberto de Souza <jose.souza@intel.com>.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
0cd7984b7f
Rename asc board to aerofc
2016-11-28 09:21:12 +01:00