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
|
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
|
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
|
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
|
3e1da27f2b
|
nrf5/hal: Changing import of nrf52 includes in hal_uarte.c to not be explicit. Now only nrf.h is included.
|
2017-01-08 16:41:11 +01:00 |
|
Glenn Ruben Bakke
|
43a2355665
|
nrf5: Updating pin, spi and uart to use port configuration for gpio pins. Update pin generation script, macros for PIN generation. Updating macros for setting pin values adding new port parameter to select the correct GPIO peripheral port.
|
2017-01-08 16:40:18 +01:00 |
|
Glenn Ruben Bakke
|
db9eef64a5
|
nrf5/hal: Making nrf51/2_hal.h go trough nrf.h to find bitfields and other mcu headers instead of explicit include.
|
2017-01-08 16:20:01 +01:00 |
|
Glenn Ruben Bakke
|
721065b307
|
nrf5/devices: Renaming system.c files for nrf51 and nrf52 to be more explicit on which version of chip they are referring to.
|
2017-01-08 13:32:13 +01:00 |
|
Glenn Ruben Bakke
|
795df06283
|
nrf5/hal: Adding include of stdbool.h in hal_spi.h as it is used by the header.
|
2017-01-06 19:59:58 +01:00 |
|
Glenn Ruben Bakke
|
042e3653cf
|
nrf5/hal: Adding support for NULL pointer to be set if no rx buffer is of interest in SPI rx_tx function.
|
2017-01-05 21:56:17 +01:00 |
|
Glenn Ruben Bakke
|
7b6bdc4c2b
|
nrf5: Adding sleep_us to modutime.c and exposing mp_hal_delay_us in hal/hal_time.h
|
2017-01-03 21:15:53 +01:00 |
|
Glenn Ruben Bakke
|
04751defa0
|
nrf5/spi: Removing automatic chip select (NSS) in hal_spi.c. Also removing configuration of this pin as it is confusing to pass it if not used. User of SPI has to set the NSS/CS itself.
|
2017-01-02 12:51:56 +01:00 |
|
Glenn Ruben Bakke
|
1bc50dbeb5
|
nrf5/hal: Fixing some issues in PWM stop function. Doing a proper stop and disable the peripheral.
|
2016-12-31 17:20:54 +01:00 |
|
Glenn Ruben Bakke
|
5e322ea078
|
nrf5/hal: Exposing two new PWM hal functions start() and stop().
|
2016-12-31 17:06:07 +01:00 |
|
Glenn Ruben Bakke
|
c5d77f0e7e
|
nrf5/hal: Moving enablement of PWM task from init to a start function. Also activating code in stop function to stop the PWM.
|
2016-12-31 17:05:32 +01:00 |
|
Glenn Ruben Bakke
|
d6300a2e82
|
nrf5/pin: Merging input and output pin configuration to one comon function. Adding implementation in Pin class to be able to configure mode and pull. Updating drivers which uses gpio pin configuration to use new function parameters.
|
2016-12-27 15:40:20 +01:00 |
|
Glenn Ruben Bakke
|
c2d2958205
|
nrf5/hal: Adding empty init function in hal_rtc.c
|
2016-12-26 16:49:27 +01:00 |
|
Glenn Ruben Bakke
|
22c62fb53f
|
nrf5/hal: Adding structures and init function prototype to hal_rtc.h.
|
2016-12-26 16:48:56 +01:00 |
|
Glenn Ruben Bakke
|
53fdcf91d7
|
nrf5/hal: Adding empty init function in hal_timer.c
|
2016-12-26 16:08:59 +01:00 |
|
Glenn Ruben Bakke
|
9b084fc376
|
nrf5/hal: Adding structures and init function prototype to hal_timer.h.
|
2016-12-26 16:08:22 +01:00 |
|
Glenn Ruben Bakke
|
1264122e76
|
nrf5/hal: Adding skeleton files for rtc and timer driver.
|
2016-12-25 18:10:31 +01:00 |
|
Glenn Ruben Bakke
|
0999226103
|
nrf5/pwm: Updating pwm module with freq function which re-initilises the PWM instance such that new frequency will be applied.
|
2016-12-20 23:15:26 +01:00 |
|
Glenn Ruben Bakke
|
abd945fde1
|
nrf5/hal: Updating PWM header file with init function prototype. Also added PWM_HandleTypeDef structure that can be used in the pwm python module.
|
2016-12-17 01:05:43 +01:00 |
|
Glenn Ruben Bakke
|
82f7fe88b0
|
nrf5/hal: Starting implementation of PWM hal to be used by PWM python module later.
|
2016-12-16 19:17:42 +01:00 |
|
Glenn Ruben Bakke
|
d7dc0b789d
|
nrf5: Updating port with new content. SPI, SDcard (trough sdcard.py), Pin, and machine module. Also adding some basic modules depending on SDK and bluetooth stack from nordic semiconductor. NUS is module copied from original port by tralamazza, and new basic module for 6lowpan over BLE which can be used by modnetwork and modusocket. Basic BLE module to enable bluetooth stack and start a eddystone advertisment is kept, and still works without SDK, even if in the SDK folder (its placed there as it needs bluetooth stack from an SDK).
|
2016-12-13 20:27:26 +01:00 |
|
Glenn Ruben Bakke
|
70956ea969
|
Base support for nrf51 and nrf52 base without depending on SDK. SoftDevice usage optional.
|
2016-11-16 21:38:25 +01:00 |
|