mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Add efm32ggstk.csv and efm32ggstk_af.csv containing only USART1
This commit is contained in:
parent
38e97309f1
commit
19c689d32f
@ -21,3 +21,12 @@ chip = {
|
||||
'adc': 1,
|
||||
'dac': 1,
|
||||
};
|
||||
|
||||
devices = {
|
||||
|
||||
}
|
||||
|
||||
def get_pins():
|
||||
pins = pinutils.scan_pin_file([], 'efm32ggstk.csv', 0, 1, 2)
|
||||
pins = pinutils.scan_pin_af_file(pins, 'efm32ggstk_af.csv', 0, 1)
|
||||
return pinutils.fill_gaps_in_pin_list(pins)
|
||||
|
||||
3
boards/pins/efm32ggstk.csv
Normal file
3
boards/pins/efm32ggstk.csv
Normal file
@ -0,0 +1,3 @@
|
||||
Name,Alternate,Additional
|
||||
PC0,TTa,USART1_TX
|
||||
PC1,TTa,USART1_RX
|
||||
|
3
boards/pins/efm32ggstk_af.csv
Normal file
3
boards/pins/efm32ggstk_af.csv
Normal file
@ -0,0 +1,3 @@
|
||||
Name,Function,af1,af2,af3,af4,af5
|
||||
PC0,ACMP0_CH0,DAC0_OUT0ALT,OPAMP_OUT0ALT,EBI_A23,TIM0_CC1,PCNT0_S0IN,USART0_TX,USART1_TX,I2C0_SDA,LES_CH0,PRS_CH2
|
||||
PC1,ACMP0_CH1,ACMP0_CH1,DAC0_OUT0ALT,OPAMP_OUT0ALT,EBI_A24,TIM0_CC2,PCNT0_S1IN,US0_RX,USART1_RX,I2C0_SCL,LES_CH1,PRS_CH3
|
||||
|
Loading…
x
Reference in New Issue
Block a user