Commit Graph

59 Commits

Author SHA1 Message Date
José Simões a3e3114580
Fix F7 cache invalidation on write operation 2019-03-10 11:33:40 +00:00
José Simões ab0b1c80d2
Add call to cache flush on disk write
- This is required for F7 targets (and others that feature memory cache).
- The call is provided empty for all the other series, so it's OK to use it as it is.
2019-03-07 16:30:13 +00:00
José Simões f014b8da68 Fixes for USB MSD
- Fix return value on succesfull scsi_requestsense.
- Fix calls to LL SMT32 API for OTG2.
- Port changes from ChibiOS fatfs_diskio.
- Rework checks to allow simultaneous use of SD Card and USB MSD.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
2019-02-27 15:00:50 +00:00
Fabien Poussin 49a3d9b0f7 Adding median library 2019-01-10 11:17:36 +01:00
andru 2168085ac7 added NRF52 pwm, icu, i2c, radio esb drivers 2019-01-08 11:22:01 +03:00
Konstantin Oblaukhov 7ab18994e7 Adopt sources to new HAL. 2018-09-24 20:29:02 +07:00
Fabien Poussin 71fe8e7ced Renaming PID struct typedef to avoid conflicts 2018-03-25 04:21:11 +02:00
Fabien Poussin 9e5aba8bd9 Adding basic PID demo. 2018-03-22 18:16:20 +01:00
Fabien Poussin 12552897f3 Cleaning PID lib. 2018-03-22 16:58:48 +01:00
Fabien Poussin d66ce4b75b Adding PID library 2018-03-22 16:30:35 +01:00
Romain Reignier 345e218afd lib_sci: FIX 'for' loop initial declarations are only allowed in C99 or C11 mode 2018-03-12 21:27:50 +01:00
Romain Reignier 3a9593e6d8 fatfs: update to latest ChibiOS changes 2018-03-12 21:20:32 +01:00
Kimmo Lindholm 9f2ee0a227 SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replying
When host sends TEST UNIT READY command, set sense 'all ok' if block device reports
that medium is inserted, or set sense 'medium not present' if medium is not inserted.

Do not override sense by default with 'all ok', allow REQUEST SENSE command
to be responded with correct sense data which was set on last failure.

Check just DESC bit when responding to REQUEST SENSE command.
2017-10-21 13:36:49 +03:00
Kimmo Lindholm 39487df4de SCSI: Respond to unit serial number inquiry 2017-10-12 00:06:50 +03:00
Diego Ismirlian 2fb40b504f USBH: Fix compile with FATFS 0.12b 2017-08-07 18:50:39 -03:00
Diego Ismirlian 5ecaf7722b USB Host fixes
- Cleaned up alignment macros for GCC & IAR
- Corrected EP halt and Clear halt behaviours
- Initialization of class drivers by USB Host main driver
- Minor cosmetic fixes
- Updated USB_HOST testhal app
2017-06-05 10:18:45 -03:00
barthess 71a77db50f Fixed typo in ramdisk. 2017-01-06 11:05:08 +03:00
barthess 9abfd6d27a Added debug printf macros 2016-10-28 14:25:56 +03:00
barthess 92c3714706 USB_MSD. Added READ_FORMAT_CAPACITIES handler 2016-10-28 14:25:08 +03:00
barthess 709addd02d Updated include guards 2016-10-17 17:23:16 +03:00
barthess ae0a3ca9de USB_MSD. Initial commit. 2016-10-17 15:53:08 +03:00
Stephane D'Alu 5805e10f74 NRF52832 implementation 2016-07-09 23:57:48 +02:00
Stephane D'Alu 7d048079c6 extend to 64 bits int 2016-02-28 23:27:54 +01:00
Fabio Utzig 1548bca80f Merge pull request #35 from sdalu/sensor_hdc1000
Sensor hdc1000, mcp9808, tsl2561, tsl2591
2016-02-15 19:29:07 -02:00
Stephane D'Alu 7b5ddf1928 included copyright 2016-02-15 21:42:16 +01:00
Stephane D'Alu 260a9edc32 correctly pack structure, remove unused fields 2016-02-10 00:56:51 +01:00
Stephane D'Alu e34ef249e7 fixed tsl2561, added tsl2591 2016-02-09 23:52:11 +01:00
Stephane D'Alu 23a4b895ce updated license 2016-02-09 18:31:31 +01:00
Stephane D'Alu 08fa41749e changed file layout, move startup/bootup time to #define 2016-02-08 12:13:15 +01:00
Stephane D'Alu d124d1144f added TSL2561 Light sesnor 2016-02-08 09:37:26 +01:00
Stephane D'Alu de87b64728 small fix 2016-02-07 19:26:02 +01:00
Stephane D'Alu bd884d4757 cleanup 2016-02-07 18:55:45 +01:00
Stephane D'Alu 7ecdfd4386 mcp9808 temperature sensor 2016-02-07 18:54:54 +01:00
Stephane D'Alu 12992db45c fixed comments, set default i2c address 2016-02-07 17:05:10 +01:00
Stephane D'Alu ee5bea89c2 hdc1008 sensor 2016-02-07 16:48:22 +01:00
Stephane D'Alu d3658d49aa ease dev with flash/debug target 2016-02-05 15:25:58 +01:00
barthess 2ce45a1692 Memtest. Cosmetical improvements 2015-12-21 14:19:24 +03:00
barthess 756788580e Memtest. Cosmetical cleanup. 2015-10-15 10:51:44 +03:00
barthess bf7d3ef855 Memtest. Added uint64_t test. 2015-10-15 10:51:11 +03:00
barthess d5e967add4 Memtest. Changed way to specify memtest data width 2015-09-28 17:36:25 +03:00
Michael Spradling fb8c390f06 Update code from code feedback 2015-08-16 23:51:41 -04:00
Michael Spradling 316c3b4825 Add CRC Driver
This patch includes a high level and two low level drivers.

The high level driver is enabled with flag HAL_USE_CRC

The low level drivers include:
    * Hardware CRC for the STM32 cortex processor lines.(when supported)
        * Enabled with flag STM32_CRC_USE_CRC1
        * DMA is enabled with CRC_USE_DMA
          * SYNC api will use DMA, but put calling thread to sleep
          * ASYNC api enabled.
        * DMA Disabled
          * SYNC api spin while calculating CRC
          * ASYNC api disabled
    * Software CRC (3 modes)
        * CRCSW_CRC32_TABLE - Enables crc32 with lookup table.
        * CRCSW_CRC16_TABLE - Enables crc16 with lookup tables.
        * CRCSW_PROGRAMMBLE - Enables any crc done with computation.
          * Can calculate any crc configuration.
        * CRC_USE_DMA obviously not support with software CRC
2015-08-16 01:26:07 -04:00
barthess e7a3df6c18 Improved FSMC.
SRAM configuration is much more flexible now.
2015-08-04 13:30:01 +03:00
barthess 8c8c0a0be4 Memtest improvements 2015-08-04 00:35:44 +03:00
Uladzimir Pylinski cabe3aafad Merge pull request #20 from RoccoMarco/master
minor fixes on max7219.h
2015-08-02 23:37:31 +03:00
Rocco Marco Guglielmi 1ed38d4fec minor fixes on max7219.h 2015-08-02 18:45:27 +02:00
TexZK 5270aa500f Added descriptions and code simplified 2015-07-08 21:57:53 +02:00
TexZK 3f88eaa27a Added shell commands to control triple buffer demo 2015-07-07 23:53:21 +02:00
TexZK 3ac6c61184 TriBuf demos updated and working 2015-07-06 21:05:20 +02:00
TexZK 1283a5068d Added TriBuf files and demo [WIP] 2015-07-04 17:29:41 +02:00