-
26827db6b6
Rewrite mgos_imu_*_create_i2c() to its new API format
master
Pim van Pelt
2019-03-28 16:21:27 +01:00
-
d0ad1bdc91
Add mgos_gpio_setup_input()
Pim van Pelt
2019-03-28 16:21:13 +01:00
-
643ab436fb
Remove -pedantic to allow 0b0000101 style (GCC extension)
Pim van Pelt
2019-03-28 16:20:54 +01:00
-
66bd1cadce
Add ADS1115 test
Pim van Pelt
2019-01-16 21:20:17 +01:00
-
b7febb1bfe
Fix bug in endianness of {get,set}bits_reg_w()
Pim van Pelt
2019-01-16 21:20:06 +01:00
-
61dfa80322
Remove unused include
Pim van Pelt
2019-01-16 20:37:10 +01:00
-
d69536b305
Add a stub mgos_gpio_remove_int_handler()
Pim van Pelt
2019-01-09 14:16:05 +01:00
-
5d194fe8ae
i2c_scanner() should use _write() not _read()
Pim van Pelt
2019-01-09 14:13:50 +01:00
-
645b7be139
Merge branch 'master' of git.ipng.nl:pim/mgos_i2c_mock
Pim van Pelt
2019-01-09 14:13:18 +01:00
-
-
b631bc7326
Add mgos_i2c_bitfields.c
Pim van Pelt
2019-01-09 14:13:08 +01:00
-
0633980341
Use test_*_enabled
Pim van Pelt
2019-01-06 16:09:27 +01:00
-
-
60bf5b82a5
Factor out boards.h -- share it with imu-demo/
Pim van Pelt
2019-01-05 16:03:15 +01:00
-
851a473a3f
Add ability to set custom ACC/GYRO/MAG with BOARD=0; Avoid creating sensors if *_I2CADDR is -1
Pim van Pelt
2019-01-05 14:14:19 +01:00
-
736dd476ca
Merge branch 'master' of git.ipng.nl:pim/mgos_i2c_mock
Pim van Pelt
2019-01-05 13:53:23 +01:00
-
-
14cd6612b0
Use HMC5883L for BOARD1
Pim van Pelt
2019-01-05 13:51:27 +01:00
-
79939b4d1d
Add a few board types to test combinations of sensors
Pim van Pelt
2019-01-04 22:07:11 +01:00
-
3c12e23b60
uncrustify
Pim van Pelt
2019-01-04 22:06:33 +01:00
-
87955d2dfc
Add a test for IMU
Pim van Pelt
2019-01-04 16:31:20 +01:00
-
f69d8cff4e
add mgos_gpio_set_{pull,mode}() mocks
Pim van Pelt
2019-01-03 21:42:29 +01:00
-
62ce68f2e0
Add test_*_enabled to enable/disable tests
Pim van Pelt
2019-01-03 21:37:58 +01:00
-
031bd34655
Remove unused headers from previous test projects
Pim van Pelt
2019-01-03 21:29:22 +01:00
-
cafecbb897
Add flags and usage() to main. Uncrustify
Pim van Pelt
2019-01-03 21:28:32 +01:00
-
cb48b78265
Complete autogen, first stab at scheduling each test on an individual period_ms basis
Pim van Pelt
2019-01-03 21:08:10 +01:00
-
637779681f
Ensure sources are unique
Pim van Pelt
2019-01-03 20:52:10 +01:00
-
fa6664e6e6
Wire up autogen
Pim van Pelt
2019-01-03 20:50:24 +01:00
-
34cc6d5de2
First stab at autogen.sh
Pim van Pelt
2019-01-03 20:47:34 +01:00
-
1db8c1a0bf
Refactor framework -- point to a tests/* directory for the user supplied tests
Pim van Pelt
2019-01-03 20:12:04 +01:00
-
f45f182ada
Update main
Pim van Pelt
2019-01-02 00:14:55 +01:00
-
-
0be5e77c8b
Remove MCP9808, CCS811, MPU9250, SHT31, SI7021; they were sent upstream. Test INA{219,226,3221}.
Pim van Pelt
2019-01-02 00:13:23 +01:00
-
-
4124183780
Add AK8975 to be implemented
Pim van Pelt
2018-05-13 21:54:29 +02:00
-
520c1161ad
Refactor after ff6be09 upstream
Pim van Pelt
2018-05-13 20:26:57 +02:00
-
646f21833f
Add mgos_imu module!
Pim van Pelt
2018-05-13 15:47:06 +02:00
-
-
449d51aae8
Some dev changes
Pim van Pelt
2018-05-13 12:53:18 +02:00
-
e6f02daa60
Follow symlinks for SRC/INC
Pim van Pelt
2018-04-22 16:57:16 +02:00
-
bad1fc3951
Avoid libs/ in this repo
Pim van Pelt
2018-04-22 16:55:56 +02:00
-
c9b29def6c
Move to their own repos
Pim van Pelt
2018-04-22 16:55:12 +02:00
-
a6edfa4c3b
allow logger to (left)truncate long file and func names
Pim van Pelt
2018-04-22 14:39:17 +02:00
-
2d738835f9
Set up compiler warnings as errors
Pim van Pelt
2018-04-22 14:22:46 +02:00
-
b33daf2981
Move mgos_imu to libs/
Pim van Pelt
2018-04-22 14:18:47 +02:00
-
bc4321cbd4
Make code -Wstrict-prototypes compliant
Pim van Pelt
2018-04-22 14:16:23 +02:00
-
38c3cdf27e
Make code -Wall -Wextra -pedantic -Wmissing-prototypes -Wold-style-definition
Pim van Pelt
2018-04-22 14:15:35 +02:00
-
64fe69d3e3
Introduce 'libs'
Pim van Pelt
2018-04-22 14:04:54 +02:00
-
e30784fcad
Add BME680 sheet
Pim van Pelt
2018-04-22 13:43:08 +02:00
-
55c7e78427
Single-line baro logging
Pim van Pelt
2018-04-22 12:53:52 +02:00
-
0b3fd0d684
Add Datasheets
Pim van Pelt
2018-04-22 12:49:31 +02:00
-
d18c451f42
Add correct datasheet -- add todo for humidity
Pim van Pelt
2018-04-22 12:23:47 +02:00
-
d998301bef
Improve driver
Pim van Pelt
2018-04-22 11:54:59 +02:00
-
e7367d1cec
Attempt to run BME280 in default 'Android' mode -- See datasheet para 3.5.3
Pim van Pelt
2018-04-22 10:23:05 +02:00
-
498d2d8e03
Remove debugging statement
Pim van Pelt
2018-04-22 10:21:41 +02:00
-
4a89c9540b
Off-by-10 error (HPa vs kPa)
Pim van Pelt
2018-04-22 09:54:08 +02:00
-
b9dd5fd2ce
Small changes
Pim van Pelt
2018-04-22 09:47:58 +02:00
-
1b3d8ac7ca
Move from has_* to capabilities bits
Pim van Pelt
2018-04-22 09:42:47 +02:00
-
0f933dda31
Add partial BMP280/BME280 driver
Pim van Pelt
2018-04-22 09:37:45 +02:00
-
b9bb70d4cf
Remove DEBUG logging
Pim van Pelt
2018-04-22 09:37:17 +02:00
-
e4d908ebf3
Create empty BME280 driver
Pim van Pelt
2018-04-22 08:11:52 +02:00
-
b2f71583a1
Set timeout of 1s on reads
Pim van Pelt
2018-04-21 23:33:58 +02:00
-
38fca7c650
Add MPL3115 driver; It's a bit slow (takes ~1s for DataReady to be set), should take a look
Pim van Pelt
2018-04-21 23:18:43 +02:00
-
f4aa4f7844
Add empty MPL3115 driver
Pim van Pelt
2018-04-21 17:55:37 +02:00
-
d142cb37d3
Add finished MPL115 barometer
Pim van Pelt
2018-04-21 17:47:56 +02:00
-
9d9cd1d00a
Add Read Cache and Stats
Pim van Pelt
2018-04-21 15:39:57 +02:00
-
89ec34dc1d
Add mgos_barometer API
Pim van Pelt
2018-04-21 15:17:24 +02:00
-
acec109ae8
Rename 'sensor' to 'imu' consistently
Pim van Pelt
2018-04-19 17:52:06 +02:00
-
88e287770c
Skeleton of mgos_imu_{mag,acc,gyro}.c; restructure header files
Pim van Pelt
2018-04-19 16:01:12 +02:00
-
37d26eb65f
Move private IMU data into its mgos_imu_internal.h
Pim van Pelt
2018-04-19 15:32:00 +02:00
-
d693631b70
First stab at generic gyro/mag/accel -- mgos_imu.h
Pim van Pelt
2018-04-18 23:50:23 +02:00
-
1e1c3087cd
Add MPU9250
Pim van Pelt
2018-04-18 22:54:06 +02:00
-
e4bb9e39cc
Add CCS811 driver
Pim van Pelt
2018-04-10 21:36:10 +02:00
-
d2e64c0f45
Reformat with bcpp
Pim van Pelt
2018-04-09 18:30:46 +02:00
-
0337487a0c
Add Copyright headers (AP2.0)
Pim van Pelt
2018-04-03 14:15:56 +02:00
-
50d59ae313
Finished MCP9808 driver.
Pim van Pelt
2018-04-03 14:09:40 +02:00
-
90003f705c
Reverse byte-order of 16 bit register read
Pim van Pelt
2018-04-03 13:54:48 +02:00
-
62da8aa283
Initial checkin of empty MCP9808 driver
Pim van Pelt
2018-04-03 13:46:08 +02:00
-
9f0cdbb821
Initial driver for HTU21DF
Pim van Pelt
2018-04-02 22:36:46 +02:00
-
aa73394f0d
Add skeleton for HTU21DF driver
Pim van Pelt
2018-04-02 22:18:20 +02:00
-
38500aa8d4
Add public header documentation.
Pim van Pelt
2018-04-02 22:05:53 +02:00
-
7263edee15
Add Adafruit datasheets
Pim van Pelt
2018-04-02 21:58:01 +02:00
-
e4ed4d005d
Loop once per 5 seconds.
Pim van Pelt
2018-04-02 21:50:30 +02:00
-
97310e3e03
Refactor main.
Pim van Pelt
2018-04-02 21:46:54 +02:00
-
37838f0062
SI7021: Implement Status
Pim van Pelt
2018-04-02 21:40:42 +02:00
-
6b0774033e
SI7021
Pim van Pelt
2018-04-02 21:16:32 +02:00
-
ff891426ab
Finish Si7021
Pim van Pelt
2018-04-02 21:11:18 +02:00
-
5b0fcadd9f
Refactor I2C SMBUS
Pim van Pelt
2018-04-02 20:38:26 +02:00
-
5d92a45b58
Remove dangling file.
Pim van Pelt
2018-04-02 17:59:59 +02:00
-
2899ee59de
Initial (empty) Si7021 driver
Pim van Pelt
2018-04-02 17:59:41 +02:00
-
27bba32bd9
Remove unimplemented calls
Pim van Pelt
2018-04-02 17:54:39 +02:00
-
b1d92a32a8
Include first driver: SHT31
Pim van Pelt
2018-04-02 17:29:13 +02:00
-
cef7c5107d
Mock out mgos_i2c.h to work with Linux.
Pim van Pelt
2018-04-02 13:30:45 +02:00