Commit Graph

6961 Commits

Author SHA1 Message Date
Glenn Ruben Bakke 63fc32e56f nrf5/adc: Adding all 8 instances to adc python module. Valid for both nrf51 and nrf52. 2017-01-15 17:28:41 +01:00
Glenn Ruben Bakke 56b3655f7e nrf5/drivers: Adding new structures to moddisplay. Adding a display_t structure to cast all other displays into, to retrieve function pointer table of a display object type. Also adding the function table structure which needs to be filled by any display object. 2017-01-15 16:21:27 +01:00
Glenn Ruben Bakke 46caefbeeb nrf5/drivers: Adding a new framebuffer implementation to replace the mono_fb. 2017-01-15 16:15:21 +01:00
Glenn Ruben Bakke a5bb966614 nrf5/boards: Updating pca10028 (nrf51) board config. Enable SPI machine module. Enable flow control on UART. Correcting SPI CLK, MISO and MOSI pin assignments. 2017-01-12 19:54:07 +01:00
Glenn Ruben Bakke 6c54ed9a09 nrf5/adc: Updating adc module and hal with a new interface. No need for keeping peripheral base address in structure when there is only one peripheral (nrf51). 2017-01-12 17:20:08 +01:00
Glenn Ruben Bakke 24abb69eec nrf5/rtc: Correcting RTC1 base error in rtc template. 2017-01-12 08:47:16 +01:00
Glenn Ruben Bakke 719bdcfed4 nrf5: Adding adc module to machine module. 2017-01-11 22:13:18 +01:00
Glenn Ruben Bakke 4da435376d nrf5/hal: Updating hal_adc* with more api functions. 2017-01-11 22:12:41 +01:00
Glenn Ruben Bakke 38bb518e19 nrf5/adc: Adding updated adc module. 2017-01-11 22:01:20 +01:00
Glenn Ruben Bakke 994341fc3b nrf5/boards: Enabling ADCE (SAADC) variant of adc hal to match hardware on nrf52 series. 2017-01-11 20:19:31 +01:00
Glenn Ruben Bakke 3e112c40f3 nrf5/boards: Adding ADC config to pca10028 pins.csv 2017-01-11 20:18:04 +01:00
Glenn Ruben Bakke 8349fd0bb9 nrf5/boards: Tuning linker script for nrf51822_ac to get some more heap. 2017-01-11 20:14:53 +01:00
Glenn Ruben Bakke affe0f8e98 nrf5: Updating nrf51_af.csv to reflect pins having ADC on the chip. 2017-01-11 20:13:59 +01:00
Glenn Ruben Bakke 5d5d06ff41 nrf5/boards: Updating make-pins.py to generate ADC pin settings from board pins.csv. 2017-01-11 20:12:32 +01:00
Glenn Ruben Bakke bcf47b465e nrf5/hal: Updating hal_adc header to use correct Type for ADC on nrf52. 2017-01-11 17:29:50 +01:00
Glenn Ruben Bakke 728f98dc07 nrf5/adc: Updating module to compile. 2017-01-11 17:29:15 +01:00
Glenn Ruben Bakke a0b0e13785 nrf5/boards: Enable ADC machine module for pca10028, pca10040 and pca10056. 2017-01-11 17:28:38 +01:00
Glenn Ruben Bakke e952ab16b3 nrf5: Add add ADC machine module into build. 2017-01-11 17:20:18 +01:00
Glenn Ruben Bakke 6e6f139868 nrf5: Adding new config for ADC module in mpconfigport.h. 2017-01-11 17:18:54 +01:00
Glenn Ruben Bakke 0edf96fba6 nrf5/adc: Adding ADC machine module base files. Implementation missing. 2017-01-11 17:16:32 +01:00
Glenn Ruben Bakke 002ece145e nrf5: Adding hal_adc* into build. 2017-01-11 17:04:53 +01:00
Glenn Ruben Bakke 7016ece34d nrf5/boards: Enable ADC/SAADC hal for pca10028 (nrf51), pca10040 (nrf52832) and pca10056 (nrf52840) boards. 2017-01-11 17:04:08 +01:00
Glenn Ruben Bakke 3b0fe69366 nrf5/hal: Removing chip variant guard for hal_adc*, and let this be up to the hal conf file to not mess up at the moment. 2017-01-11 17:02:41 +01:00
Glenn Ruben Bakke d1f5e0992b nrf5: Add i2c.c, i2c machine module, and hal_twi into build. 2017-01-11 16:54:56 +01:00
Glenn Ruben Bakke 383db817f9 nrf5/boards: Enable hardware I2C machine module for pca10028 (nrf51), pca10040 (nrf52832) and pca10056 (nrf52840) boards. 2017-01-11 16:54:00 +01:00
Glenn Ruben Bakke 8ca63e7196 nrf5/boards: Enable TWI hal for pca10028 (nrf51), pca10040 (nrf52832) and pca10056 (nrf52840) boards. 2017-01-11 16:52:45 +01:00
Glenn Ruben Bakke d7eec2032e nrf5/i2c: Adding files for hardware i2c machine module and adding config param in mpconfigport to disable by default. 2017-01-11 16:49:55 +01:00
Glenn Ruben Bakke 72b7e596ee nrf5/hal: Adding template files for TWI (i2c) hal. 2017-01-11 16:46:43 +01:00
Glenn Ruben Bakke 16dbbdfe9c nrf5/hal: Adding template files for ADC hal. 2017-01-11 16:43:31 +01:00
Glenn Ruben Bakke ea7416216c nrf5/drivers: Correcting tabbing in oled ssd1306 c-module. 2017-01-10 18:31:44 +01:00
Glenn Ruben Bakke 28e1e506f6 nrf5/boards: Enable SSD1306 spi driver for pca10040 (nrf52832) and pca10056 (nrf52840) boards. 2017-01-10 18:28:11 +01:00
Glenn Ruben Bakke 073cfc0a2e nrf5/drivers: Adding SSD1306 SPI display driver. Not complete, but can do fill screen operation atm. 2017-01-10 18:26:58 +01:00
Glenn Ruben Bakke 1d2bf26373 nrf5/drivers: Adding epaper display example script in comment for pca10056 / nrf52840 in the display module. 2017-01-09 19:45:37 +01:00
Glenn Ruben Bakke dd7007240c nrf5/boards: Enable PWM module and epaper display module in pca10056 board config. 2017-01-09 19:44:31 +01:00
Glenn Ruben Bakke 1208970f6c nrf5/drivers: Adding some more delay on bootup to ensure display recovers after reset. 2017-01-09 19:33:01 +01:00
Glenn Ruben Bakke 22c7cf7358 nrf5/examples: Adding copy of ssd1306.py driver hardcoded with SPI and Pin assignments. 2017-01-09 17:52:42 +01:00
Glenn Ruben Bakke 2ac3b23c0e nrf5/drivers: Updating ili9341 driver to set CS high after cmd or data write. 2017-01-09 17:51:16 +01:00
Glenn Ruben Bakke 6b976c410c nrf5/drivers: Extending print function for ili9341 object to also print out gpio port of the SPI pins. 2017-01-08 22:35:46 +01:00
Glenn Ruben Bakke 4ca61a9d0e nrf5/boards: Giving a bit more heap for nrf52840 linker script. 2017-01-08 22:34:48 +01:00
Glenn Ruben Bakke 9a8bf934c6 nrf5/drivers: bugfix of the sld00200p driver. Stopping the pwm instead of restarting it. Shuffle placement of static function. 2017-01-08 21:29:13 +01:00
Glenn Ruben Bakke 859380afe8 nrf5/drivers: Correcting object print function to also include port number of the SPI pins. Correcting usage script example in comment. 2017-01-08 21:27:37 +01:00
Glenn Ruben Bakke 8a69f42f84 nrf5/drivers: Adding an initial script as comment for ili9341 on nrf52840/pca10056 in the driver module comment. 2017-01-08 21:25:42 +01:00
Glenn Ruben Bakke 06e0f5d081 nrf5/examples: Removing tabs from epaper python script usage comment, so that it is easier to copy paste. 2017-01-08 21:23:33 +01:00
Glenn Ruben Bakke b83052f8d1 nrf5/hal: Refining if-defs to set up GPIO base pointers in mphalport.h 2017-01-08 21:20:59 +01:00
Glenn Ruben Bakke 130f407287 nrf5/devices: Removing define which clutters ported modules from nrf.h. 2017-01-08 21:20:12 +01:00
Glenn Ruben Bakke 268d988553 nrf5/boards: Enabling spi in pca10056 hal config. 2017-01-08 21:19:23 +01:00
Glenn Ruben Bakke c8cc2aa6f9 nrf5/boards: Enabling ili9341 display drivers and to be compiled in on pca10056 target board. Updating SPI configuration with gpio port. 2017-01-08 21:18:18 +01:00
Glenn Ruben Bakke bc22cc9ce8 nrf5/boards: Enabling display drivers/spi/pwm to be compiled in on pca10040 target board. Updating SPI configuration with gpio port. 2017-01-08 21:16:41 +01:00
Glenn Ruben Bakke 0676c9774a nrf5/hal: Correcting SPI psel port position define name to the one defined in nrf52840_bitfields.h 2017-01-08 20:31:30 +01:00
Glenn Ruben Bakke 604ae87192 nrf5/led: Hardcoding GPIO port 0 for Led module for now. 2017-01-08 16:41:48 +01:00