Daniel Agar
f8eaa6e46b
ROMFS handle bl_update generically
...
- include all available legacy bootloaders
2021-03-11 00:38:18 +01:00
Daniel Agar
233949a377
NuttX upgrade to 10.0.0+ defconfig changes
2020-10-28 14:25:25 -04:00
David Sidrane
f9adf861dc
spracing_h7extreme Updates for NuttX 9.1.0-
2020-09-16 21:32:04 -04:00
David Sidrane
8cb1fe5a54
px4_io-v2 Updates for NuttX 9.1.0-
2020-09-16 21:32:04 -04:00
Mirko Denecke
b7389119b3
px4 io firmware remove double definition of GPIO_HEATER_OFF
2020-07-23 09:41:05 -04:00
Daniel Agar
5e7d2e830d
boards: delete old board.h boilerplate
2020-06-08 19:10:33 -04:00
Daniel Agar
31fe7af454
selectively increase optimization -Os -> -O2
...
- targetted at modules/libraries that benefit without drastically
increasing flash usage
- ignored on boards with CONSTRAINED_FLASH set
2020-06-04 20:59:52 -04:00
Daniel Agar
7c7ee115e3
boards: px4_io-v2 defconfig optimizations to save memory
...
* disable CONFIG_ARMV7M_MEMCPY to save flash
* disable CONFIG_LIB_BOARDCTL
* remove unnecessary pthread and task settings
* reduce preallocated watchdogs
* reduce console buffer size
* reduce IDLE thread stack
* reduce user main stack
Co-Authored-By: David Sidrane <David.Sidrane@Nscdg.com >
2020-04-15 23:17:44 -04:00
mcsauder
6548fde024
Whitespace cleanup to quiet new blank line at EOF git hook.
2020-04-15 23:00:39 -04:00
Beat Küng
1851665fab
boards: add new spi+i2c config
...
Chip-select and SPI initialization uses the new config, whereas the drivers
still use the existing defines.
The configuration in board_config.h can be removed after all drivers are
updated.
2020-03-10 10:11:43 -04:00
Beat Küng
2b0f7e514e
io-v2: use hw description methods for timer configuration
2020-02-13 03:49:16 -08:00
Beat Küng
62b4f3487a
io timer: remove some fields from io_timers_t and split out channel indexes
...
- reduces amount of board configuration required
- removes the cyclic dependency between io_timers_t and timer_io_channels_t
Fixes a bug in the fmuk66-v3 config: the 2. timer has 3 channels associated
not 2.
Fixes a bug in the modelai config: the 2. timer has 4 channels associated.
2020-02-13 03:49:16 -08:00
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
2019-11-16 11:43:42 +01:00
David Sidrane
148215c114
px4:io-v2 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
69694ab000
px4io-v2:Resonable Def config memory - verified by inspection
2019-11-16 11:43:42 +01:00
Beat Küng
694ae56afe
px4/io-v2: update nuttx config
...
px4_io - add knob to ensure ARCH_MATH_H is kept
Upstream changes added ARCH_HAVE_MATH_H to protect from archs
without math.h from causing isses for users setting
CONFIG_ARCH_MATH_H and getting errors. PX4 provides a math.h
and we need CONFIG_ARCH_MATH_H set. So this Selects
ARCH_HAVE_MATH_H perserving CONFIG_ARCH_MATH_H a defconfig
2019-11-16 11:43:42 +01:00
Beat Küng
b30171ba8d
board_common.h: move under platforms/common
...
Also move board_determine_hw_info and board_gpio_init under platforms/nuttx
2019-10-30 11:48:47 +01:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Beat Küng
182efaa757
dshot: reduce static buffer size
...
And handle failures of up_dshot_init().
On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB.
The buffer is roughly 1KB in size.
2019-10-11 08:14:17 +02:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Daniel Agar
dc10a68539
NuttX and apps update 7.29
2019-07-10 12:58:35 -04:00
Daniel Agar
321c2c0392
boards don't use px4_add_library for drivers_board
...
- this prevents low level board support from using PX4 logging, uORB, etc
2019-07-09 19:09:47 -04:00
David Sidrane
dbd02b1e47
px4io:Detect Running on Cube and set GPIO for heater
...
Addresses #11832 - configure the mixed use GPIO
that can be the a BLue LED or a Heater as PUSH
PULL on Cube as to not let the heater input float.
2019-04-11 08:34:22 +02:00
mcsauder
e6f1a2db12
Delete trailing whitespace, extra newlines, to quiet git hooks and add an extra = so that it does not appear to git as a merge conflict marker.
2019-04-02 15:31:37 -04:00
Daniel Agar
5e6bfe1ad8
vscode updates
...
* working debugging (one click build and debug)
* SITL jmavsim
* SITL gazebo
* jlink px4_fmu-v{2-5}
* improved syntax highlighting
* GNU linker files
* ROS message files msg/*.msg
* jinja2 template files
* fixed intellisense support
2019-03-22 20:55:39 -04:00
Daniel Agar
de7df621d7
px4_io-v2 nsh compress defconfig
2019-03-21 08:41:01 -04:00
David Sidrane
2d7effa342
px4_io-v2: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
2019-01-22 14:13:20 -05:00
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
2018-11-26 14:40:14 -08:00
Daniel Agar
c258534aa5
cmake px4_add_board document and cleanup
2018-11-26 14:40:14 -08:00
Daniel Agar
fa0fe4cac6
cmake remove need for platform px4_add_board_os
...
- explicitly set TOOLCHAIN on all NuttX targets
2018-11-26 14:40:14 -08:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00