Peter van der Perk
6af0477733
[Kconfig] Gnerate px4board from old cmake
...
Added make updateconfig to update all config when default's have changed
Added cmake to px4board conversion script
2021-10-07 10:09:01 -04:00
Peter van der Perk
4e4aabc03f
Update Kconfig after rebasing 03-05-21
2021-10-07 10:09:01 -04:00
Peter van der Perk
d5e3e9a7bc
[Kconfig] Decompose Kconfig, now each module has its own Kconfig
...
Which is better for versioning and decomposability
2021-10-07 10:09:01 -04:00
Peter van der Perk
4044fbd4a0
Initial Kconfig implementation in CMake
...
Used fmuk66-v3 as test case
2021-10-07 10:09:01 -04:00
Daniel Agar
03bd5e0f48
lib/led: move drivers/lights/rgbled LED_RGB_MAXBRT -> SYS_RGB_MAXBRT
2021-09-28 10:09:55 -04:00
David Sidrane
376b1c9987
rgbled_ncp5623c:Add comand line mapping of PWM to color
2021-08-20 10:15:57 -04:00
David Sidrane
8e04985940
rgbled_ncp5623c:Needs 2 retries
2021-08-20 10:15:57 -04:00
David Sidrane
74903cf215
rgbled_ncp5623c:Can change address, return actual
2021-08-20 10:15:57 -04:00
David Sidrane
cba78081af
rgbled_ncp5623c:Document support for ncp5623[c|b] parts
2021-08-20 10:15:57 -04:00
Daniel Agar
cb610caf1e
drivers: minimize additional I2C retries
2021-08-17 09:54:50 -04:00
InspiredBrandon
b2def13d6f
NCP5623c RGB LED driver I2C address auto detect
...
* Enables the LED on mRobotics GPS receivers
* Probes I2C addresses and sets colors accordingly
2021-08-02 20:36:09 -04:00
Beat Küng
e644036325
drivers: use updated I2C SPI driver interface
2021-07-08 12:59:35 -04:00
murata
c9b5e488f5
NCP5623C: Change the class name to the device name
2021-07-04 14:22:20 -04:00
Daniel Agar
3d667b1675
delete unused drivers/lights/blinkm
2021-03-28 19:21:29 -04:00
Daniel Agar
631d1647d3
boards: minimize unnecessary differences in default variants
2021-03-28 14:46:47 -04:00
David Sidrane
64531c4521
Add SK6812 Serial PWM LED Driver
2021-01-23 09:30:59 -05:00
David Sidrane
0b85039882
Add Neopixel Driver
2021-01-23 09:30:59 -05:00
Daniel Agar
967d35a6b6
rate limit most parameter_update subscriptions
...
- parameter updates can be quite expensive because they trigger nearly all modules to reload all of their parameters immediately
- limit modules from updating faster than once per second
2021-01-10 21:09:15 -05:00
Daniel Agar
5507c15bdc
boards: move rgbled_pwm startup to appropriate boards
2020-06-08 16:49:46 -04:00
Daniel Agar
d9dfedb4f1
drivers/lights: blinkm, rgbled, rgbled_ncp5624c add missing I2CSPIDriver address
...
- fixes https://github.com/PX4/Firmware/issues/14686
2020-04-17 11:54:22 -04:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Beat Küng
ec2de33547
lights: use driver base class
2020-03-17 23:31:17 -04:00
Daniel Agar
76bdeca263
rgbled_pwm: remove unnecessary CDev
2019-11-23 19:20:44 -05:00
David Sidrane
e847698c9f
PX4 System changes Supporting STM32H7
...
stm32:ToneAlarmInterfacePWM TIM15-TIM17 have a BDTR Register
common:board_crashdump Add H7 support
stm32/board_mcu_version:Support H7
PX4 ADC:Use 32 interface and resoution abstraction
Added PX4 stm32h7 ADC driver
stm32h7:adc fix ADC ready check
fmu: handle BOARD_HAS_PWM==5
cmake: improve error handling for NuttX olddefconfig failures
WorkQueueManager:Quiet loadmon stack warning
camera_trigger:GPIO support < 6 GPIO
Adjust stack sizes (under hw stack check)
PX4 System changes Supporting STM32H7 PX4IO Driver
aerotenna_ocpoc:ADC add px4_arch_adc_dn_fullcount
init.cmake:Track Upstream change needing Make.def at config time
PX4 System changes Supporting STM32H7
NuttX CMakeLists.txt Track upstream changes
Common board_crashdump add header and px4 config
NuttX simplify callinb make libapps
Use UINT32_MAX for error return
drivers:uavcannode NuttX chip is now hardware
drivers:uavcanesc NuttX chip is now hardware
px4io:Avoid Race on AP to PX4 IO upgrade
2019-11-16 11:43:42 +01:00
Daniel Agar
1c4e854f93
cmake don't build param "c" files and remove param defines
...
- these aren't actual source code
2019-11-11 10:25:42 -05: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
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
Daniel Agar
c8e59c4e39
parameter_update use uORB::Subscription consistently
2019-09-29 10:49:03 -04:00
Daniel Agar
fdefaf1ad3
lights/blinkm: move to uORB::Subscription
2019-09-28 18:34:20 -04:00
BazookaJoe1900
6ab5c2170e
remove unused pca8574 and oreoled drivers
2019-09-04 08:05:08 -07:00
bazooka joe
49c74ab021
add new parameter LIGHT_EN_BLINKM to start blinkm lights
2019-09-02 20:02:00 -04:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
3003e7d0fc
drv_led_pwm: move to arch-specific directory
2019-08-30 07:59:44 +02:00
Daniel Agar
5ae408382b
led drivers and controller move to uORB::Subscription
2019-08-20 14:03:23 -04:00
mcsauder
c1e4970841
Delete uneccessary #includes from the lights driver directory.
2019-07-08 23:45:01 -04:00
Beat Küng
08b8ee4831
replace fprintf(stderr with PX4_{INFO/WARN}
2019-06-04 11:57:54 +02:00
Daniel Agar
4dd017cd59
rgbled_pwm move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
23f7a662c6
rgbled_ncp5623c move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
6ec7730bf1
rgbled move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
4ac48f154d
pca8574 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
e7f539f29a
oreoled move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
d8dd592d20
blinkm move to px4 work queue
2019-05-24 12:58:55 -04:00
斯东Stone
b35be4b0a6
Fix typo in drivers/lights/CMakeLists.txt
2019-05-08 08:18:37 +02:00
bazooka joe
7bac0e03de
Fixed using myoptarg instead of optarg
2019-02-21 09:45:45 +01:00
bazooka joe
922c19aa9c
using only px4_getopt() and never the unsafe getopt()
...
using only <px4_getopt.h> as include, cleanup related includes
added check that all the option are valid (myoptind >= argc). if there are invalid options on some script that might now lead not to run commands
2019-02-21 09:45:45 +01:00
Daniel Agar
caf26c78e3
rgbled_ncp5623c set main stack 1500
2019-01-03 10:32:49 -05:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
8622fa4aac
move pca8574 driver to lights
2018-12-04 01:06:54 -05:00