Skip to content
Snippets Groups Projects
Commit 6f39086d authored by Daniel Friesel's avatar Daniel Friesel
Browse files

nRF24L01+ model: Add enums for dummy driver generation

parent f3c75689
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,23 @@ codegen: ...@@ -3,6 +3,23 @@ codegen:
includes: ['driver/nrf24l01.h'] includes: ['driver/nrf24l01.h']
flags: ['drivers=nrf24l01', 'arch_drivers=spi_b'] flags: ['drivers=nrf24l01', 'arch_drivers=spi_b']
dummygen:
enum:
rf24_pa_dbm_e:
- RF24_PA_MIN
- RF24_PA_LOW
- RF24_PA_HIGH
- RF24_PA_MAX
- RF24_PA_ERROR
rf24_datarate_e:
- RF24_1MBPS
- RF24_2MBPS
- RF24_250KBPS
rf24_crclength_e:
- RF24_CRC_DISABLED
- RF24_CRC_8
- RF24_CRC_16
parameters: parameters:
- auto_ack! - auto_ack!
- payload_size - payload_size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment