-
-
-
-
-
-
-
I compiled with the NEW parameter attached, Gordon
make clean && BOARD=NRF52832_MDK RELEASE=1 make
I got 2 files
osboxes@osboxes:~/Espruino$ ls *.hex -l
-rw-r--r-- 1 osboxes osboxes 64662 Jun 20 14:33 bootloader_espruino_1v99.73_nrf52832_mdk.hex
-rw-r--r-- 1 osboxes osboxes 1107172 Jun 20 14:33 espruino_1v99.73_nrf52832_mdk.hexWhat i have to do ? Burn both and add the softdevice.hex too
-
-
Hi Gordon (i remember always the Gordon comissary - BATMAN)!,
i read the theory!
I guess that i changed in the correct place!
**def get_pins():
pins = pinutils.generate_pins(0,31) # 32 General Purpose I/O Pins.
pinutils.findpin(pins, "PD0", True)["functions"]["XL1"]=0; #OK NC
pinutils.findpin(pins, "PD1", True)["functions"]["XL2"]=0; #OK NC
pinutils.findpin(pins, "PD2", True)["functions"]["I2C_SDA"]=0; #OK AN1 i2c_sda
pinutils.findpin(pins, "PD3", True)["functions"]["I2C_SCL"]=0; #OK AN0 i2c_scl
pinutils.findpin(pins, "PD4", True)["functions"]["ADC1_IN2"]=0; #OK AN2
pinutils.findpin(pins, "PD5", True)["functions"]["RXD"]=0; #OK TXD D0
pinutils.findpin(pins, "PD6", True)["functions"]["TXD"]=0; #OK TXD D1
pinutils.findpin(pins, "PD7", True)["functions"]["CTS"]=0; #OK CTS D2
pinutils.findpin(pins, "PD8", True)["functions"]["LED_1"]=0; #OK LED1 D9
pinutils.findpin(pins, "PD9", True)["functions"]["NFC1"]=0; #OK NFC1 D6
pinutils.findpin(pins, "PD10", True)["functions"]["NFC2"]=0; #OK NFC1 D7
pinutils.findpin(pins, "PD11", True)["functions"]["SPI_CS"]=0; #OK SPI_CS D10
pinutils.findpin(pins, "PD12", True)["functions"]["SPI_MISO"]=0; #OK SPI_MISO D12
pinutils.findpin(pins, "PD13", True)["functions"]["SPI_MOSI"]=0; #OK SPI_MOSI D11
pinutils.findpin(pins, "PD14", True)["functions"]["SPI_SCK"]=0; #OK SPI_SCK D13
pinutils.findpin(pins, "PD16", True)["functions"]["LED_2"]=0; #OK LED2/SWITCH
pinutils.findpin(pins, "PD18", True)["functions"]["LED_3"]=0; #OK LED3 D4
pinutils.findpin(pins, "PD28", True)["functions"]["ADC1_IN5"]=0; #OK AN5
pinutils.findpin(pins, "PD29", True)["functions"]["ADC1_IN4"]=0; #OK AN4
pinutils.findpin(pins, "PD30", True)["functions"]["ADC1_IN3"]=0; #OK AN3
pinutils.findpin(pins, "PD31", True)["functions"]["RTS"]=0; #OK RTS D3
.
.
. -
Hi gordon
Thank you so much! It´s working! !!!
About NRF52832_MDK.py, can you help me to config to NINA BLE 112 ? I had config to work with ARDUINO, but i would like to config to NINA.
Can you help me ?
This is my NINA MAP
onst uint32_t g_ADigitalPinMap[] = {
NC,//0 NC
NC,//1 NC
NINA_B1_GPIO_24,//2 i2c sda D14
NINA_B1_GPIO_25,//3 i2c scl D15
NINA_B1_GPIO_27,//4 AN2
NINA_B1_GPIO_23,//5 RXD D0
NINA_B1_GPIO_22,//6 TXD D1
NINA_B1_GPIO_21,//7 CTS D2
NINA_B1_GPIO_1,//8 LED1 D9
NINA_B1_GPIO_28,//9 D6
NINA_B1_GPIO_29,//10 D7
NINA_B1_GPIO_2,//11 SPI_CS D10
NINA_B1_GPIO_3,//12 SPI_MISO D12
NINA_B1_GPIO_4,//13 SPI_MOSI D11
NINA_B1_GPIO_5,//14 SPI_SCK D13
NC,//15 NC
NINA_B1_GPIO_7,//16 LED/SWITCH
NC,//17 NC
NINA_B1_GPIO_8,//18 LED D4
NC,//19 NC
NC,//20 NC
NC,//21 NC
NC,//22 NC
NC,//23 NC
NC,//24 NC
NC,//25 NC
NC,//26 NC
NC,//27
NINA_B1_GPIO_16,//28 AN5
NINA_B1_GPIO_17,//29 AN4
NINA_B1_GPIO_18,//30 AN3
NINA_B1_GPIO_20 //31 RTS D3
}; -
-
-
Hi, i sucessfully compiled the ESPRUINO do nRF52832-MDK.
I followed the steps
https://wiki.makerdiary.co/nrf52832-mdk/espruino/
My question is about
NRF52832_MDK.py
def get_pins():
pins = pinutils.generate_pins(0,31) # 32 General Purpose I/O Pins.
pinutils.findpin(pins, "PD0", True)["functions"]["XL1"]=0;
pinutils.findpin(pins, "PD1", True)["functions"]["XL2"]=0;
pinutils.findpin(pins, "PD5", True)["functions"]["3.3"]=0;
pinutils.findpin(pins, "PD6", True)["functions"]["3.3"]=0;
pinutils.findpin(pins, "PD7", True)["functions"]["3.3"]=0;
pinutils.findpin(pins, "PD8", True)["functions"]["3.3"]=0;
pinutils.findpin(pins, "PD9", True)["functions"]["NFC1"]=0;
pinutils.findpin(pins, "PD10", True)["functions"]["NFC2"]=0;
pinutils.findpin(pins, "PD13", True)["functions"]["3.3"]=0;
pinutils.findpin(pins, "PD14", True)["functions"]["3.3"]=0;
.
.
.
.How does it is constructed ?
In the NINA BL112 i have this information about pinout used...(attached)
Can you give some tip how to port to NINA BL112. I see that is not the same pinout of NRF52832 because i can't see anything on TXD during boot
bTW, NINA BL112 uses nRF52832
Btw, the Bluetooth Dongle CSR 4.0 can identify the ESPRUINO that uses bluetooth 4.2 ?
Thank you!
Hi Gordon
I successfully ported ESPRUINO to NINA BL112 (BLUETOOTH and USART)
Can i recomend to the SOUTH AMERICA NINA BL112 clients ? We could offer a standard hex version, and if the client wants full support, pay you for a support licence for you? What do you think about ?
Or, can you give some other suggestion for you get money!