-
Notifications
You must be signed in to change notification settings - Fork 1.6k
WIP: initial support for fixed-point data for sensors #17408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
raiden00pl
wants to merge
10
commits into
apache:master
Choose a base branch
from
raiden00pl:sensors_fixedmath
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7eb161f
drivers/sensors: add initial support for fixed-point data for sensors
raiden00pl 6ebd5ea
sensors/bmp280_uorb: support for fixed-point data
raiden00pl ec4ee88
sensors/bmp180_uorb: support for fixed-point data
raiden00pl 275d27c
sensors/hyt271_uorb: support for fixed-point data
raiden00pl 6b68bb7
sensors/adxl362_uorb: support for fixed-point data
raiden00pl ab2374d
sensors/adxl372_uorb: support for fixed-point data
raiden00pl 632dc39
sensors/bh1749nuc_uorb: support for fixed-point data
raiden00pl a189a51
sensors/bmm150_uorb: support for fixed-point data
raiden00pl ff42497
sensors/bmi270_uorb: support for fixed-point data
raiden00pl 6874545
boards/thingy53: add sensors scope demo for fixed16
raiden00pl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
boards/arm/nrf53/thingy53/configs/sensorsb16_cpuapp/defconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # | ||
| # This file is autogenerated: PLEASE DO NOT EDIT IT. | ||
| # | ||
| # You can use "make menuconfig" to make any modifications to the installed .config file. | ||
| # You can then do "make savedefconfig" to generate a new defconfig file that includes your | ||
| # modifications. | ||
| # | ||
| # CONFIG_DEV_CONSOLE is not set | ||
| # CONFIG_SYSLOG_DEFAULT is not set | ||
| CONFIG_ARCH="arm" | ||
| CONFIG_ARCH_BOARD="thingy53" | ||
| CONFIG_ARCH_BOARD_COMMON=y | ||
| CONFIG_ARCH_BOARD_THINGY53=y | ||
| CONFIG_ARCH_CHIP="nrf53" | ||
| CONFIG_ARCH_CHIP_NRF5340=y | ||
| CONFIG_ARCH_CHIP_NRF5340_CPUAPP=y | ||
| CONFIG_ARCH_CHIP_NRF53=y | ||
| CONFIG_ARCH_STACKDUMP=y | ||
| CONFIG_ARCH_STDARG_H=y | ||
| CONFIG_BOARDCTL=y | ||
| CONFIG_BOARDCTL_MKRD=y | ||
| CONFIG_BOARDCTL_USBDEVCTRL=y | ||
| CONFIG_BOARD_LOOPSPERMSEC=5500 | ||
| CONFIG_BUILTIN=y | ||
| CONFIG_CDCACM=y | ||
| CONFIG_CDCACM_RXBUFSIZE=256 | ||
| CONFIG_CDCACM_TXBUFSIZE=256 | ||
| CONFIG_DEBUG_ASSERTIONS=y | ||
| CONFIG_DEBUG_FEATURES=y | ||
| CONFIG_DEBUG_FULLOPT=y | ||
| CONFIG_DEBUG_SYMBOLS=y | ||
| CONFIG_EXAMPLES_NXSCOPE=y | ||
| CONFIG_EXAMPLES_NXSCOPE_SERIAL_PATH="/dev/ttyS0" | ||
| CONFIG_EXPERIMENTAL=y | ||
| CONFIG_FS_PROCFS=y | ||
| CONFIG_IDLETHREAD_STACKSIZE=2048 | ||
| CONFIG_INIT_ENTRYNAME="nsh_main" | ||
| CONFIG_INIT_ENTRYPOINT="sensorscope_main" | ||
| CONFIG_INTELHEX_BINARY=y | ||
| CONFIG_LOGGING_NXSCOPE=y | ||
| CONFIG_MM_REGIONS=2 | ||
| CONFIG_NDEBUG=y | ||
| CONFIG_NRF53_HFCLK_XTAL=y | ||
| CONFIG_NRF53_I2C2_MASTER=y | ||
| CONFIG_NRF53_SPI1_MASTER=y | ||
| CONFIG_NRF53_UART0=y | ||
| CONFIG_NRF53_USBDEV=y | ||
| CONFIG_NRF53_USE_HFCLK192M=y | ||
| CONFIG_PREALLOC_TIMERS=4 | ||
| CONFIG_RAMLOG=y | ||
| CONFIG_RAM_SIZE=524288 | ||
| CONFIG_RAM_START=0x20000000 | ||
| CONFIG_RAW_BINARY=y | ||
| CONFIG_RR_INTERVAL=200 | ||
| CONFIG_SCHED_WAITPID=y | ||
| CONFIG_SENSORS=y | ||
| CONFIG_SENSORS_ADXL362=y | ||
| CONFIG_SENSORS_BH1749NUC=y | ||
| CONFIG_SENSORS_BH1749NUC_UORB=y | ||
| CONFIG_SENSORS_BMI270=y | ||
| CONFIG_SENSORS_BMI270_UORB=y | ||
| CONFIG_SENSORS_BMM150=y | ||
| CONFIG_SENSORS_USE_B16=y | ||
| CONFIG_START_DAY=26 | ||
| CONFIG_START_MONTH=3 | ||
| CONFIG_SYMTAB_ORDEREDBYNAME=y | ||
| CONFIG_SYSTEM_I2CTOOL=y | ||
| CONFIG_SYSTEM_READLINE=y | ||
| CONFIG_SYSTEM_SENSORSCOPE=y | ||
| CONFIG_SYSTEM_SENSORSCOPE_CDCACM=y | ||
| CONFIG_SYSTEM_SENSORSCOPE_FETCH_INTERVAL=100000 | ||
| CONFIG_SYSTEM_SENSORSCOPE_SERIAL_PATH="/dev/ttyACM0" | ||
| CONFIG_SYSTEM_SENSORSCOPE_STREAMBUF_LEN=2048 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.