David Sidrane
9c8e95db8d
NuttX w/NXP contrib for FlexCAN fixes
2021-06-12 06:22:01 -07:00
echoG
6bc09138c1
Adding BatMon smart battery as a module and refactoring SMBUS based SBS 1.1 spec to a library
2021-06-09 12:17:45 -04:00
Daniel Agar
47b9016f5e
I2CSPIDriverBase: print rotation and i2c address if set
2021-06-08 09:27:21 +02:00
achim
66dbc1e25f
Update rc.board_arch_defaults
...
logger doesn't start at all up to 4k buffer
2021-06-05 11:46:30 -04:00
achim
fd2161b6bf
Update rc.board_arch_defaults
...
logger doesn't start at all up to 4k buffer
2021-06-05 11:46:10 -04:00
achim
1ab7943940
Update rc.board_arch_defaults
...
Logger doesn´t start at all with 4k buffer
2021-06-05 11:45:53 -04:00
David Sidrane
32e92ba817
Revert:Pull downs - bad levels cause motor spins
2021-06-01 15:18:47 -04:00
Daniel Agar
806b462935
px4_work_queue: increase UART stack
2021-05-31 14:49:40 -04:00
Jukka Laitinen
34de392425
Add compiler cmake files for RISC-V (rv64gc) targets
...
This adds the basic support for riscv64-unknown-elf compiler amd rv64gc ISA
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-28 22:22:57 -04:00
Jukka Laitinen
935253357a
nuttx compilation: Don't assume "arm" to enable risc-v compilation
...
Replace "arm" by "${CONFIG_ARCH}"
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-28 22:22:57 -04:00
Jukka Laitinen
675a5a2b2c
bootloader: change flash_cache addresses to uintptr_t
...
To fix comilation errors on 64 bit platforms
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-26 12:57:37 -07:00
Jukka Laitinen
64d264b49a
bootloader: Move chip specific things under chip specific folders
...
- move systick.c under chip specific sources
- move do_jump into chip specific main.c as arch_do_jump
- wrap flash writes to "arch_flash_write" and implement in chip specific main.c
- add bootloader TOC check
- sync image_toc.h with the version currently in use with old bootloader
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-26 12:57:37 -07:00
Daniel Agar
c3884b5bc1
fake_imu (formally fake_gyro) updates for testing gyro filtering
...
- fake_imu now publishes sine sweeps over 10 seconds
- accel is also published so that fake IMU can be selected when the only option
2021-05-17 20:26:25 -04:00
Peter van der Perk
60a083b662
canbootloader clear pending systick interrupts
2021-05-17 05:05:24 -07:00
Daniel Agar
ecf2cd3afb
CAN node STM32F7 support and Freefly RTK GPS CAN node
2021-05-16 13:10:02 -04:00
Daniel Agar
ad0482155e
ROMFS: reduce LOGGER_BUF default to 8 kB on older boards
2021-05-12 17:06:33 +02:00
David Sidrane
69e0c2fc10
px4:platform support SPI configuration selection on HW REV
2021-05-10 09:11:50 +02:00
David Sidrane
541697d193
NuttX Backports Fixing SDIO/SDMMC Data Timeouts
...
stm32, F7 and H7
2021-05-08 04:40:54 -07:00
David Sidrane
8d82560308
NuttX Backports
...
[BACKPORT] binnfmt:Fix return before close ELF fd
stm32h7: serial: use dma tx semaphore as resource holder
[BACKPORT] stm32h7:Serial Add RX and TX DMA
[BACKPORT] drivers/serial: fix Rx interrupt enable for cdcacm
[BACKPORT] stm32h7:Allow for reuse of the OTG_ID GPIO
[BACKPORT] stm32f7:Allow for reuse of the OTG_ID GPIO
2021-05-07 11:50:38 -07:00
David Sidrane
3d166d3279
PWM:Add Channel mask to up_pwm_servo_arm & up_pwm_servo_deinit
2021-05-05 20:48:06 +02:00
David Sidrane
d5b60f7002
NuttX with WIP OTG_ID
2021-05-05 20:48:06 +02:00
David Sidrane
362db92515
Define PX4_MAKE_GPIO_INPUT_PULL_DOWN
2021-05-05 20:48:06 +02:00
David Sidrane
dcbfc9de2d
io_timer:Fixed imposible logic
2021-05-05 20:48:06 +02:00
Daniel Agar
3b7ce61901
px4_work_queue: increase wq:rate_ctrl stack slightly
2021-05-04 17:40:56 -04:00
David Sidrane
cd2aceb363
stm32_common:board_reset Fix reboot -b broke by canbootloader
2021-05-03 05:21:25 -07:00
Beat Küng
0a98c5a7f4
Subscription: fix ChangeInstance
2021-04-27 10:29:09 -04:00
JacobCrabill
cc81c7d49e
poor-mans-profiler: Add documentation
...
Now sets the GDB serial device to the path of a DroneCode Probe by
default, with option command-line option override.
A few usage instructions added to the top of the file.
2021-04-26 08:47:49 +02:00
Daniel Agar
f9d8c613b0
px4_work_queue: increase nav_and_controllers stack
2021-04-21 07:34:13 +02:00
David Sidrane
96d0755afd
NuttX with SDMMC Backport
2021-04-09 15:53:26 -04:00
David Sidrane
5e73fe588e
NuttX with SRAM4-heap-bp
2021-04-03 14:13:23 -04:00
Beat Küng
e9370c658a
nuttx cmake: include upload.cmake if it exists (same as on posix)
2021-03-31 11:25:11 +02:00
Daniel Agar
7314b69adc
cmake: fix jlink_flash_uavcan_bin helper
2021-03-28 12:39:22 -04:00
David Sidrane
7f2566dd8a
NuttX STM32H7 16 bit SPI fixes + ADIS16470 updates for proper 16 bit mode in burst
2021-03-24 19:29:40 -04:00
David Sidrane
d9d832c568
NuttX with BACKPORT libc/stdio: Preallocate the stdin, stdout and stderr
2021-03-24 18:27:30 -04:00
Daniel Agar
ea902e7f38
systemcmds/tests: split out individual module test commands
2021-03-23 11:39:14 -04:00
David Sidrane
55abe48925
NuttX with BDMA enable fix backpork
2021-03-23 05:52:27 -07:00
Daniel Agar
5f6832e101
px4_work_queue: increasae UART stack
2021-03-22 22:48:58 -04:00
Beat Küng
e2cd39bf6c
micro_hal: use inline methods instead of #define's
...
Fixes errors in the form of 'error: statement has no effect'
2021-03-22 15:38:21 -04:00
Dongoo Lee
32012cb3ee
for cmake option GENERATE_ROS_MODELS to make ROS sdf models
2021-03-22 08:59:48 +01:00
David Sidrane
833501dee6
stm32h7:adc fix temperature sensing
2021-03-19 15:48:47 +01:00
Daniel Agar
8f242ec444
cmake: add jlink_flash_uavcan_bin helper
2021-03-18 19:33:19 -04:00
David Sidrane
e9409e59e6
NuttX with flexcan CTRL1 fixes backports
2021-03-18 21:38:56 +01:00
dinomani
4bf894a35d
Update platforms/nuttx/src/px4/stm/stm32h7/include/px4_arch/micro_hal.h
...
Co-authored-by: David Sidrane <David.Sidrane@Nscdg.com>
2021-03-18 06:13:24 -07:00
dino
44b2e0b729
As David request
2021-03-18 06:13:24 -07:00
dino
7c8b7fa44d
Fixed typo and added support for H7 temperature sense on ADC3
2021-03-18 06:13:24 -07:00
dino
6d04a67b02
Moving define to microhal.h files, for each ST architecture. Correct channels were verified with ST_CUBE header files. For the H7 its a simplification for the current used H7x3. Other devices in that family expect the temperarture on channel 18.
...
F1: channel 16
F3: channel 16
F4: channel 18
F7: channel 18
H7: channel 17, on STMf32Hx3
2021-03-18 06:13:24 -07:00
dino
528dc41822
changed #elif to #else, to build on all targets
2021-03-18 06:13:24 -07:00
dino
3c77ef7eb3
Fixed adc config, to read internal reference to get cpu temperature
2021-03-18 06:13:24 -07:00
Daniel Agar
385512aead
uORB: test multi timestamp requirement only applies per topic instance
2021-03-17 12:35:53 -04:00
David Sidrane
ccee36bb68
sd_bench and logger use aligned buffers
2021-03-17 05:27:53 +01:00